3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
5 # RUN: ld.lld %t -o %t2 --gc-sections
6 # RUN: llvm-readobj --symbols %t2 | FileCheck %s
7 # RUN: llvm-objdump --dwarf=frames %t2 | FileCheck --check-prefix=EH %s
9 # RUN: ld.lld %t -o %t3
10 # RUN: llvm-readobj --symbols %t3 | FileCheck --check-prefix=NOGC %s
11 # RUN: llvm-objdump --dwarf=frames %t3 | FileCheck --check-prefix=EHNOGC %s
16 # EH: FDE cie={{.*}} pc=
19 # EHNOGC: FDE cie={{.*}} pc=
20 # EHNOGC: FDE cie={{.*}} pc=
22 .section .text,"ax",@progbits,unique,0
28 .section .text,"ax",@progbits,unique,1