summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-14 20:52:27 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-14 20:52:27 +0000
commit3266493603b2e77d1fca273be6410a546262459e (patch)
tree54d31942ef5e1ca3beca8db82588c9f1fb2a10b3 /llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
parentd48ed128e0f8d7745362a0120526db377f33e830 (diff)
downloadbcm5719-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/DWARFDebugInfoEntry.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugInfoEntry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
index 5e7b89b5a6e..aff2e855672 100644
--- a/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
+++ b/llvm/lib/DebugInfo/DWARFDebugInfoEntry.h
@@ -15,6 +15,7 @@
namespace llvm {
+class DWARFDebugAranges;
class DWARFCompileUnit;
class DWARFContext;
class DWARFFormValue;
@@ -124,6 +125,9 @@ public:
int64_t getAttributeValueAsSigned(const DWARFCompileUnit* cu,
const uint16_t attr,
int64_t fail_value) const;
+
+ void buildAddressRangeTable(const DWARFCompileUnit *cu,
+ DWARFDebugAranges *debug_aranges) const;
};
}
OpenPOWER on IntegriCloud