llvm.org GIT mirror llvm / 594f05c
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 Eric Christopher 6 years ago
3 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
5959 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
6060 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
6161 // RELOC-NEXT: 00000010 R_ARM_ABS32 .debug_ranges
62 // RELOC-NEXT: 0000004f R_ARM_ABS32 .text
63 // RELOC-NEXT: 00000061 R_ARM_ABS32 foo
62 // RELOC-NEXT: R_ARM_ABS32 .text
63 // RELOC-NEXT: R_ARM_ABS32 foo
6464
6565 // RELOC: RELOCATION RECORDS FOR [.rel.debug_ranges]:
6666 // RELOC-NEXT: 00000004 R_ARM_ABS32 .text
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 foo
49 // RELOC-NEXT: 00000014 R_ARM_ABS32 foo
50 // RELOC-NEXT: 00000053 R_ARM_ABS32 foo
48 // RELOC-NEXT: R_ARM_ABS32 foo
49 // RELOC-NEXT: R_ARM_ABS32 foo
50 // RELOC-NEXT: R_ARM_ABS32 foo
5151
5252 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
5353
4444 // RELOC: RELOCATION RECORDS FOR [.rel.debug_info]:
4545 // RELOC-NEXT: 00000006 R_ARM_ABS32 .debug_abbrev
4646 // RELOC-NEXT: 0000000c R_ARM_ABS32 .debug_line
47 // RELOC-NEXT: 00000010 R_ARM_ABS32 .text
48 // RELOC-NEXT: 00000014 R_ARM_ABS32 .text
49 // RELOC-NEXT: 00000053 R_ARM_ABS32 .text
47 // RELOC-NEXT: R_ARM_ABS32 .text
48 // RELOC-NEXT: R_ARM_ABS32 .text
49 // RELOC-NEXT: R_ARM_ABS32 .text
5050
5151 // RELOC-NOT: RELOCATION RECORDS FOR [.rel.debug_ranges]:
5252