summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-04-30 13:08:09 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-04-30 13:08:09 +0000
commite740409d521645b04de08e97038a24b3343b5b96 (patch)
tree35197cc884b07ff284c5c91a64508100848f2498
parent70dd606f255f8349cdd29e357ca2fc18fe562b8a (diff)
downloadbcm5719-llvm-e740409d521645b04de08e97038a24b3343b5b96.tar.gz
bcm5719-llvm-e740409d521645b04de08e97038a24b3343b5b96.zip
Check the entire content of the comdat group.
llvm-svn: 236230
-rw-r--r--llvm/test/MC/ARM/eh-directive-section-comdat.s22
1 files changed, 17 insertions, 5 deletions
diff --git a/llvm/test/MC/ARM/eh-directive-section-comdat.s b/llvm/test/MC/ARM/eh-directive-section-comdat.s
index 3f24ddf2864..a397acd37de 100644
--- a/llvm/test/MC/ARM/eh-directive-section-comdat.s
+++ b/llvm/test/MC/ARM/eh-directive-section-comdat.s
@@ -47,13 +47,15 @@ func1:
@ CHECK: Type: SHT_GROUP (0x11)
@ CHECK: Flags [ (0x0)
@ CHECK: ]
+@ CHECK: Size: 24
@ CHECK: SectionData (
@-------------------------------------------------------------------------------
-@ The second, third, and fourth word should correspond to the section index
-@ of .TEST1, .ARM.extab.TEST1, and .ARM.exidx.TEST1.
+@ These are the section indexes of .TEST1, .ARM.extab.TEST1, .ARM.exidx.TEST1,
+@ .rel.ARM.extab.TEST1, and .rel.ARM.exidx.TEST1.
@-------------------------------------------------------------------------------
-@ CHECK: 0000: 01000000 06000000 07000000 08000000 |................|
-@ CHECK: )
+@ CHECK-NEXT: 0000: 01000000 06000000 07000000 08000000
+@ CHECK-NEXT: 0010: 09000000 0A000000
+@ CHECK-NEXT: )
@ CHECK: }
@@ -109,9 +111,19 @@ func1:
@ CHECK: ]
@ 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 symbol func1. It should be weak binding, and belong to .TEST1 section.
OpenPOWER on IntegriCloud