llvm-6502/lib/DebugInfo/DWARF
Alexey Samsonov 05f725eb67 [DWARF parser] Make DWARF parser more robust against missing compile/type units.
DWARF standard claims that each compilation/type unit header in
.debug_info/.debug_types section must be followed by corresponding
compile/type unit DIE, possibly with its children. Two situations
are possible:

 * compile/type unit DIE is missing because DWARF producer failed to
   emit it.
 * DWARF parser failed to parse unit DIE correctly, for instance if it
   contains some unsupported attributes (see r237721, for instance).

In either of these cases, the library, and the tools that use it
(llvm-dwarfdump, llvm-symbolizer) should not crash. Insert appropriate
checks to protect against this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237733 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-19 21:54:32 +00:00
..
CMakeLists.txt Move DIContext.h to common DebugInfo location. 2015-04-23 17:37:47 +00:00
DWARFAbbreviationDeclaration.cpp
DWARFAcceleratorTable.cpp
DWARFCompileUnit.cpp [DWARF parser] Make DWARF parser more robust against missing compile/type units. 2015-05-19 21:54:32 +00:00
DWARFContext.cpp [DWARF parser] Make DWARF parser more robust against missing compile/type units. 2015-05-19 21:54:32 +00:00
DWARFDebugAbbrev.cpp
DWARFDebugAranges.cpp
DWARFDebugArangeSet.cpp
DWARFDebugFrame.cpp [DWARF] Add CIE header fields address_size and segment_size when generating dwarf-4 2015-05-12 15:25:08 +00:00
DWARFDebugInfoEntry.cpp [DWARF parser] Add basic support for DWZ DWARF multifile extensions. 2015-05-19 20:29:28 +00:00
DWARFDebugLine.cpp
DWARFDebugLoc.cpp Replace std::copy with a back inserter with vector append where feasible 2015-02-28 10:11:12 +00:00
DWARFDebugRangeList.cpp
DWARFFormValue.cpp [DWARF parser] Add basic support for DWZ DWARF multifile extensions. 2015-05-19 20:29:28 +00:00
DWARFTypeUnit.cpp [DWARF parser] Make DWARF parser more robust against missing compile/type units. 2015-05-19 21:54:32 +00:00
DWARFUnit.cpp [DWARF parser] Make DWARF parser more robust against missing compile/type units. 2015-05-19 21:54:32 +00:00
LLVMBuild.txt
Makefile
module.modulemap
SyntaxHighlighting.cpp
SyntaxHighlighting.h