Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 594f05c

Browse files
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211308 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent edd372a commit 594f05c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/MC/ARM/dwarf-asm-multiple-sections.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ b:
6060
// RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
6161
// RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
6262
// RELOC-NEXT: 00000010 R_ARM_ABS32 .debug_ranges
63-
// RELOC-NEXT: 0000004f R_ARM_ABS32 .text
64-
// RELOC-NEXT: 00000061 R_ARM_ABS32 foo
63+
// RELOC-NEXT: R_ARM_ABS32 .text
64+
// RELOC-NEXT: R_ARM_ABS32 foo
6565

6666
// RELOC: RELOCATION RECORDS FOR [.rel.debug_ranges]:
6767
// RELOC-NEXT: 00000004 R_ARM_ABS32 .text

test/MC/ARM/dwarf-asm-nonstandard-section.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ b:
4646
// RELOC: RELOCATION RECORDS FOR [.rel.debug_info]:
4747
// RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
4848
// RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
49-
// RELOC-NEXT: 00000010 R_ARM_ABS32 foo
50-
// RELOC-NEXT: 00000014 R_ARM_ABS32 foo
51-
// RELOC-NEXT: 00000053 R_ARM_ABS32 foo
49+
// RELOC-NEXT: R_ARM_ABS32 foo
50+
// RELOC-NEXT: R_ARM_ABS32 foo
51+
// RELOC-NEXT: R_ARM_ABS32 foo
5252

5353
// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
5454

test/MC/ARM/dwarf-asm-single-section.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ a:
4545
// RELOC: RELOCATION RECORDS FOR [.rel.debug_info]:
4646
// RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
4747
// RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
48-
// RELOC-NEXT: 00000010 R_ARM_ABS32 .text
49-
// RELOC-NEXT: 00000014 R_ARM_ABS32 .text
50-
// RELOC-NEXT: 00000053 R_ARM_ABS32 .text
48+
// RELOC-NEXT: R_ARM_ABS32 .text
49+
// RELOC-NEXT: R_ARM_ABS32 .text
50+
// RELOC-NEXT: R_ARM_ABS32 .text
5151

5252
// RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
5353

0 commit comments

Comments
 (0)