forked from OSchip/llvm-project
Relax these tests a bit.
It is not relevant where in the string table the name is located. llvm-svn: 238053
This commit is contained in:
parent
3d2d9d1d91
commit
95ee81daf6
|
@ -48,7 +48,7 @@
|
|||
|
||||
# CHECK: Sections [
|
||||
# CHECK: Section {
|
||||
# CHECK: Name: test1 (68)
|
||||
# CHECK: Name: test1
|
||||
# CHECK-NEXT: Type: SHT_PROGBITS
|
||||
# CHECK-NEXT: Flags [ (0x0)
|
||||
# CHECK-NEXT: ]
|
||||
|
@ -64,7 +64,7 @@
|
|||
# CHECK-NEXT: )
|
||||
# CHECK-NEXT: }
|
||||
# CHECK: Section {
|
||||
# CHECK: Name: test2 (62)
|
||||
# CHECK: Name: test2
|
||||
# CHECK-NEXT: Type: SHT_PROGBITS
|
||||
# CHECK-NEXT: Flags [ (0x0)
|
||||
# CHECK-NEXT: ]
|
||||
|
@ -80,7 +80,7 @@
|
|||
# CHECK-NEXT: )
|
||||
# CHECK-NEXT: }
|
||||
# CHECK: Section {
|
||||
# CHECK: Name: test3 (56)
|
||||
# CHECK: Name: test3
|
||||
# CHECK-NEXT: Type: SHT_PROGBITS
|
||||
# CHECK-NEXT: Flags [ (0x0)
|
||||
# CHECK-NEXT: ]
|
||||
|
@ -96,7 +96,7 @@
|
|||
# CHECK-NEXT: )
|
||||
# CHECK-NEXT: }
|
||||
# CHECK: Section {
|
||||
# CHECK: Name: test4 (50)
|
||||
# CHECK: Name: test4
|
||||
# CHECK-NEXT: Type: SHT_PROGBITS
|
||||
# CHECK-NEXT: Flags [ (0x0)
|
||||
# CHECK-NEXT: ]
|
||||
|
@ -112,7 +112,7 @@
|
|||
# CHECK-NEXT: )
|
||||
# CHECK-NEXT: }
|
||||
# CHECK: Section {
|
||||
# CHECK: Name: test5 (44)
|
||||
# CHECK: Name: test5
|
||||
# CHECK-NEXT: Type: SHT_PROGBITS
|
||||
# CHECK-NEXT: Flags [ (0x0)
|
||||
# CHECK-NEXT: ]
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
.align 8
|
||||
|
||||
// CHECK: Section {
|
||||
// CHECK: Name: .bss (7)
|
||||
// CHECK: Name: .bss
|
||||
// CHECK-NEXT: Type:
|
||||
// CHECK-NEXT: Flags [
|
||||
// CHECK: ]
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
foa:
|
||||
|
||||
// CHECK: Symbol {
|
||||
// CHECK: Name: foo (1)
|
||||
// CHECK: Name: foo
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Local
|
||||
|
@ -15,7 +15,7 @@ foa:
|
|||
// CHECK-NEXT: Section: Absolute (0xFFF1)
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: Symbol {
|
||||
// CHECK-NEXT: Name: foa (5)
|
||||
// CHECK-NEXT: Name: foa
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Local
|
||||
|
|
|
@ -30,4 +30,4 @@ foo:
|
|||
// CHECK-NEXT: )
|
||||
// CHECK-NEXT: }
|
||||
// CHECK: Symbol {
|
||||
// CHECK: Name: foo (5)
|
||||
// CHECK: Name: foo
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
.section .note.GNU-,"",@progbits
|
||||
.section -.note.GNU,"","progbits"
|
||||
|
||||
// CHECK: Name: .note.GNU-stack (56)
|
||||
// CHECK: Name: .note.GNU-stack2 (153)
|
||||
// CHECK: Name: .note.GNU- (170)
|
||||
// CHECK: Name: -.note.GNU (142)
|
||||
// CHECK: Name: .note.GNU-stack
|
||||
// CHECK: Name: .note.GNU-stack2
|
||||
// CHECK: Name: .note.GNU-
|
||||
// CHECK: Name: -.note.GNU
|
||||
|
||||
// Test that the defaults are used
|
||||
|
||||
|
@ -142,6 +142,6 @@ bar:
|
|||
.section "foo"
|
||||
|
||||
// CHECK: Section {
|
||||
// CHECK: Name: bar-"foo" (181)
|
||||
// CHECK: Name: bar-"foo"
|
||||
// CHECK: Section {
|
||||
// CHECK: Name: foo (52)
|
||||
// CHECK: Name: foo
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
// CHECK: Symbols [
|
||||
// CHECK: Symbol {
|
||||
// CHECK: Name: ??_R0?AVexception@std@@@8 (102)
|
||||
// CHECK: Name: ??_R0?AVexception@std@@@8
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Global (0x1)
|
||||
|
@ -30,7 +30,7 @@
|
|||
// CHECK-NEXT: Section: Undefined (0x0)
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: Symbol {
|
||||
// CHECK-NEXT: Name: @??_R0?AVinvalid_argument@std@@@8 (1)
|
||||
// CHECK-NEXT: Name: @??_R0?AVinvalid_argument@std@@@8
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Global (0x1)
|
||||
|
@ -39,7 +39,7 @@
|
|||
// CHECK-NEXT: Section: Undefined (0x0)
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: Symbol {
|
||||
// CHECK-NEXT: Name: __imp_??_R0?AVlogic_error@std@@@8 (35)
|
||||
// CHECK-NEXT: Name: __imp_??_R0?AVlogic_error@std@@@8
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Global (0x1)
|
||||
|
@ -48,7 +48,7 @@
|
|||
// CHECK-NEXT: Section: Undefined (0x0)
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: Symbol {
|
||||
// CHECK-NEXT: Name: __imp_@??_R0PAVexception@std@@@8 (69)
|
||||
// CHECK-NEXT: Name: __imp_@??_R0PAVexception@std@@@8
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Global (0x1)
|
||||
|
|
|
@ -311,7 +311,7 @@ alias12:
|
|||
// CHECK-NEXT: Section: .text
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: Symbol {
|
||||
// CHECK-NEXT: Name: zed (32)
|
||||
// CHECK-NEXT: Name: zed
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Unique (0xA)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CHECK: Symbols [
|
||||
// CHECK: Symbol {
|
||||
// CHECK: Name: _GLOBAL_OFFSET_TABLE_ (9)
|
||||
// CHECK: Name: _GLOBAL_OFFSET_TABLE_
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Global
|
||||
|
@ -25,7 +25,7 @@
|
|||
// CHECK-NEXT: Section: Undefined (0x0)
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: Symbol {
|
||||
// CHECK-NEXT: Name: foo (1)
|
||||
// CHECK-NEXT: Name: foo
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Weak
|
||||
|
@ -34,7 +34,7 @@
|
|||
// CHECK-NEXT: Section: Undefined (0x0)
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: Symbol {
|
||||
// CHECK-NEXT: Name: zed (5)
|
||||
// CHECK-NEXT: Name: zed
|
||||
// CHECK-NEXT: Value: 0x0
|
||||
// CHECK-NEXT: Size: 0
|
||||
// CHECK-NEXT: Binding: Global
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
# Checking if the data and reloations were correctly emitted
|
||||
# CHECK-OBJ: Section {
|
||||
# CHECK-OBJ: Name: .data (66)
|
||||
# CHECK-OBJ: Name: .data
|
||||
# CHECK-OBJ: SectionData (
|
||||
# CHECK-OBJ: 0000: DEADC0DE DEADC0DE DEADBEEF 00000000
|
||||
# CHECK-OBJ: 0010: 00000000 00000000
|
||||
|
@ -20,7 +20,7 @@
|
|||
# CHECK-OBJ: }
|
||||
|
||||
# CHECK-OBJ: Section {
|
||||
# CHECK-OBJ: Name: .rel.data (62)
|
||||
# CHECK-OBJ: Name: .rel.data
|
||||
# CHECK-OBJ: Relocations [
|
||||
# CHECK-OBJ: 0xC R_MIPS_32 .data 0x0
|
||||
# CHECK-OBJ: 0x10 R_MIPS_64 .data 0x0
|
||||
|
|
Loading…
Reference in New Issue