Check the entire content of the comdat group.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236230 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-04-30 13:08:09 +00:00
parent dfac1e6730
commit c846f35a04

View File

@ -47,13 +47,15 @@ func1:
@ CHECK: Type: SHT_GROUP (0x11) @ CHECK: Type: SHT_GROUP (0x11)
@ CHECK: Flags [ (0x0) @ CHECK: Flags [ (0x0)
@ CHECK: ] @ CHECK: ]
@ CHECK: Size: 24
@ CHECK: SectionData ( @ CHECK: SectionData (
@------------------------------------------------------------------------------- @-------------------------------------------------------------------------------
@ The second, third, and fourth word should correspond to the section index @ These are the section indexes of .TEST1, .ARM.extab.TEST1, .ARM.exidx.TEST1,
@ of .TEST1, .ARM.extab.TEST1, and .ARM.exidx.TEST1. @ .rel.ARM.extab.TEST1, and .rel.ARM.exidx.TEST1.
@------------------------------------------------------------------------------- @-------------------------------------------------------------------------------
@ CHECK: 0000: 01000000 06000000 07000000 08000000 |................| @ CHECK-NEXT: 0000: 01000000 06000000 07000000 08000000
@ CHECK: ) @ CHECK-NEXT: 0010: 09000000 0A000000
@ CHECK-NEXT: )
@ CHECK: } @ CHECK: }
@ -109,10 +111,20 @@ func1:
@ CHECK: ] @ CHECK: ]
@ CHECK: Link: 6 @ CHECK: Link: 6
@ CHECK: } @ CHECK: }
@ CHECK: Section {
@ CHECK: Index: 9
@ CHECK-NEXT: Name: .rel.ARM.extab.TEST1
@ CHECK: }
@ CHECK: Section {
@ CHECK: Index: 10
@ CHECK-NEXT: Name: .rel.ARM.exidx.TEST1
@ CHECK: }
@ CHECK: ] @ CHECK: ]
@------------------------------------------------------------------------------- @-------------------------------------------------------------------------------
@ Check symbol func1. It should be weak binding, and belong to .TEST1 section. @ Check symbol func1. It should be weak binding, and belong to .TEST1 section.
@------------------------------------------------------------------------------- @-------------------------------------------------------------------------------