1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/examples/ExceptionDemo
Saleem Abdulrasool b58305138d 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.

llvm-svn: 287479
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