summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-11-02 08:54:35 +0000
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-11-02 08:54:35 +0000
commit15da7684db33fe15ad8b2589573d2bfce556f6b7 (patch)
tree6a73ece468ed8fd466a52f1af97121aa74720d71 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent54bb316185dd6b4aa6e1760f2556d58077e8c50c (diff)
downloadbcm5719-llvm-15da7684db33fe15ad8b2589573d2bfce556f6b7.tar.gz
bcm5719-llvm-15da7684db33fe15ad8b2589573d2bfce556f6b7.zip
[Symbol] Search symbols with name and type in a symbol file
Summary: This patch adds possibility of searching a public symbol with name and type in a symbol file. It is helpful when working with PE, because PE's symtabs contain only imported / exported symbols only. Such a search is required for e.g. evaluation of an expression that calls some function of the debuggee. Reviewers: zturner, asmith, labath, clayborg, espindola Reviewed By: clayborg Subscribers: emaste, arichardson, aleksandr.urakov, jingham, lldb-commits, stella.stamenova Tags: #lldb Differential Revision: https://reviews.llvm.org/D53368 llvm-svn: 345957
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
index ba8216527f3..8d16166cf0f 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
@@ -2876,8 +2876,6 @@ Symtab *ObjectFileELF::GetSymtab() {
// do the section lookup next time.
if (m_symtab_ap == nullptr)
m_symtab_ap.reset(new Symtab(this));
-
- m_symtab_ap->CalculateSymbolSizes();
}
return m_symtab_ap.get();
OpenPOWER on IntegriCloud