summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-19 20:00:13 +0000
committerEric Christopher <echristo@gmail.com>2014-06-19 20:00:13 +0000
commit594f05c8dae6ec0b08694a1d439aee8bca18a47d (patch)
treef100c3262c17af71e9dd0b1d94d200fd52bc9667 /test
parentedd372aba2c1422ccb1e1f5ca48fb38eda658914 (diff)
downloadllvm-594f05c8dae6ec0b08694a1d439aee8bca18a47d.tar.gz
llvm-594f05c8dae6ec0b08694a1d439aee8bca18a47d.tar.bz2
llvm-594f05c8dae6ec0b08694a1d439aee8bca18a47d.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/dwarf-asm-multiple-sections.s4
-rw-r--r--test/MC/ARM/dwarf-asm-nonstandard-section.s6
-rw-r--r--test/MC/ARM/dwarf-asm-single-section.s6
3 files changed, 8 insertions, 8 deletions
diff --git a/test/MC/ARM/dwarf-asm-multiple-sections.s b/test/MC/ARM/dwarf-asm-multiple-sections.s
index 5e64fcc023..ed1b89eff3 100644
--- a/test/MC/ARM/dwarf-asm-multiple-sections.s
+++ b/test/MC/ARM/dwarf-asm-multiple-sections.s
@@ -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
diff --git a/test/MC/ARM/dwarf-asm-nonstandard-section.s b/test/MC/ARM/dwarf-asm-nonstandard-section.s
index adf92bab18..497a39ad11 100644
--- a/test/MC/ARM/dwarf-asm-nonstandard-section.s
+++ b/test/MC/ARM/dwarf-asm-nonstandard-section.s
@@ -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]:
diff --git a/test/MC/ARM/dwarf-asm-single-section.s b/test/MC/ARM/dwarf-asm-single-section.s
index d69dfab5de..c57e6498a3 100644
--- a/test/MC/ARM/dwarf-asm-single-section.s
+++ b/test/MC/ARM/dwarf-asm-single-section.s
@@ -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]: