llvm-project/llvm/lib/DebugInfo/DWARF
Victor Leschuk 96d9981ec6 [DebugInfo] Skip implicit_const attributes when dumping .debug_info. NFC.
When dumping .debug_info section we loop through all attributes mentioned in
.debug_abbrev section and dump values using DWARFFormValue::extractValue().
We need to skip implicit_const attributes here as their values are not
really located in .debug_info but directly in .debug_abbrev. This patch fixes
triggered assert() in DWARFFormValue::extractValue() caused by trying to
access implicit_const values from .debug_info.

llvm-svn: 296253
2017-02-25 13:15:57 +00:00
..
CMakeLists.txt [DWARF] - Introduce DWARFDebugPubTable class for dumping pub* sections. 2016-12-17 09:10:32 +00:00
DWARFAbbreviationDeclaration.cpp DebugInfo: support for DW_FORM_implicit_const 2017-01-10 21:18:26 +00:00
DWARFAcceleratorTable.cpp Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
DWARFCompileUnit.cpp Make a DWARFDIE class that can help avoid using the wrong DWARFUnit when extracting attributes 2016-12-13 18:25:19 +00:00
DWARFContext.cpp Get function start line number from DWARF info 2017-02-06 20:19:02 +00:00
DWARFDebugAbbrev.cpp
DWARFDebugArangeSet.cpp
DWARFDebugAranges.cpp
DWARFDebugFrame.cpp [DebugInfo] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes (NFC). 2016-11-23 23:16:32 +00:00
DWARFDebugInfoEntry.cpp DebugInfo: support for DW_FORM_implicit_const 2017-01-10 21:18:26 +00:00
DWARFDebugLine.cpp This change does two things: 2016-12-14 18:29:39 +00:00
DWARFDebugLoc.cpp Import/update constants from the DWARF 5 public review draft document. 2016-10-28 17:59:50 +00:00
DWARFDebugMacro.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DWARFDebugPubTable.cpp [DWARF] - Introduce DWARFDebugPubTable class for dumping pub* sections. 2016-12-17 09:10:32 +00:00
DWARFDebugRangeList.cpp
DWARFDie.cpp [DebugInfo] Skip implicit_const attributes when dumping .debug_info. NFC. 2017-02-25 13:15:57 +00:00
DWARFFormValue.cpp Add the ability to iterate across all attributes in a DIE. 2017-01-13 00:13:42 +00:00
DWARFGdbIndex.cpp Revert r282238 "Revert r282235 "[llvm-dwarfdump] - Teach dwarfdump to dump gdb-index section."" 2016-09-23 11:01:53 +00:00
DWARFTypeUnit.cpp Cleanup how DWARFDie attributes are accessed and decoded. 2017-01-13 21:08:18 +00:00
DWARFUnit.cpp Add a variant of DWARFDie::find() and DWARFDie::findRecursively() that takes a llvm::ArrayRef<dwarf::Attribute>. 2017-01-13 22:32:12 +00:00
DWARFUnitIndex.cpp dwarfdump: Correctly indentify the indicies for DWP records 2015-12-03 18:41:59 +00:00
LLVMBuild.txt
SyntaxHighlighting.cpp dwarfdump: Added macro support to llvm-dwarfdump tool. 2015-11-12 09:38:54 +00:00
SyntaxHighlighting.h dwarfdump: Added macro support to llvm-dwarfdump tool. 2015-11-12 09:38:54 +00:00