[llvm] r211308 - Since we're using DW_AT_string rather than DW_AT_strp for debug_info

Eric Christopher echristo at gmail.com
Thu Jun 19 13:00:13 PDT 2014


Author: echristo
Date: Thu Jun 19 15:00:13 2014
New Revision: 211308

URL: http://llvm.org/viewvc/llvm-project?rev=211308&view=rev
Log:
Since we're using DW_AT_string rather than DW_AT_strp for debug_info
for assembly files we can't depend on the offset within the section
after a string since it could be different between producers etc.
Relax these tests accordingly.

Modified:
    llvm/trunk/test/MC/ARM/dwarf-asm-multiple-sections.s
    llvm/trunk/test/MC/ARM/dwarf-asm-nonstandard-section.s
    llvm/trunk/test/MC/ARM/dwarf-asm-single-section.s

Modified: llvm/trunk/test/MC/ARM/dwarf-asm-multiple-sections.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/dwarf-asm-multiple-sections.s?rev=211308&r1=211307&r2=211308&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/dwarf-asm-multiple-sections.s (original)
+++ llvm/trunk/test/MC/ARM/dwarf-asm-multiple-sections.s Thu Jun 19 15:00:13 2014
@@ -60,8 +60,8 @@ b:
 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
 // RELOC-NEXT: 00000010 R_ARM_ABS32 .debug_ranges
-// RELOC-NEXT: 0000004f R_ARM_ABS32 .text
-// RELOC-NEXT: 00000061 R_ARM_ABS32 foo
+// RELOC-NEXT: R_ARM_ABS32 .text
+// RELOC-NEXT: R_ARM_ABS32 foo
 
 // RELOC: RELOCATION RECORDS FOR [.rel.debug_ranges]:
 // RELOC-NEXT: 00000004 R_ARM_ABS32 .text

Modified: llvm/trunk/test/MC/ARM/dwarf-asm-nonstandard-section.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/dwarf-asm-nonstandard-section.s?rev=211308&r1=211307&r2=211308&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/dwarf-asm-nonstandard-section.s (original)
+++ llvm/trunk/test/MC/ARM/dwarf-asm-nonstandard-section.s Thu Jun 19 15:00:13 2014
@@ -46,9 +46,9 @@ b:
 // RELOC: RELOCATION RECORDS FOR [.rel.debug_info]:
 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
-// RELOC-NEXT: 00000010 R_ARM_ABS32 foo
-// RELOC-NEXT: 00000014 R_ARM_ABS32 foo
-// RELOC-NEXT: 00000053 R_ARM_ABS32 foo
+// RELOC-NEXT: R_ARM_ABS32 foo
+// RELOC-NEXT: R_ARM_ABS32 foo
+// RELOC-NEXT: R_ARM_ABS32 foo
 
 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
 

Modified: llvm/trunk/test/MC/ARM/dwarf-asm-single-section.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/dwarf-asm-single-section.s?rev=211308&r1=211307&r2=211308&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/dwarf-asm-single-section.s (original)
+++ llvm/trunk/test/MC/ARM/dwarf-asm-single-section.s Thu Jun 19 15:00:13 2014
@@ -45,9 +45,9 @@ a:
 // RELOC: RELOCATION RECORDS FOR [.rel.debug_info]:
 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
-// RELOC-NEXT: 00000010 R_ARM_ABS32 .text
-// RELOC-NEXT: 00000014 R_ARM_ABS32 .text
-// RELOC-NEXT: 00000053 R_ARM_ABS32 .text
+// RELOC-NEXT: R_ARM_ABS32 .text
+// RELOC-NEXT: R_ARM_ABS32 .text
+// RELOC-NEXT: R_ARM_ABS32 .text
 
 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
 





More information about the llvm-commits mailing list