summaryrefslogtreecommitdiffstats
path: root/lldb/include
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-06 11:35:23 +0000
committerPavel Labath <labath@google.com>2018-06-06 11:35:23 +0000
commit9337b41cb5cd79fb57d97578b3c5e26a117ddfaf (patch)
treed20d75b75aa69f42fb836a0f30dd3c65b9e59fc2 /lldb/include
parent86026bdaee77c40009bdb91d9543bdc679b792ea (diff)
downloadbcm5719-llvm-9337b41cb5cd79fb57d97578b3c5e26a117ddfaf.tar.gz
bcm5719-llvm-9337b41cb5cd79fb57d97578b3c5e26a117ddfaf.zip
[DWARF] Add (empty) DebugNamesDWARFIndex class and a setting to control its use
Summary: This patch adds the skeleton for implementing the DWARF v5 name index class. All of the methods are stubbed out and will be implemented in subsequent patches. The interesting part of the patch is the addition of a "ignore-file-indexes" setting to the dwarf plugin which enables a user to force using manual indexing path in lldb (for example as a debugging aid). I have also added a test that verifies that file indexes are used by default. Reviewers: JDevlieghere, clayborg, jingham Subscribers: mgorny, mehdi_amini, aprantl, lldb-commits Differential Revision: https://reviews.llvm.org/D47629 llvm-svn: 334088
Diffstat (limited to 'lldb/include')
-rw-r--r--lldb/include/lldb/Symbol/SymbolFile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/include/lldb/Symbol/SymbolFile.h b/lldb/include/lldb/Symbol/SymbolFile.h
index 13818833279..7b77c60a3c3 100644
--- a/lldb/include/lldb/Symbol/SymbolFile.h
+++ b/lldb/include/lldb/Symbol/SymbolFile.h
@@ -200,6 +200,8 @@ public:
//------------------------------------------------------------------
virtual void SectionFileAddressesChanged() {}
+ virtual void Dump(Stream &s) {}
+
protected:
ObjectFile *m_obj_file; // The object file that symbols can be extracted from.
uint32_t m_abilities;
OpenPOWER on IntegriCloud