brintos

brintos / llvm-project-archived public Read only

0
0
Text · 977 B · 3ba2214 Raw
44 lines · plain
1// REQUIRES: x86-registered-target2// RUN: llvm-mc -triple i686 %s | FileCheck %s --check-prefix=ASM3// RUN: llvm-mc -triple i686-unknown-linux-gnu -filetype obj -o - %s | llvm-objdump --dwarf=frames - | FileCheck %s --check-prefix=CHECK-EH_FRAME4 5	.text6 7	.section .text.f,"ax",@progbits8	.global f9	.type f,@function10f:11	.cfi_startproc12	.cfi_return_column 013	.cfi_endproc14 15	.section .text.g,"ax",@progbits16	.global g17	.type g,@function18g:19	.cfi_startproc20	.cfi_return_column 6521	.cfi_endproc22 23	.section .text.h,"ax",@progbits24	.global h25	.type g,@function26h:27	.cfi_startproc28	.cfi_return_column 6529	.cfi_endproc30 31// ASM-LABEL: f:32// ASM:       .cfi_startproc33// ASM-NEXT:  .cfi_return_column %eax34// ASM-NEXT:  .cfi_endproc35 36// CHECK-EH_FRAME: 00000000 00000014 00000000 CIE37// CHECK-EH_FRAME:   Return address column: 038 39// CHECK-EH_FRAME: 0000002c 00000014 00000000 CIE40// CHECK-EH_FRAME:   Return address column: 6541 42// CHECK-EH_FRAME-NOT: ........ 00000014 00000000 CIE43 44