[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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user