llvm-6502/lib/DebugInfo
Frederic Riss 0275be3a97 Allow DWARFFormValue::extractValue to be called with a null CU.
Currently FormValues are only used for attributes of DIEs and thus
uers always have a CU lying around when calling into the FormValue
API.
Accelerator tables encode their information using the same Forms
as the attributes, thus it is natural to use DWARFFormValue to
extract/dump them. There is no CU in that case though. Allow the
API to be called with a null CU arguemnt by making the RelocMap
lookup conditional on the CU pointer validity. And document this
new behvior in the header. (Test coverage for this use of the API
comes in the DwarfAccelTable support patch)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221835 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-12 23:48:04 +00:00
..
CMakeLists.txt llvm-dwarfdump/libDebugInfo support for type units 2013-09-23 22:44:47 +00:00
DIContext.cpp Constify input argument of RelocVisitor and DWARFContext constructors. NFC. 2014-10-20 20:28:51 +00:00
DWARFAbbreviationDeclaration.cpp Use ctor instead of initializer list to appease Windows buildbots 2014-03-14 10:37:36 +00:00
DWARFAbbreviationDeclaration.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +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 [DebugInfo] Pass DWARFSection down to DWARFUnit constructor (NFC). 2014-10-08 00:24:41 +00:00
DWARFContext.cpp Constify input argument of RelocVisitor and DWARFContext constructors. NFC. 2014-10-20 20:28:51 +00:00
DWARFContext.h Constify input argument of RelocVisitor and DWARFContext constructors. NFC. 2014-10-20 20:28:51 +00:00
DWARFDebugAbbrev.cpp Remove unnecessary copying or replace it with moves in a bunch of places. 2014-10-04 16:55:56 +00:00
DWARFDebugAbbrev.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFDebugAranges.cpp [DWARF parser] Fix broken address ranges construction. 2014-06-12 23:58:49 +00:00
DWARFDebugAranges.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFDebugArangeSet.cpp Make some assertions on constant expressions static. 2014-03-15 18:47:07 +00:00
DWARFDebugArangeSet.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFDebugFrame.cpp Remove unnecessary copying or replace it with moves in a bunch of places. 2014-10-04 16:55:56 +00:00
DWARFDebugFrame.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFDebugInfoEntry.cpp [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
DWARFDebugInfoEntry.h [dwarfdump] Resolve also variable specifications/abstract_origins. 2014-10-10 15:51:02 +00:00
DWARFDebugLine.cpp Turn local DWARFContext helpers getFileNameForUnit() and getFileLineInfoForCompileUnit() into full-blowm DWARFDebugLine::LineTable methods. 2014-09-19 15:11:51 +00:00
DWARFDebugLine.h Turn local DWARFContext helpers getFileNameForUnit() and getFileLineInfoForCompileUnit() into full-blowm DWARFDebugLine::LineTable methods. 2014-09-19 15:11:51 +00:00
DWARFDebugLoc.cpp DebugInfo: Support debug_loc under fission 2014-03-25 01:44:02 +00:00
DWARFDebugLoc.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFDebugRangeList.cpp [DWARF parser] Refactor fetching DIE address ranges. 2014-04-18 17:25:46 +00:00
DWARFDebugRangeList.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFFormValue.cpp Allow DWARFFormValue::extractValue to be called with a null CU. 2014-11-12 23:48:04 +00:00
DWARFRelocMap.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFSection.h [DebugInfo] Turn DWARFContext::Section into DWARFSection (NFC). 2014-10-07 23:45:11 +00:00
DWARFTypeUnit.cpp DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t. 2013-09-24 03:23:07 +00:00
DWARFTypeUnit.h [DebugInfo] Pass DWARFSection down to DWARFUnit constructor (NFC). 2014-10-08 00:24:41 +00:00
DWARFUnit.cpp [DebugInfo] Pass DWARFSection down to DWARFUnit constructor (NFC). 2014-10-08 00:24:41 +00:00
DWARFUnit.h Add couple of missing 'override' keyword. NFC. 2014-10-10 17:34:30 +00:00
LLVMBuild.txt
Makefile
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00