llvm-project/llvm/lib/DebugInfo/DWARF
Chris Bieneman 2e752db47a [DWARF] [ObjectYAML] Adding APIs for unittesting
Summary: This patch adds some new APIs to enable using the YAML DWARF representation in unit tests. The most basic new API is DWARFYAML::EmitDebugSections which converts a YAML string into a series of owned MemoryBuffer objects stored in a StringMap. The string map can then be used to construct a DWARFContext for parsing in place of an ObjectFile.

Reviewers: dblaikie, clayborg

Subscribers: mgorny, fhahn, jgosnell, aprantl, llvm-commits

Differential Revision: https://reviews.llvm.org/D28828

llvm-svn: 292634
2017-01-20 19:03:14 +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 Modify DWARFFormValue to remember the DWARFUnit that it was decoded with. 2016-10-31 16:46:02 +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 [DWARF] [ObjectYAML] Adding APIs for unittesting 2017-01-20 19:03:14 +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 Add a variant of DWARFDie::find() and DWARFDie::findRecursively() that takes a llvm::ArrayRef<dwarf::Attribute>. 2017-01-13 22:32:12 +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