aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2023-08-18 15:30:19 -0700
committerJason Molenda <jason@molenda.com>2023-08-18 15:32:03 -0700
commitb10c2f846d936a98eecfcef1a90a754522282285 (patch)
tree34c59cd61fb66e1793ebdc357369fa54a4cbf4c9 /llvm/lib/Object/ObjectFile.cpp
parenta3e6ac16ffc32e794da3f60150e903027f279f27 (diff)
downloadllvm-b10c2f846d936a98eecfcef1a90a754522282285.zip
llvm-b10c2f846d936a98eecfcef1a90a754522282285.tar.gz
llvm-b10c2f846d936a98eecfcef1a90a754522282285.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.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions