summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-11-20 02:36:38 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-11-20 02:36:38 +0000
commitb14fc390dc2fbaf2da2b4869fd4f5c97fa93e528 (patch)
tree45fe04d27d2b1f6e9684f42d5bc6c40cb5a8821a /llvm/tools/llvm-objdump
parentc0e4e7d9906fdb9a0a48cedcceb8c40591e52ea7 (diff)
downloadbcm5719-llvm-b14fc390dc2fbaf2da2b4869fd4f5c97fa93e528.tar.gz
bcm5719-llvm-b14fc390dc2fbaf2da2b4869fd4f5c97fa93e528.zip
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
Diffstat (limited to 'llvm/tools/llvm-objdump')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud