Bring r240130 back.
[oota-llvm.git] / test / MC / ELF / cfi-large-model.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -code-model=large %s \
2 // RUN:   -o - | llvm-readobj -s -sd | FileCheck %s
3
4 // CHECK:      Section {
5 // CHECK:        Index: 
6 // CHECK:        Name: .eh_frame
7 // CHECK-NEXT:   Type: SHT_PROGBITS
8 // CHECK-NEXT:   Flags [
9 // CHECK-NEXT:     SHF_ALLOC
10 // CHECK-NEXT:   ]
11 // CHECK-NEXT:   Address: 0x0
12 // CHECK-NEXT:   Offset: 0x40
13 // CHECK-NEXT:   Size: 56
14 // CHECK-NEXT:   Link: 0
15 // CHECK-NEXT:   Info: 0
16 // CHECK-NEXT:   AddressAlignment: 8
17 // CHECK-NEXT:   EntrySize: 0
18 // CHECK-NEXT:   SectionData (
19 // CHECK-NEXT:     0000: 14000000 00000000 017A5200 01781001  |.........zR..x..|
20 // CHECK-NEXT:     0010: 1C0C0708 90010000 1C000000 1C000000  |................|
21 // CHECK-NEXT:     0020: 00000000 00000000 00000000 00000000  |................|
22 // CHECK-NEXT:     0030: 00000000 00000000                    |........|
23 // CHECK-NEXT:   )
24
25 f:
26     .cfi_startproc
27     .cfi_endproc