2017-02-18 03:46:47 +08:00
|
|
|
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
|
|
|
|
# RUN: echo "SECTIONS { /DISCARD/ : { *(.eh_frame) } }" > %t.script
|
|
|
|
# RUN: ld.lld --emit-relocs --script %t.script %t1.o -o %t
|
2020-03-16 08:47:44 +08:00
|
|
|
# RUN: llvm-objdump --section-headers %t | FileCheck %s
|
2017-02-18 03:46:47 +08:00
|
|
|
|
|
|
|
# CHECK-NOT: .rela.eh_frame
|
|
|
|
|
|
|
|
.section .foo,"ax",@progbits
|
|
|
|
.cfi_startproc
|
|
|
|
.cfi_endproc
|