summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-test
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-09-30 16:42:28 +0000
committerAdrian Prantl <aprantl@apple.com>2019-09-30 16:42:28 +0000
commitd4d428ef92a0ddfeafc48e35ff538654619d40eb (patch)
tree91df6a06c7beb00f7e0d94635652ad3fb407fb49 /lldb/tools/lldb-test
parent09025ca6fc7221d0447ffa1d0fd8a460588f748f (diff)
downloadbcm5719-llvm-d4d428ef92a0ddfeafc48e35ff538654619d40eb.tar.gz
bcm5719-llvm-d4d428ef92a0ddfeafc48e35ff538654619d40eb.zip
Remove unused "append" parameter from FindTypes API
I noticed that SymbolFileDWARFDebugMap::FindTypes was implementing it incorrectly (passing append=false in a for-loop to recursive calls to FindTypes would yield only the very last set of results), but instead of fixing it, removing it seemed like an even better option. rdar://problem/54412692 Differential Revision: https://reviews.llvm.org/D68171 llvm-svn: 373224
Diffstat (limited to 'lldb/tools/lldb-test')
-rw-r--r--lldb/tools/lldb-test/lldb-test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/tools/lldb-test/lldb-test.cpp b/lldb/tools/lldb-test/lldb-test.cpp
index 001d52d94bb..112c2fa8764 100644
--- a/lldb/tools/lldb-test/lldb-test.cpp
+++ b/lldb/tools/lldb-test/lldb-test.cpp
@@ -519,10 +519,10 @@ Error opts::symbols::findTypes(lldb_private::Module &Module) {
DenseSet<SymbolFile *> SearchedFiles;
TypeMap Map;
if (!Name.empty())
- Symfile.FindTypes(ConstString(Name), ContextPtr, true, UINT32_MAX,
- SearchedFiles, Map);
+ Symfile.FindTypes(ConstString(Name), ContextPtr, UINT32_MAX, SearchedFiles,
+ Map);
else
- Module.FindTypes(parseCompilerContext(), languages, true, Map);
+ Module.FindTypes(parseCompilerContext(), languages, Map);
outs() << formatv("Found {0} types:\n", Map.GetSize());
StreamString Stream;
OpenPOWER on IntegriCloud