llvm-6502/lib/DebugInfo
David Blaikie b13d54f588 DebugInfo: Support debug_loc under fission
Implement debug_loc.dwo, as well as llvm-dwarfdump support for dumping
this section.

Outlined in the DWARF5 spec and http://gcc.gnu.org/wiki/DebugFission the
debug_loc.dwo section has more variation than the standard debug_loc,
allowing 3 different forms of entry (plus the end of list entry). GCC
seems to, and Clang certainly, only use one form, so I've just
implemented dumping support for that for now.

It wasn't immediately obvious that there was a good refactoring to share
the implementation of dumping support between debug_loc and
debug_loc.dwo, so they're separate for now - ideas welcome or I may come
back to it at some point.

As per a comment in the code, we could choose different forms that may
reduce the number of debug_addr entries we emit, but that will require
further study.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204697 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-25 01:44:02 +00:00
..
CMakeLists.txt llvm-dwarfdump/libDebugInfo support for type units 2013-09-23 22:44:47 +00:00
DIContext.cpp Rewrite DIContext interface to take an object. Update all callers. 2012-11-12 21:40:38 +00:00
DWARFAbbreviationDeclaration.cpp Use ctor instead of initializer list to appease Windows buildbots 2014-03-14 10:37:36 +00:00
DWARFAbbreviationDeclaration.h Use ctor instead of initializer list to appease Windows buildbots 2014-03-14 10:37:36 +00:00
DWARFCompileUnit.cpp Exract most of DWARFCompileUnit into a new DWARFUnit to prepare for the coming DWARFTypeUnit. 2013-09-23 22:44:40 +00:00
DWARFCompileUnit.h Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:09:27 +00:00
DWARFContext.cpp DebugInfo: Support debug_loc under fission 2014-03-25 01:44:02 +00:00
DWARFContext.h DebugInfo: Support debug_loc under fission 2014-03-25 01:44:02 +00:00
DWARFDebugAbbrev.cpp [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugAbbrev.h Audited all the format strings in libDebugInfo and fixed those that didn't match the types. 2011-11-05 16:01:13 +00:00
DWARFDebugAranges.cpp [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugAranges.h [DebugInfo] Further simplify DWARFDebugAranges public interface 2013-10-02 07:12:47 +00:00
DWARFDebugArangeSet.cpp Make some assertions on constant expressions static. 2014-03-15 18:47:07 +00:00
DWARFDebugArangeSet.h [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugFrame.cpp [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugFrame.h [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugInfoEntry.cpp [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugInfoEntry.h [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugLine.cpp [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugLine.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-05 07:52:44 +00:00
DWARFDebugLoc.cpp DebugInfo: Support debug_loc under fission 2014-03-25 01:44:02 +00:00
DWARFDebugLoc.h DebugInfo: Support debug_loc under fission 2014-03-25 01:44:02 +00:00
DWARFDebugRangeList.cpp [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFDebugRangeList.h Add support for fetching inlining context (stack of source code locations) 2012-09-04 08:12:33 +00:00
DWARFFormValue.cpp DWARF parser: propery handle DW_FORM_ref_sig8 and fix Windows build. 2013-10-29 16:32:19 +00:00
DWARFRelocMap.h Fix a warning in the new DWARFheader. Add a new line at the end of the file. 2013-01-25 22:57:05 +00:00
DWARFTypeUnit.cpp DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t. 2013-09-24 03:23:07 +00:00
DWARFTypeUnit.h Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:09:27 +00:00
DWARFUnit.cpp [C++11] Convert DWARF parser to range-based for loops 2014-03-13 07:52:54 +00:00
DWARFUnit.h Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
LLVMBuild.txt libDebugInfo depends on libObject nowadays. 2013-05-09 13:48:26 +00:00
Makefile