llvm-6502/lib/CodeGen/AsmPrinter
Alexey Samsonov 9d08d69fd4 Remove wild .debug_aranges entries generated from unimportant labels
r191052 added emitting .debug_aranges to Clang, but this
functionality is broken: it uses all MC labels added in DWARF Asm
printer, including the labels for build relocations between
different DWARF sections, like .Lsection_line or .Ldebug_loc0.

As a result, if any DIE .debug_info would contain "DW_AT_location=0x123"
attribute, .debug_aranges would also contain a range starting from 0x123,
breaking tools that rely on this section.

This patch fixes this by using only MC labels that corresponds to the
addresses in the user program.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191884 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-03 08:54:43 +00:00
..
ARMException.cpp
AsmPrinter.cpp Fixed debug_aranges handling for common symbols. 2013-09-23 17:56:20 +00:00
AsmPrinterDwarf.cpp [Sparc] Implements exception handling in SPARC with DwarfCFI. 2013-09-26 15:11:00 +00:00
AsmPrinterInlineAsm.cpp
CMakeLists.txt
DIE.cpp Debug Info: remove duplication of DIEs when a DIE is part of the type system 2013-10-01 19:52:23 +00:00
DIE.h Debug Info: remove duplication of DIEs when a DIE is part of the type system 2013-10-01 19:52:23 +00:00
DIEHash.cpp
DIEHash.h
DwarfAccelTable.cpp
DwarfAccelTable.h
DwarfCFIException.cpp
DwarfCompileUnit.cpp Remove wild .debug_aranges entries generated from unimportant labels 2013-10-03 08:54:43 +00:00
DwarfCompileUnit.h Move emission of the debug string table to early in the debug 2013-09-20 23:22:52 +00:00
DwarfDebug.cpp Remove wild .debug_aranges entries generated from unimportant labels 2013-10-03 08:54:43 +00:00
DwarfDebug.h Remove wild .debug_aranges entries generated from unimportant labels 2013-10-03 08:54:43 +00:00
DwarfException.cpp
DwarfException.h
ErlangGCPrinter.cpp
LLVMBuild.txt
Makefile
OcamlGCPrinter.cpp
Win64Exception.cpp