1 # RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu %s -o - | FileCheck --check-prefix=ASM %s
2 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
3 # RUN: llvm-readelf -S -r -x .eh_frame %t | FileCheck --check-prefix=READELF %s
8 .cfi_llvm_def_aspace_cfa %rcx, 0, 6
13 # ASM-NEXT: .cfi_startproc
15 # ASM-NEXT: .cfi_llvm_def_aspace_cfa %rcx, 0, 6
17 # ASM-NEXT: .cfi_endproc
19 # READELF: Section Headers:
20 # READELF: Name Type Address Off Size ES Flg Lk Inf Al
21 # READELF: .eh_frame X86_64_UNWIND 0000000000000000 000048 000030 00 A 0 0 8
23 # READELF: Relocation section '.rela.eh_frame' at offset 0xc0 contains 1 entries:
24 # READELF-NEXT: Offset Info Type Symbol's Value Symbol's Name + Addend
25 # READELF-NEXT: 0000000000000020 0000000100000002 R_X86_64_PC32 0000000000000000 .text + 0
27 # READELF: Hex dump of section '.eh_frame':
28 # READELF-NEXT: 0x00000000 14000000 00000000 017a5200 01781001
29 # READELF-NEXT: 0x00000010 1b0c0708 90010000 14000000 1c000000
30 # READELF-NEXT: 0x00000020 00000000 02000000 00413002 00060000