aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2023-08-18 15:34:13 -0700
committerJason Molenda <jason@molenda.com>2023-08-18 15:34:13 -0700
commit1a2122e9e9d1d495fdf337a4a9445b61ca56df6f (patch)
tree34c59cd61fb66e1793ebdc357369fa54a4cbf4c9 /llvm/lib/Object/ObjectFile.cpp
parentef70f5c6bbdadcaaeed6f028ed8eee8112b6543a (diff)
downloadllvm-1a2122e9e9d1d495fdf337a4a9445b61ca56df6f.zip
llvm-1a2122e9e9d1d495fdf337a4a9445b61ca56df6f.tar.gz
llvm-1a2122e9e9d1d495fdf337a4a9445b61ca56df6f.tar.bz2
Align mach exception data before accessing it
The mach exception data may not be doubleword aligned when we receive it. We use memcpy to align it later in this method when we save the data, but for printing the value at the top, we need to do the same or ubsan can trigger when LOG_EXCEPTIONS is enabled in debugserver. Differential Revision: https://reviews.llvm.org/D158312
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions