Don't constrain the section order in tests that don't depend on it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236102 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-04-29 13:55:07 +00:00
parent b6d2c5a952
commit e28f663f71
38 changed files with 156 additions and 182 deletions

View File

@ -39,7 +39,7 @@ global1:
@ CHECK-NEXT: Binding: Local (0x0) @ CHECK-NEXT: Binding: Local (0x0)
@ CHECK-NEXT: Type: None (0x0) @ CHECK-NEXT: Type: None (0x0)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: bar3@@zed @ CHECK-NEXT: Name: bar3@@zed
@ -48,7 +48,7 @@ global1:
@ CHECK-NEXT: Binding: Local (0x0) @ CHECK-NEXT: Binding: Local (0x0)
@ CHECK-NEXT: Type: None (0x0) @ CHECK-NEXT: Type: None (0x0)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: bar5@@zed @ CHECK-NEXT: Name: bar5@@zed
@ -57,7 +57,7 @@ global1:
@ CHECK-NEXT: Binding: Local (0x0) @ CHECK-NEXT: Binding: Local (0x0)
@ CHECK-NEXT: Type: None (0x0) @ CHECK-NEXT: Type: None (0x0)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: defined1 @ CHECK-NEXT: Name: defined1
@ -66,7 +66,7 @@ global1:
@ CHECK-NEXT: Binding: Local (0x0) @ CHECK-NEXT: Binding: Local (0x0)
@ CHECK-NEXT: Type: None (0x0) @ CHECK-NEXT: Type: None (0x0)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: defined2 @ CHECK-NEXT: Name: defined2
@ -75,7 +75,7 @@ global1:
@ CHECK-NEXT: Binding: Local (0x0) @ CHECK-NEXT: Binding: Local (0x0)
@ CHECK-NEXT: Type: None (0x0) @ CHECK-NEXT: Type: None (0x0)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: .text (0) @ CHECK-NEXT: Name: .text (0)
@ -84,7 +84,7 @@ global1:
@ CHECK-NEXT: Binding: Local (0x0) @ CHECK-NEXT: Binding: Local (0x0)
@ CHECK-NEXT: Type: Section (0x3) @ CHECK-NEXT: Type: Section (0x3)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: .data (0) @ CHECK-NEXT: Name: .data (0)
@ -111,7 +111,7 @@ global1:
@ CHECK-NEXT: Binding: Global (0x1) @ CHECK-NEXT: Binding: Global (0x1)
@ CHECK-NEXT: Type: None (0x0) @ CHECK-NEXT: Type: None (0x0)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: global1 @ CHECK-NEXT: Name: global1
@ -120,7 +120,7 @@ global1:
@ CHECK-NEXT: Binding: Global (0x1) @ CHECK-NEXT: Binding: Global (0x1)
@ CHECK-NEXT: Type: None (0x0) @ CHECK-NEXT: Type: None (0x0)
@ CHECK-NEXT: Other: 0 @ CHECK-NEXT: Other: 0
@ CHECK-NEXT: Section: .text (0x1) @ CHECK-NEXT: Section: .text
@ CHECK-NEXT: } @ CHECK-NEXT: }
@ CHECK-NEXT: Symbol { @ CHECK-NEXT: Symbol {
@ CHECK-NEXT: Name: bar2@zed @ CHECK-NEXT: Name: bar2@zed

View File

@ -72,10 +72,10 @@ func2:
@ CHECK: Symbols [ @ CHECK: Symbols [
@ CHECK: Symbol { @ CHECK: Symbol {
@ CHECK: Name: func1 @ CHECK: Name: func1
@ CHECK: Section: .text (0x1) @ CHECK: Section: .text
@ CHECK: } @ CHECK: }
@ CHECK: Symbol { @ CHECK: Symbol {
@ CHECK: Name: func2 @ CHECK: Name: func2
@ CHECK: Section: .text (0x1) @ CHECK: Section: .text
@ CHECK: } @ CHECK: }
@ CHECK: ] @ CHECK: ]

View File

@ -44,8 +44,8 @@ barf: @ @barf
@ OBJ-NEXT: Address: 0x0 @ OBJ-NEXT: Address: 0x0
@ OBJ-NEXT: Offset: @ OBJ-NEXT: Offset:
@ OBJ-NEXT: Size: 16 @ OBJ-NEXT: Size: 16
@ OBJ-NEXT: Link: 6 @ OBJ-NEXT: Link:
@ OBJ-NEXT: Info: 1 @ OBJ-NEXT: Info:
@ OBJ-NEXT: AddressAlignment: 4 @ OBJ-NEXT: AddressAlignment: 4
@ OBJ-NEXT: EntrySize: 8 @ OBJ-NEXT: EntrySize: 8
@ OBJ-NEXT: Relocations [ @ OBJ-NEXT: Relocations [

View File

@ -29,7 +29,7 @@ ptr:
@@ make sure the relocation is with f. That is one way to make sure it includes @@ make sure the relocation is with f. That is one way to make sure it includes
@@ the thumb bit. @@ the thumb bit.
@CHECK-NEXT: Section (6) .rel.data.rel.local { @CHECK-NEXT: Section ({{.*}}) .rel.data.rel.local {
@CHECK-NEXT: 0x0 R_ARM_ABS32 f 0x0 @CHECK-NEXT: 0x0 R_ARM_ABS32 f 0x0
@CHECK-NEXT: } @CHECK-NEXT: }
@CHECK-NEXT: ] @CHECK-NEXT: ]

View File

@ -23,7 +23,7 @@
// CHECK-NEXT: EntrySize: 0 // CHECK-NEXT: EntrySize: 0
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 4 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rodata // CHECK-NEXT: Name: .rodata
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [

View File

@ -22,8 +22,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -47,7 +47,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -55,8 +55,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 72 // CHECK-NEXT: Size: 72
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -40,8 +40,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -11,8 +11,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -34,16 +34,16 @@ f:
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 5 // CHECK: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: ] // CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -37,8 +37,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -37,8 +37,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -8,8 +8,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -30,7 +30,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -38,8 +38,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -37,8 +37,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -8,8 +8,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -30,7 +30,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -38,8 +38,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -15,8 +15,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -38,7 +38,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -46,8 +46,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -7,8 +7,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -29,7 +29,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -37,8 +37,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -10,8 +10,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -32,7 +32,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 5 // CHECK: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -40,8 +40,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -8,8 +8,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -30,7 +30,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -38,8 +38,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -8,8 +8,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -30,7 +30,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -38,8 +38,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -8,8 +8,8 @@ f:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -30,7 +30,7 @@ f:
// CHECK-NEXT: ) // CHECK-NEXT: )
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 5 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK-NEXT: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -38,8 +38,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -40,8 +40,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -45,8 +45,8 @@ f:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -218,8 +218,8 @@ f37:
.cfi_endproc .cfi_endproc
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .eh_frame // CHECK: Name: .eh_frame
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -349,16 +349,16 @@ f37:
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 5 // CHECK: Index:
// CHECK-NEXT: Name: .rela.eh_frame // CHECK: Name: .rela.eh_frame
// CHECK-NEXT: Type: SHT_RELA // CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: ] // CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 1752 // CHECK-NEXT: Size: 1752
// CHECK-NEXT: Link: 7 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 4 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -8,8 +8,8 @@
// FIXME2: We need a debug_line dumper so that we can test the actual contents. // FIXME2: We need a debug_line dumper so that we can test the actual contents.
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .debug_line // CHECK: Name: .debug_line
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: ] // CHECK-NEXT: ]

View File

@ -8,8 +8,8 @@ c:
.asciz "hi\n" .asciz "hi\n"
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .debug_line // CHECK: Name: .debug_line
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: ] // CHECK-NEXT: ]

View File

@ -33,8 +33,8 @@
.quad 42 .quad 42
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .rodata.str1.1 // CHECK: Name: .rodata.str1.1
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -50,8 +50,8 @@
// CHECK-NEXT: EntrySize: 1 // CHECK-NEXT: EntrySize: 1
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 5 // CHECK: Index:
// CHECK-NEXT: Name: .rodata.str2.1 // CHECK: Name: .rodata.str2.1
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC
@ -67,8 +67,8 @@
// CHECK-NEXT: EntrySize: 2 // CHECK-NEXT: EntrySize: 2
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 6 // CHECK: Index:
// CHECK-NEXT: Name: .rodata.cst8 // CHECK: Name: .rodata.cst8
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC

View File

@ -34,7 +34,7 @@ bar.c:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK: Symbol { // CHECK: Symbol {
// CHECK: Name: foo.c // CHECK: Name: foo.c
@ -43,5 +43,5 @@ bar.c:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }

View File

@ -21,5 +21,5 @@ foa:
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }

View File

@ -10,7 +10,7 @@
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: Object // CHECK-NEXT: Type: Object
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .bss (0x3) // CHECK-NEXT: Section: .bss
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK: Symbol { // CHECK: Symbol {
// CHECK: Name: B // CHECK: Name: B
@ -19,5 +19,5 @@
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: Object // CHECK-NEXT: Type: Object
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .bss (0x3) // CHECK-NEXT: Section: .bss
// CHECK-NEXT: } // CHECK-NEXT: }

View File

@ -6,8 +6,8 @@
.int 42, 1, 2, 3 .int 42, 1, 2, 3
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 1 // CHECK: Index:
// CHECK-NEXT: Name: .text // CHECK: Name: .text
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_ALLOC // CHECK-NEXT: SHF_ALLOC

View File

@ -1,8 +1,8 @@
// RUN: llvm-mc -no-exec-stack -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -t | FileCheck %s // RUN: llvm-mc -no-exec-stack -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -t | FileCheck %s
// CHECK: Section { // CHECK: Section {
// CHECK: Index: 4 // CHECK: Index:
// CHECK-NEXT: Name: .note.GNU-stack // CHECK: Name: .note.GNU-stack
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
// CHECK-NEXT: ] // CHECK-NEXT: ]
@ -22,5 +22,5 @@
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: Section // CHECK-NEXT: Type: Section
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .note.GNU-stack (0x4) // CHECK-NEXT: Section: .note.GNU-stack
// CHECK-NEXT: } // CHECK-NEXT: }

View File

@ -1,26 +1,7 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sd -sr | FileCheck %s // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r | FileCheck %s
call bar call bar
bar: bar:
// CHECK: Section { // CHECK: Relocations [
// CHECK: Name: .text // CHECK-NEXT: ]
// CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ (0x6)
// CHECK-NEXT: SHF_ALLOC
// CHECK-NEXT: SHF_EXECINSTR
// CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: 0x40
// CHECK-NEXT: Size: 5
// CHECK-NEXT: Link: 0
// CHECK-NEXT: Info: 0
// CHECK-NEXT: AddressAlignment: 4
// CHECK-NEXT: EntrySize: 0
// CHECK-NEXT: Relocations [
// CHECK-NEXT: ]
// CHECK-NEXT: SectionData (
// CHECK-NEXT: 0000: E8000000 00
// CHECK-NEXT: )
// CHECK-NEXT: }
// CHECK: shstrtab

View File

@ -8,7 +8,7 @@
.cfi_endproc .cfi_endproc
// CHECK: Relocations [ // CHECK: Relocations [
// CHECK-NEXT: Section (5) .rela.eh_frame { // CHECK-NEXT: Section ({{.*}}) .rela.eh_frame {
// CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x3E8 // CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x3E8
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: ] // CHECK-NEXT: ]

View File

@ -5,13 +5,6 @@
loope 0 # R_X86_64_PC8 loope 0 # R_X86_64_PC8
jmp -256 # R_X86_64_PC32 jmp -256 # R_X86_64_PC32
// CHECK: Section {
// CHECK: Index: 1
// CHECK-NEXT: Name: .text
// CHECK: Relocations [
// CHECK-NEXT: ]
// CHECK-NEXT: }
// CHECK: Section { // CHECK: Section {
// CHECK: Index: // CHECK: Index:
// CHECK: Name: .rela.text // CHECK: Name: .rela.text
@ -21,8 +14,8 @@
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 48 // CHECK-NEXT: Size: 48
// CHECK-NEXT: Link: 6 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 1 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -24,8 +24,8 @@ defined3:
// CHECK-NEXT: Address: 0x0 // CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: // CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24 // CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 6 // CHECK-NEXT: Link:
// CHECK-NEXT: Info: 1 // CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8 // CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24 // CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [ // CHECK-NEXT: Relocations [

View File

@ -35,7 +35,7 @@
// CHECK-NEXT: EntrySize: 0 // CHECK-NEXT: EntrySize: 0
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 11 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .fini // CHECK-NEXT: Name: .fini
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -51,7 +51,7 @@
// CHECK-NEXT: EntrySize: 0 // CHECK-NEXT: EntrySize: 0
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 12 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: .rodata // CHECK-NEXT: Name: .rodata
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [
@ -66,7 +66,7 @@
// CHECK-NEXT: EntrySize: 0 // CHECK-NEXT: EntrySize: 0
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Section { // CHECK-NEXT: Section {
// CHECK-NEXT: Index: 13 // CHECK-NEXT: Index:
// CHECK-NEXT: Name: zed // CHECK-NEXT: Name: zed
// CHECK-NEXT: Type: SHT_PROGBITS // CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ // CHECK-NEXT: Flags [

View File

@ -36,7 +36,7 @@ sym10:
// CHECK-NEXT: Binding: Local (0x0) // CHECK-NEXT: Binding: Local (0x0)
// CHECK-NEXT: Type: Object (0x1) // CHECK-NEXT: Type: Object (0x1)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym02 // CHECK-NEXT: Name: sym02
@ -45,7 +45,7 @@ sym10:
// CHECK-NEXT: Binding: Local (0x0) // CHECK-NEXT: Binding: Local (0x0)
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym03 // CHECK-NEXT: Name: sym03
@ -54,7 +54,7 @@ sym10:
// CHECK-NEXT: Binding: Local (0x0) // CHECK-NEXT: Binding: Local (0x0)
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym04 // CHECK-NEXT: Name: sym04
@ -63,7 +63,7 @@ sym10:
// CHECK-NEXT: Binding: Local (0x0) // CHECK-NEXT: Binding: Local (0x0)
// CHECK-NEXT: Type: Object (0x1) // CHECK-NEXT: Type: Object (0x1)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym05 // CHECK-NEXT: Name: sym05
@ -75,7 +75,7 @@ sym10:
// CHECK-NEXT: Type: Object (0x1) // CHECK-NEXT: Type: Object (0x1)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym06 // CHECK-NEXT: Name: sym06
@ -102,7 +102,7 @@ sym10:
// CHECK-NEXT: Binding: Local (0x0) // CHECK-NEXT: Binding: Local (0x0)
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym09 // CHECK-NEXT: Name: sym09
@ -114,7 +114,7 @@ sym10:
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym10 // CHECK-NEXT: Name: sym10
@ -123,7 +123,7 @@ sym10:
// CHECK-NEXT: Binding: Local (0x0) // CHECK-NEXT: Binding: Local (0x0)
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym11 // CHECK-NEXT: Name: sym11
@ -135,7 +135,7 @@ sym10:
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym12 // CHECK-NEXT: Name: sym12
@ -147,5 +147,5 @@ sym10:
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }

View File

@ -137,7 +137,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: Object // CHECK-NEXT: Type: Object
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: foo // CHECK-NEXT: Name: foo
@ -146,7 +146,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: Function // CHECK-NEXT: Type: Function
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: func // CHECK-NEXT: Name: func
@ -155,7 +155,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: Function // CHECK-NEXT: Type: Function
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: ifunc // CHECK-NEXT: Name: ifunc
@ -164,7 +164,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: GNU_IFunc // CHECK-NEXT: Type: GNU_IFunc
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: obj // CHECK-NEXT: Name: obj
@ -173,7 +173,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: Object // CHECK-NEXT: Type: Object
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym1 // CHECK-NEXT: Name: sym1
@ -182,7 +182,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: GNU_IFunc (0xA) // CHECK-NEXT: Type: GNU_IFunc (0xA)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym10 // CHECK-NEXT: Name: sym10
@ -191,7 +191,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: TLS (0x6) // CHECK-NEXT: Type: TLS (0x6)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym11 // CHECK-NEXT: Name: sym11
@ -200,7 +200,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: TLS (0x6) // CHECK-NEXT: Type: TLS (0x6)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym12 // CHECK-NEXT: Name: sym12
@ -209,7 +209,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: TLS (0x6) // CHECK-NEXT: Type: TLS (0x6)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym2 // CHECK-NEXT: Name: sym2
@ -218,7 +218,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: GNU_IFunc (0xA) // CHECK-NEXT: Type: GNU_IFunc (0xA)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym3 // CHECK-NEXT: Name: sym3
@ -227,7 +227,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: GNU_IFunc (0xA) // CHECK-NEXT: Type: GNU_IFunc (0xA)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym4 // CHECK-NEXT: Name: sym4
@ -236,7 +236,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym5 // CHECK-NEXT: Name: sym5
@ -245,7 +245,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym6 // CHECK-NEXT: Name: sym6
@ -254,7 +254,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: Object (0x1) // CHECK-NEXT: Type: Object (0x1)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym7 // CHECK-NEXT: Name: sym7
@ -263,7 +263,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: GNU_IFunc (0xA) // CHECK-NEXT: Type: GNU_IFunc (0xA)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym8 // CHECK-NEXT: Name: sym8
@ -272,7 +272,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: Function (0x2) // CHECK-NEXT: Type: Function (0x2)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: sym9 // CHECK-NEXT: Name: sym9
@ -281,7 +281,7 @@ alias12:
// CHECK-NEXT: Binding: Global (0x1) // CHECK-NEXT: Binding: Global (0x1)
// CHECK-NEXT: Type: TLS (0x6) // CHECK-NEXT: Type: TLS (0x6)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: tls // CHECK-NEXT: Name: tls
@ -290,7 +290,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: TLS // CHECK-NEXT: Type: TLS
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: tls_quoted // CHECK-NEXT: Name: tls_quoted
@ -299,7 +299,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: TLS // CHECK-NEXT: Type: TLS
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: tls_upper_case // CHECK-NEXT: Name: tls_upper_case
@ -308,7 +308,7 @@ alias12:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: TLS // CHECK-NEXT: Type: TLS
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: zed (32) // CHECK-NEXT: Name: zed (32)
@ -317,6 +317,6 @@ alias12:
// CHECK-NEXT: Binding: Unique (0xA) // CHECK-NEXT: Binding: Unique (0xA)
// CHECK-NEXT: Type: Object (0x1) // CHECK-NEXT: Type: Object (0x1)
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: ] // CHECK-NEXT: ]

View File

@ -86,7 +86,7 @@ bar15:
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar7 // CHECK-NEXT: Name: bar7
@ -95,7 +95,7 @@ bar15:
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar8 // CHECK-NEXT: Name: bar8
@ -104,7 +104,7 @@ bar15:
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar9 // CHECK-NEXT: Name: bar9
@ -113,7 +113,7 @@ bar15:
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: .text // CHECK-NEXT: Name: .text
@ -122,7 +122,7 @@ bar15:
// CHECK-NEXT: Binding: Local // CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: Section // CHECK-NEXT: Type: Section
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: .data // CHECK-NEXT: Name: .data
@ -149,7 +149,7 @@ bar15:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar11 // CHECK-NEXT: Name: bar11
@ -158,7 +158,7 @@ bar15:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar12 // CHECK-NEXT: Name: bar12
@ -167,7 +167,7 @@ bar15:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar13 // CHECK-NEXT: Name: bar13
@ -176,7 +176,7 @@ bar15:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar14 // CHECK-NEXT: Name: bar14
@ -185,7 +185,7 @@ bar15:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar15 // CHECK-NEXT: Name: bar15
@ -194,7 +194,7 @@ bar15:
// CHECK-NEXT: Binding: Global // CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None // CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 0 // CHECK-NEXT: Other: 0
// CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: Section: .text
// CHECK-NEXT: } // CHECK-NEXT: }
// CHECK-NEXT: Symbol { // CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: bar2 // CHECK-NEXT: Name: bar2