commit | 802a1be56a3f4a0de31ed222141dc5b4c3020e2a | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Sun Nov 20 02:36:38 2016 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Sun Nov 20 02:36:38 2016 +0000 |
tree | beaba778252fa79c7751a9f5ec1fb6a5db1ee4d8 | |
parent | 308b046dd42f95a07edc776ed0c629fc7fc95a38 [diff] |
ExceptionDemo: remove some undefined behaviour The casting based reading of the LSDA could attempt to read unsuitably aligned data. Avoid that case by explicitly using a memcpy. A similar approach is used in libc++abi to address the same UB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287479 91177308-0d34-0410-b5e6-96231b3b80d8