[all-commits] [llvm/llvm-project] fe8eab: Add tests to verify behavior of .cfi_sections .deb...
Shubham Sandeep Rastogi via All-commits
all-commits at lists.llvm.org
Wed Apr 26 16:16:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe8eab468eee18329922901bcf74310534e08b59
https://github.com/llvm/llvm-project/commit/fe8eab468eee18329922901bcf74310534e08b59
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2023-04-26 (Wed, 26 Apr 2023)
Changed paths:
A clang/test/Driver/test-uwtable.cpp
A llvm/test/DebugInfo/AArch64/test-fexceptions-debug-frame.ll
A llvm/test/DebugInfo/AArch64/test-fno-exceptions-debug-frame.ll
A llvm/test/DebugInfo/X86/test-fexceptions-debug-frame.ll
A llvm/test/DebugInfo/X86/test-fno-exceptions-debug-frame.ll
Log Message:
-----------
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
More information about the All-commits
mailing list