diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-14 20:52:27 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-14 20:52:27 +0000 |
commit | 3266493603b2e77d1fca273be6410a546262459e (patch) | |
tree | 54d31942ef5e1ca3beca8db82588c9f1fb2a10b3 /llvm/lib/DebugInfo/DWARFCompileUnit.h | |
parent | d48ed128e0f8d7745362a0120526db377f33e830 (diff) | |
download | bcm5719-llvm-3266493603b2e77d1fca273be6410a546262459e.tar.gz bcm5719-llvm-3266493603b2e77d1fca273be6410a546262459e.zip |
DWARF: Generate the address lookup table from the DIE tree if .debug_aranges is not available.
Ported from LLDB.
llvm-svn: 139732
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFCompileUnit.h')
-rw-r--r-- | llvm/lib/DebugInfo/DWARFCompileUnit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFCompileUnit.h b/llvm/lib/DebugInfo/DWARFCompileUnit.h index 0c082ad3378..378b6ced8cf 100644 --- a/llvm/lib/DebugInfo/DWARFCompileUnit.h +++ b/llvm/lib/DebugInfo/DWARFCompileUnit.h @@ -91,6 +91,11 @@ public: DieArray.reserve(getDebugInfoSize() / 14); DieArray.push_back(die); } + + void clearDIEs(bool keep_compile_unit_die); + + void buildAddressRangeTable(DWARFDebugAranges *debug_aranges, + bool clear_dies_if_already_not_parsed); }; } |