1 @ RUN
: llvm-mc
%s
-triple
=armv7-unknown-linux-gnueabi
-filetype
=obj
-o
- \
2 @ RUN
: | llvm-readobj
-S | FileCheck
%s
4 @ Test that the ARM_EXIDX sections point
(Link
) to the corresponding text
7 @ FIXME
: The section numbers are
not important. If llvm-readobj printed the
8 @ name first we could use
a FileCheck variable.
12 @ CHECK-NEXT
: Name
: .text
13 @ CHECK-NEXT
: Type
: SHT_PROGBITS
15 @ CHECK-NEXT
: SHF_ALLOC
16 @ CHECK-NEXT
: SHF_EXECINSTR
17 @ CHECK-NEXT
: SHF_GROUP
19 @ CHECK-NEXT
: Address
: 0x0
24 @ CHECK-NEXT
: AddressAlignment
: 1
25 @ CHECK-NEXT
: EntrySize
: 0
27 @ CHECK-NEXT
: Section
{
28 @ CHECK-NEXT
: Index
: 5
29 @ CHECK-NEXT
: Name
: .ARM.exidx
30 @ CHECK-NEXT
: Type
: SHT_ARM_EXIDX
32 @ CHECK-NEXT
: SHF_ALLOC
33 @ CHECK-NEXT
: SHF_GROUP
34 @ CHECK-NEXT
: SHF_LINK_ORDER
36 @ CHECK-NEXT
: Address
: 0x0
41 @ CHECK-NEXT
: AddressAlignment
: 4
42 @ CHECK-NEXT
: EntrySize
: 0
47 @ CHECK-NEXT
: Name
: .text
48 @ CHECK-NEXT
: Type
: SHT_PROGBITS
50 @ CHECK-NEXT
: SHF_ALLOC
51 @ CHECK-NEXT
: SHF_EXECINSTR
52 @ CHECK-NEXT
: SHF_GROUP
54 @ CHECK-NEXT
: Address
: 0x0
59 @ CHECK-NEXT
: AddressAlignment
: 1
60 @ CHECK-NEXT
: EntrySize
: 0
62 @ CHECK-NEXT
: Section
{
63 @ CHECK-NEXT
: Index
: 9
64 @ CHECK-NEXT
: Name
: .ARM.exidx
65 @ CHECK-NEXT
: Type
: SHT_ARM_EXIDX
67 @ CHECK-NEXT
: SHF_ALLOC
68 @ CHECK-NEXT
: SHF_GROUP
69 @ CHECK-NEXT
: SHF_LINK_ORDER
71 @ CHECK-NEXT
: Address
: 0x0
76 @ CHECK-NEXT
: AddressAlignment
: 4
77 @ CHECK-NEXT
: EntrySize
: 0
80 .section .text,"axG",%progbits,f,comdat
86 .section .text,"axG",%progbits,g,comdat