llvm/examples/ExceptionDemo
Saleem Abdulrasool 802a1be56a 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
2016-11-20 02:36:38 +00:00
..
CMakeLists.txt [CMake] Let ExceptionDemo buildable with ENABLE_EH. 2015-08-27 15:13:14 +00:00
ExceptionDemo.cpp ExceptionDemo: remove some undefined behaviour 2016-11-20 02:36:38 +00:00