Fixed a bug with section names containing special characters.
authorRichard Mitton <richard@codersnotes.com>
Thu, 3 Oct 2013 22:07:08 +0000 (22:07 +0000)
committerRichard Mitton <richard@codersnotes.com>
Thu, 3 Oct 2013 22:07:08 +0000 (22:07 +0000)
commit7c9659a3b297be6298ffae4656b86797295c5d58
treef181ed08efaa1a720a79b6989c47073ac54ad31f
parent03e84c9df91cbc1fe0219a51109e260cacdfd2b7
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
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/dwarf-aranges.ll
test/DebugInfo/X86/multiple-aranges.ll