diff options
author | Zachary Turner <zturner@google.com> | 2019-01-14 22:41:00 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2019-01-14 22:41:00 +0000 |
commit | c0a246afbe03b8f1d52e06267e9c2a5f2c4521ff (patch) | |
tree | 47743cc3bc117058ce7d9a4160087db952d28897 /lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | |
parent | ffc1b8fd7653cdc61440bc0be5d3735146dd5015 (diff) | |
download | bcm5719-llvm-c0a246afbe03b8f1d52e06267e9c2a5f2c4521ff.tar.gz bcm5719-llvm-c0a246afbe03b8f1d52e06267e9c2a5f2c4521ff.zip |
[SymbolFile] Remove the SymbolContext parameter from FindNamespace.
Every callsite was passing an empty SymbolContext, so this parameter
had no effect. Inside the DWARF implementation of this function,
however, there was one codepath that checked members of the
SymbolContext. Since no call-sites actually ever used this
functionality, it was essentially dead code, so I've deleted this
code path as well.
llvm-svn: 351132
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp')
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp index a765724d623..b39ab888290 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp @@ -2587,7 +2587,7 @@ size_t SymbolFileDWARF::FindTypes(const std::vector<CompilerContext> &context, } CompilerDeclContext -SymbolFileDWARF::FindNamespace(const SymbolContext &sc, const ConstString &name, +SymbolFileDWARF::FindNamespace(const ConstString &name, const CompilerDeclContext *parent_decl_ctx) { Log *log(LogChannelDWARF::GetLogIfAll(DWARF_LOG_LOOKUPS)); |