diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-09-29 00:33:22 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-09-29 00:33:22 +0000 |
commit | 4d5765b0a51ed244780e1abe0212e7bbb222abf9 (patch) | |
tree | 5b57ffcccca033efdef0e27a3bf9d50a27005b97 /include | |
parent | 0bce04127f10c4f0dc32a7d04029817101ac2f4c (diff) |
llvm-dwarfdump: add support for .apple_types in --find
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo/DWARF/DWARFContext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo/DWARF/DWARFContext.h b/include/llvm/DebugInfo/DWARF/DWARFContext.h index 471fb4c971f..9a1da73c20c 100644 --- a/include/llvm/DebugInfo/DWARF/DWARFContext.h +++ b/include/llvm/DebugInfo/DWARF/DWARFContext.h @@ -70,6 +70,7 @@ class DWARFContext : public DIContext { std::unique_ptr<DWARFDebugFrame> EHFrame; std::unique_ptr<DWARFDebugMacro> Macro; std::unique_ptr<DWARFAcceleratorTable> AppleNames; + std::unique_ptr<DWARFAcceleratorTable> AppleTypes; DWARFUnitSection<DWARFCompileUnit> DWOCUs; std::deque<DWARFUnitSection<DWARFTypeUnit>> DWOTUs; @@ -242,6 +243,9 @@ public: /// Get a reference to the parsed accelerator table object. const DWARFAcceleratorTable &getAppleNames(); + /// Get a reference to the parsed accelerator table object. + const DWARFAcceleratorTable &getAppleTypes(); + /// Get a pointer to a parsed line table corresponding to a compile unit. const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *cu); |