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
Loading
Please sign in to comment