diff options
author | Richard Mitton <richard@codersnotes.com> | 2013-10-03 22:07:08 +0000 |
---|---|---|
committer | Richard Mitton <richard@codersnotes.com> | 2013-10-03 22:07:08 +0000 |
commit | 7c9659a3b297be6298ffae4656b86797295c5d58 (patch) | |
tree | f181ed08efaa1a720a79b6989c47073ac54ad31f /test/DebugInfo/X86/multiple-aranges.ll | |
parent | 03e84c9df91cbc1fe0219a51109e260cacdfd2b7 (diff) | |
download | external_llvm-7c9659a3b297be6298ffae4656b86797295c5d58.zip external_llvm-7c9659a3b297be6298ffae4656b86797295c5d58.tar.gz external_llvm-7c9659a3b297be6298ffae4656b86797295c5d58.tar.bz2 |
Fixed a bug with section names containing special characters.
Changed the dwarf aranges code to not use getLabelEndName, as it turns out it's not reliable to call that given user-defined section names. Section names can have characters in that aren't representable as symbol names.
The dwarf-aranges test case has been updated to include a special character, to check this.
This fixes pr17416.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/multiple-aranges.ll')
-rw-r--r-- | test/DebugInfo/X86/multiple-aranges.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/multiple-aranges.ll b/test/DebugInfo/X86/multiple-aranges.ll index 08c4fa6..28b99ee 100644 --- a/test/DebugInfo/X86/multiple-aranges.ll +++ b/test/DebugInfo/X86/multiple-aranges.ll @@ -27,7 +27,7 @@ ; CHECK-NEXT: .byte 255 ; CHECK-NEXT: .byte 255 ; CHECK-NEXT: .quad rainbows -; CHECK-NEXT: .Lset1 = .L.data_end-rainbows +; CHECK-NEXT: .Lset1 = .Ldebug_end0-rainbows ; CHECK-NEXT: .quad .Lset1 ; CHECK-NEXT: .quad 0 # ARange terminator ; CHECK-NEXT: .quad 0 |