diff options
author | Leonard Chan <leonardchan@google.com> | 2021-10-08 14:20:26 -0700 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2021-10-08 14:20:26 -0700 |
commit | 4dc462b58909a73a2ae219863f4b7219483ba23e (patch) | |
tree | a80c1a1638a739c346114d9cd6ec16699bcc74ca /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | e3129fb792b4b01b348b27d72955f2f8300834fa (diff) | |
download | llvm-4dc462b58909a73a2ae219863f4b7219483ba23e.zip llvm-4dc462b58909a73a2ae219863f4b7219483ba23e.tar.gz llvm-4dc462b58909a73a2ae219863f4b7219483ba23e.tar.bz2 |
[AArch64] Emit CFI instruction for updating x18 when using ShadowCallStack with exception unwinding
PR45875 notes an instance where exception handling crashes on aarch64-fuchsia
where SCS is enabled by default. The underlying issue seems to be that within libunwind,
various _Unwind_* functions, the x18 register is not updated if a function is marked
with nounwind. This removes the check for nounwind and emits the CFI instruction that updates x18.
Differential Revision: https://reviews.llvm.org/D79822
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions