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.
13 lines
261 B
ArmAsm
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
|