summaryrefslogtreecommitdiff
path: root/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
commite38825f490b898644089d5cd9cb90cec681bded8 (patch)
tree87b39ccb7224094c429ce281a014b9104d94223b /lib/DebugInfo/DWARFContext.h
parentde53477c915105cb7828f9355ae5b3fc0cac4e04 (diff)
downloadllvm-e38825f490b898644089d5cd9cb90cec681bded8.tar.gz
llvm-e38825f490b898644089d5cd9cb90cec681bded8.tar.bz2
llvm-e38825f490b898644089d5cd9cb90cec681bded8.tar.xz
Add support for the pubnames section to llvm-dwarfdump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFContext.h')
-rw-r--r--lib/DebugInfo/DWARFContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DebugInfo/DWARFContext.h b/lib/DebugInfo/DWARFContext.h
index f12a05479b..37b272993f 100644
--- a/lib/DebugInfo/DWARFContext.h
+++ b/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; }