Remove unnecessary dependency on section and string positions.

llvm-svn: 251964
This commit is contained in:
Rafael Espindola 2015-11-03 19:24:17 +00:00
parent 19474e1801
commit 41302723de
4 changed files with 5 additions and 6 deletions

View File

@ -5,8 +5,7 @@
; DARWIN: Name: __compact_unwind
; DARWIN: Segment: __LD
; LINUX: Index: 8
; LINUX-NEXT: Name: .eh_frame (41)
; LINUX: Name: .eh_frame
; LINUX-NEXT: Type: SHT_PROGBITS (0x1)
; LINUX-NEXT: Flags [ (0x2)
; LINUX-NEXT: SHF_ALLOC (0x2)

View File

@ -14,7 +14,7 @@
// CHECK-NEXT: Flags [
// CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Offset: 0x44
// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 61
// CHECK-NEXT: Link: 0
// CHECK-NEXT: Info: 0

View File

@ -6,8 +6,8 @@
.popsection
// CHECK: Section {
// CHECK: Index: 5
// CHECK-NEXT: Name: foo
// CHECK: Index:
// CHECK: Name: foo
// CHECK-NEXT: Type: SHT_PROGBITS
// CHECK-NEXT: Flags [ (0x0)
// CHECK-NEXT: ]

View File

@ -123,7 +123,7 @@ bar:
.section .excluded,"e",@progbits
// CHECK: Section {
// CHECK: Name: .excluded (92)
// CHECK: Name: .excluded
// CHECK-NEXT: Type: SHT_PROGBITS (0x1)
// CHECK-NEXT: Flags [ (0x80000000)
// CHECK-NEXT: SHF_EXCLUDE (0x80000000)