1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sr -sd | FileCheck %s 2 3 f: 4 .cfi_startproc 5 nop 6 .cfi_undefined %rbp 7 nop 8 .cfi_endproc 9 10 // CHECK: Section { 11 // CHECK: Index: 4 12 // CHECK-NEXT: Name: .eh_frame 13 // CHECK-NEXT: Type: SHT_PROGBITS 14 // CHECK-NEXT: Flags [ 15 // CHECK-NEXT: SHF_ALLOC 16 // CHECK-NEXT: ] 17 // CHECK-NEXT: Address: 0x0 18 // CHECK-NEXT: Offset: 0x48 19 // CHECK-NEXT: Size: 48 20 // CHECK-NEXT: Link: 0 21 // CHECK-NEXT: Info: 0 22 // CHECK-NEXT: AddressAlignment: 8 23 // CHECK-NEXT: EntrySize: 0 24 // CHECK-NEXT: Relocations [ 25 // CHECK-NEXT: ] 26 // CHECK-NEXT: SectionData ( 27 // CHECK-NEXT: 0000: 14000000 00000000 017A5200 01781001 28 // CHECK-NEXT: 0010: 1B0C0708 90010000 14000000 1C000000 29 // CHECK-NEXT: 0020: 00000000 02000000 00410706 00000000 30 // CHECK-NEXT: ) 31 // CHECK-NEXT: } 32 // CHECK-NEXT: Section { 33 // CHECK-NEXT: Index: 5 34 // CHECK-NEXT: Name: .rela.eh_frame 35 // CHECK-NEXT: Type: SHT_RELA 36 // CHECK-NEXT: Flags [ 37 // CHECK-NEXT: ] 38 // CHECK-NEXT: Address: 0x0 39 // CHECK-NEXT: Offset: 0x390 40 // CHECK-NEXT: Size: 24 41 // CHECK-NEXT: Link: 7 42 // CHECK-NEXT: Info: 4 43 // CHECK-NEXT: AddressAlignment: 8 44 // CHECK-NEXT: EntrySize: 24 45 // CHECK-NEXT: Relocations [ 46 // CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x0 47 // CHECK-NEXT: ] 48 // CHECK: } 49