Files
clang-p2996/llvm/test/MC/ELF/cfi-sections-empty.s
Fangrui Song 880c9c56c1 [MC] Allow .cfi_sections with empty section list
GNU as supports this. This mode silently ignores
.cfi_startproc/.cfi_endproc and .cfi_* in between.

Also drop a diagnostic `in '.cfi_sections' directive`: the diagnostic
already includes the line and it is clear the line is a `.cfi_sections` directive.
2021-02-25 22:29:49 -08:00

13 lines
261 B
ArmAsm

# RUN: llvm-mc -filetype=obj -triple x86_64 %s | llvm-readelf -S - | FileCheck %s
# CHECK: Section Headers:
# CHECK-NOT: .eh_frame
# CHECK-NOT: .debug_frame
.cfi_sections
## .cfi_startproc and .cfi_endproc are ignored.
.cfi_startproc
nop
.cfi_endproc