brintos

brintos / llvm-project-archived public Read only

0
0
Text · 734 B · 2eee328 Raw
33 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t4 5# RUN: ld.lld %t -o %t2 --gc-sections6# RUN: llvm-readobj --symbols %t2 | FileCheck %s7# RUN: llvm-objdump --dwarf=frames %t2 | FileCheck --check-prefix=EH %s8 9# RUN: ld.lld %t -o %t310# RUN: llvm-readobj --symbols %t3 | FileCheck --check-prefix=NOGC %s11# RUN: llvm-objdump --dwarf=frames %t3 | FileCheck --check-prefix=EHNOGC %s12 13# CHECK-NOT: foo14# NOGC:      foo15 16# EH:     FDE cie={{.*}} pc=17# EH-NOT: FDE18 19# EHNOGC: FDE cie={{.*}} pc=20# EHNOGC: FDE cie={{.*}} pc=21 22	.section	.text,"ax",@progbits,unique,023	.globl	foo24foo:25	.cfi_startproc26	.cfi_endproc27 28	.section	.text,"ax",@progbits,unique,129	.globl	_start30_start:31	.cfi_startproc32	.cfi_endproc33