2018-06-27 01:44:23 +08:00
|
|
|
// REQUIRES: powerpc-registered-target
|
|
|
|
// REQUIRES: x86-registered-target
|
2017-08-03 04:32:26 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -large-code-model %s \
|
2019-05-01 13:27:20 +08:00
|
|
|
// RUN: -o - | llvm-readobj -S --sd | FileCheck --check-prefix=CHECK-X86 %s
|
2018-03-24 08:07:38 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple powerpc64le-linux-gnu -large-code-model %s \
|
2019-05-01 13:27:20 +08:00
|
|
|
// RUN: -o - | llvm-readobj -S --sd | FileCheck --check-prefix=CHECK-PPC %s
|
2014-11-28 01:13:56 +08:00
|
|
|
|
2018-03-24 10:56:58 +08:00
|
|
|
|
2018-03-24 08:07:38 +08:00
|
|
|
// CHECK-X86: Section {
|
|
|
|
// CHECK-X86: Index:
|
|
|
|
// CHECK-X86: Name: .eh_frame
|
|
|
|
// CHECK-X86-NEXT: Type: SHT_X86_64_UNWIND
|
|
|
|
// CHECK-X86-NEXT: Flags [
|
|
|
|
// CHECK-X86-NEXT: SHF_ALLOC
|
|
|
|
// CHECK-X86-NEXT: ]
|
|
|
|
// CHECK-X86-NEXT: Address: 0x0
|
|
|
|
// CHECK-X86-NEXT: Offset: 0x40
|
|
|
|
// CHECK-X86-NEXT: Size: 56
|
|
|
|
// CHECK-X86-NEXT: Link: 0
|
|
|
|
// CHECK-X86-NEXT: Info: 0
|
|
|
|
// CHECK-X86-NEXT: AddressAlignment: 8
|
|
|
|
// CHECK-X86-NEXT: EntrySize: 0
|
|
|
|
// CHECK-X86-NEXT: SectionData (
|
|
|
|
// CHECK-X86-NEXT: 0000: 14000000 00000000 017A5200 01781001 |.........zR..x..|
|
|
|
|
// CHECK-X86-NEXT: 0010: 1C0C0708 90010000 1C000000 1C000000 |................|
|
|
|
|
// CHECK-X86-NEXT: 0020: 00000000 00000000 00000000 00000000 |................|
|
|
|
|
// CHECK-X86-NEXT: 0030: 00000000 00000000 |........|
|
|
|
|
// CHECK-X86-NEXT: )
|
|
|
|
|
|
|
|
// CHECK-PPC: Section {
|
|
|
|
// CHECK-PPC: Index:
|
|
|
|
// CHECK-PPC: Name: .eh_frame
|
|
|
|
// CHECK-PPC-NEXT: Type: SHT_PROGBITS
|
|
|
|
// CHECK-PPC-NEXT: Flags [
|
|
|
|
// CHECK-PPC-NEXT: SHF_ALLOC
|
|
|
|
// CHECK-PPC-NEXT: ]
|
|
|
|
// CHECK-PPC-NEXT: Address: 0x0
|
|
|
|
// CHECK-PPC-NEXT: Offset: 0x40
|
|
|
|
// CHECK-PPC-NEXT: Size: 48
|
|
|
|
// CHECK-PPC-NEXT: Link: 0
|
|
|
|
// CHECK-PPC-NEXT: Info: 0
|
|
|
|
// CHECK-PPC-NEXT: AddressAlignment: 8
|
|
|
|
// CHECK-PPC-NEXT: EntrySize: 0
|
|
|
|
// CHECK-PPC-NEXT: SectionData (
|
|
|
|
// CHECK-PPC-NEXT: 0000: 10000000 00000000 017A5200 04784101 |.........zR..xA.|
|
|
|
|
// CHECK-PPC-NEXT: 0010: 1C0C0100 18000000 18000000 00000000 |................|
|
|
|
|
// CHECK-PPC-NEXT: 0020: 00000000 00000000 00000000 00000000 |................|
|
|
|
|
// CHECK-PPC-NEXT: )
|
|
|
|
// CHECK-PPC-NEXT: }
|
2014-11-28 01:13:56 +08:00
|
|
|
|
|
|
|
f:
|
|
|
|
.cfi_startproc
|
|
|
|
.cfi_endproc
|