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
DIContext.cpp Constify input argument of RelocVisitor and DWARFContext constructors. NFC. 2014-10-20 20:28:51 +00:00
DWARFAbbreviationDeclaration.cpp
DWARFAbbreviationDeclaration.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFCompileUnit.cpp
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
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
DWARFDebugLoc.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DWARFDebugRangeList.cpp
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.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