Skip to content

Commit e549d29

Browse files
cuvipernikic
authored andcommitted
[rust-lldb] FindTypes no longer takes a SymbolContext
Reference: https://reviews.llvm.org/rLLDB351133
1 parent 083da60 commit e549d29

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Plugins/ExpressionParser/Rust/RustParse.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,9 @@ GetTypeByName(ExecutionContext &exe_ctx, const char *name, Status &error) {
141141
return CompilerType();
142142
}
143143

144-
SymbolContext sc;
145144
TypeList type_list;
146145
llvm::DenseSet<SymbolFile *> searched_symbol_files;
147-
uint32_t num_matches = target->GetImages().FindTypes(sc, ConstString(name), true,
146+
uint32_t num_matches = target->GetImages().FindTypes(nullptr, ConstString(name), true,
148147
2, searched_symbol_files, type_list);
149148
if (num_matches > 0) {
150149
return type_list.GetTypeAtIndex(0)->GetFullCompilerType();

0 commit comments

Comments
 (0)