Make test more strict. NFC.

It was non-obvious that a CHECK was not matching the following section.

llvm-svn: 286643
This commit is contained in:
Rafael Espindola 2016-11-11 22:07:15 +00:00
parent d8ec15184e
commit eb1c2a0dac
1 changed files with 35 additions and 6 deletions

View File

@ -47,52 +47,81 @@ f3:
// CHECK-NEXT: Flags [ (0x82)
// CHECK-NEXT: SHF_ALLOC (0x2)
// CHECK-NEXT: SHF_LINK_ORDER (0x80)
// CHECK: Size: 24
// CHECK-NEXT: ]
// CHECK-NEXT: Address
// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 24
// CHECK-NEXT: Link: 7
// CHECK: Name: .ARM.exidx.text.f1
// CHECK-NEXT: Type: SHT_ARM_EXIDX (0x70000001)
// CHECK-NEXT: Flags [ (0x82)
// CHECK-NEXT: SHF_ALLOC (0x2)
// CHECK-NEXT: SHF_LINK_ORDER (0x80)
// CHECK: Size: 8
// CHECK-NEXT: ]
// CHECK-NEXT: Address
// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 8
// CHECK-NEXT: Link: 8
// CHECK: Name: .ARM.exidx.text.f2
// CHECK-NEXT: Type: SHT_ARM_EXIDX (0x70000001)
// CHECK-NEXT: Flags [ (0x82)
// CHECK-NEXT: SHF_ALLOC (0x2)
// CHECK-NEXT: SHF_LINK_ORDER (0x80)
// CHECK: Size: 16
// CHECK-NEXT: ]
// CHECK-NEXT: Address
// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 16
// CHECK-NEXT: Link: 9
// CHECK: Name: .ARM.exidx.func1
// CHECK-NEXT: Type: SHT_ARM_EXIDX (0x70000001)
// CHECK-NEXT: Flags [ (0x82)
// CHECK-NEXT: SHF_ALLOC (0x2)
// CHECK-NEXT: SHF_LINK_ORDER (0x80)
// CHECK: Size: 8
// CHECK-NEXT: ]
// CHECK-NEXT: Address
// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 8
// CHECK-NEXT: Link: 10
// CHECK: Name: .ARM.exidx.func2
// CHECK-NEXT: Type: SHT_ARM_EXIDX (0x70000001)
// CHECK-NEXT: Flags [ (0x82)
// CHECK-NEXT: SHF_ALLOC (0x2)
// CHECK-NEXT: SHF_LINK_ORDER (0x80)
// CHECK: Size: 8
// CHECK-NEXT: ]
// CHECK-NEXT: Address
// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 8
// CHECK-NEXT: Link: 11
// CHECK: Name: .ARM.exidx.func3
// CHECK-NEXT: Type: SHT_ARM_EXIDX (0x70000001)
// CHECK-NEXT: Flags [ (0x82)
// CHECK-NEXT: SHF_ALLOC (0x2)
// CHECK-NEXT: SHF_LINK_ORDER (0x80)
// CHECK: Size: 8
// CHECK-NEXT: ]
// CHECK-NEXT: Address
// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 8
// CHECK-NEXT: Link: 12
// CHECK: Index: 7
// CHECK-NEXT: Name: .text
// CHECK: Index: 8
// CHECK-NEXT: Name: .text.f1
// CHECK: Index: 9
// CHECK-NEXT: Name: .text.f2
// CHECK: Index: 10
// CHECK-NEXT: Name: .func1
// CHECK: Index: 11
// CHECK-NEXT: Name: .func2
// CHECK: Index: 12
// CHECK-NEXT: Name: .func3