diff options
Diffstat (limited to 'test/ELF/relocatable-eh-frame-hdr.s')
-rw-r--r-- | test/ELF/relocatable-eh-frame-hdr.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ELF/relocatable-eh-frame-hdr.s b/test/ELF/relocatable-eh-frame-hdr.s new file mode 100644 index 000000000000..f7b57249d506 --- /dev/null +++ b/test/ELF/relocatable-eh-frame-hdr.s @@ -0,0 +1,11 @@ +# REQUIRES: x86 +# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o +# RUN: ld.lld --eh-frame-hdr -r %t.o -o %t +# RUN: llvm-readobj -s %t | FileCheck %s + +# CHECK: Sections [ +# CHECK-NOT: Name: .eh_frame_hdr + +.section .foo,"ax",@progbits +.cfi_startproc +.cfi_endproc |