Home | History | Annotate | Download | only in ELF
      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_remember_state
      7         nop
      8 	.cfi_restore_state
      9         nop
     10 	.cfi_endproc
     11 
     12 // CHECK:        Section {
     13 // CHECK:          Index:
     14 // CHECK:          Name: .eh_frame
     15 // CHECK-NEXT:     Type: SHT_X86_64_UNWIND
     16 // CHECK-NEXT:     Flags [
     17 // CHECK-NEXT:       SHF_ALLOC
     18 // CHECK-NEXT:     ]
     19 // CHECK-NEXT:     Address: 0x0
     20 // CHECK-NEXT:     Offset: 0x48
     21 // CHECK-NEXT:     Size: 48
     22 // CHECK-NEXT:     Link: 0
     23 // CHECK-NEXT:     Info: 0
     24 // CHECK-NEXT:     AddressAlignment: 8
     25 // CHECK-NEXT:     EntrySize: 0
     26 // CHECK-NEXT:     Relocations [
     27 // CHECK-NEXT:     ]
     28 // CHECK-NEXT:     SectionData (
     29 // CHECK-NEXT:       0000: 14000000 00000000 017A5200 01781001
     30 // CHECK-NEXT:       0010: 1B0C0708 90010000 14000000 1C000000
     31 // CHECK-NEXT:       0020: 00000000 03000000 00410A41 0B000000
     32 // CHECK-NEXT:     )
     33 // CHECK-NEXT:   }
     34 // CHECK:        Section {
     35 // CHECK:          Index:
     36 // CHECK-NEXT:     Name: .rela.eh_frame
     37 // CHECK-NEXT:     Type: SHT_RELA
     38 // CHECK-NEXT:     Flags [
     39 // CHECK-NEXT:     ]
     40 // CHECK-NEXT:     Address: 0x0
     41 // CHECK-NEXT:     Offset:
     42 // CHECK-NEXT:     Size: 24
     43 // CHECK-NEXT:     Link:
     44 // CHECK-NEXT:     Info:
     45 // CHECK-NEXT:     AddressAlignment: 8
     46 // CHECK-NEXT:     EntrySize: 24
     47 // CHECK-NEXT:     Relocations [
     48 // CHECK-NEXT:       0x20 R_X86_64_PC32 .text 0x0
     49 // CHECK-NEXT:     ]
     50 // CHECK:        }
     51