File tree 1 file changed +7
-0
lines changed
lldb/source/Plugins/SymbolFile/DWARF
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 14
14
#include " lldb/Core/Module.h"
15
15
#include " lldb/Core/ModuleList.h"
16
16
#include " lldb/Core/PluginManager.h"
17
+ #include " lldb/Core/Progress.h"
17
18
#include " lldb/Core/Section.h"
18
19
#include " lldb/Host/FileSystem.h"
19
20
#include " lldb/Utility/RangeMap.h"
@@ -1240,7 +1241,13 @@ TypeSP SymbolFileDWARFDebugMap::FindCompleteObjCDefinitionTypeForDIE(
1240
1241
void SymbolFileDWARFDebugMap::FindTypes (const TypeQuery &query,
1241
1242
TypeResults &results) {
1242
1243
std::lock_guard<std::recursive_mutex> guard (GetModuleMutex ());
1244
+ Progress progress (
1245
+ llvm::formatv (" Searching for type '{0}'" ,
1246
+ query.GetTypeBasename ().AsCString (" <<UNKNOWN>>" )));
1243
1247
ForEachSymbolFile ([&](SymbolFileDWARF *oso_dwarf) {
1248
+ if (auto *obj = oso_dwarf->GetObjectFile ())
1249
+ progress.Increment (1 , obj->GetFileSpec ().GetPath ());
1250
+
1244
1251
oso_dwarf->FindTypes (query, results);
1245
1252
return results.Done (query) ? IterationAction::Stop
1246
1253
: IterationAction::Continue;
You can’t perform that action at this time.
0 commit comments