diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2023-04-06 14:30:27 -0700 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2023-04-26 16:16:33 -0700 |
commit | fe8eab468eee18329922901bcf74310534e08b59 (patch) | |
tree | 770117a75a70aa854f54f37a1ddbaf28e9b36259 /llvm/lib/CodeGen/MachineDebugify.cpp | |
parent | 1533478615e998192e227bded9d0e9029474936b (diff) | |
download | llvm-fe8eab468eee18329922901bcf74310534e08b59.zip llvm-fe8eab468eee18329922901bcf74310534e08b59.tar.gz llvm-fe8eab468eee18329922901bcf74310534e08b59.tar.bz2 |
Add tests to verify behavior of .cfi_sections .debug_frame intrinsic.
There was some lacking test coverage for checking when the
.cfi_sections .debug_frame intrinsic is emitted. On x86_64,
with -fno-exceptions there is no .cfi_sections .debug_frame intrinsic
emitted because there is an unwind table attribute.
On AArch64, with -fno-exceptions, there is no unwind table attribute, so
the .cfi_sections .debug_frame intrinsic is emitted correctly.
Alternatively, with -fexceptions, both AArch64 and x86_64 emit an unwind
table and therefore do not emit a .cfi_sections .debug_frame intrinsic
All this work was done in addition to https://reviews.llvm.org/D139663
patch.
Differential Revision: https://reviews.llvm.org/D147747
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugify.cpp')
0 files changed, 0 insertions, 0 deletions