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