summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFContext.h
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2013-02-12 16:20:28 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2013-02-12 16:20:28 +0000
commit97438dc75eea431270e1a7857d4342c2b0ffbbee (patch)
tree50e3dc84e0cde3a887300ce458289139d1ed09dc /llvm/lib/DebugInfo/DWARFContext.h
parent4444917f5c5586a9283ea4c77e912d67cb75269c (diff)
downloadbcm5719-llvm-97438dc75eea431270e1a7857d4342c2b0ffbbee.tar.gz
bcm5719-llvm-97438dc75eea431270e1a7857d4342c2b0ffbbee.zip
Add support for the pubnames section to llvm-dwarfdump.
llvm-svn: 174976
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFContext.h')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.h b/llvm/lib/DebugInfo/DWARFContext.h
index f12a05479be..37b272993f3 100644
--- a/llvm/lib/DebugInfo/DWARFContext.h
+++ b/llvm/lib/DebugInfo/DWARFContext.h
@@ -111,6 +111,7 @@ public:
virtual StringRef getLineSection() = 0;
virtual StringRef getStringSection() = 0;
virtual StringRef getRangeSection() = 0;
+ virtual StringRef getPubNamesSection() = 0;
// Sections for DWARF5 split dwarf proposal.
virtual StringRef getInfoDWOSection() = 0;
@@ -149,6 +150,7 @@ class DWARFContextInMemory : public DWARFContext {
StringRef LineSection;
StringRef StringSection;
StringRef RangeSection;
+ StringRef PubNamesSection;
// Sections for DWARF5 split dwarf proposal.
RelocAddrMap InfoDWORelocMap;
@@ -172,6 +174,7 @@ public:
virtual StringRef getLineSection() { return LineSection; }
virtual StringRef getStringSection() { return StringSection; }
virtual StringRef getRangeSection() { return RangeSection; }
+ virtual StringRef getPubNamesSection() { return PubNamesSection; }
// Sections for DWARF5 split dwarf proposal.
virtual StringRef getInfoDWOSection() { return InfoDWOSection; }
OpenPOWER on IntegriCloud