Make it clear in which sections these relocations are.
[oota-llvm.git] / test / MC / ARM / eh-directive-handlerdata.s
index 793d357bac76c49eac69e63d761536a7a6a10801..f0e0fca54f7c4142adb2962451fcd3ff4e18320b 100644 (file)
@@ -43,11 +43,14 @@ func1:
 @ We should see a relocation entry to __aeabi_unwind_cpp_pr0, so that the
 @ linker can keep __aeabi_unwind_cpp_pr0.
 @-------------------------------------------------------------------------------
+@ CHECK: Section {
+@ CHECK:  Name: .rel.ARM.exidx.TEST1
 @ CHECK:  Relocations [
 @ CHECK:    0x0 R_ARM_PREL31 .TEST1 0x0
 @ CHECK:    0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
 @ CHECK:    0x4 R_ARM_PREL31 .ARM.extab.TEST1 0x0
 @ CHECK:  ]
+@ CHECK: }
 
 
 
@@ -100,8 +103,11 @@ func2:
 @ We should see a relocation entry to __aeabi_unwind_cpp_pr0, so that the
 @ linker can keep __aeabi_unwind_cpp_pr0.
 @-------------------------------------------------------------------------------
+@ CHECK: Section {
+@ CHECK:  Name: .rel.ARM.exidx.TEST2
 @ CHECK:  Relocations [
 @ CHECK:    0x0 R_ARM_PREL31 .TEST2 0x0
 @ CHECK:    0x0 R_ARM_NONE __aeabi_unwind_cpp_pr1 0x0
 @ CHECK:    0x4 R_ARM_PREL31 .ARM.extab.TEST2 0x0
 @ CHECK:  ]
+@ CHECK: }