Skip to content

Commit d9d0e0d

Browse files
committed
[lldb][DWARFASTParserClang] Report progress when parsing types from DWARF
1 parent e9a3623 commit d9d0e0d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
2424
#include "Plugins/Language/ObjC/ObjCLanguage.h"
2525
#include "lldb/Core/Module.h"
26+
#include "lldb/Core/Progress.h"
2627
#include "lldb/Core/Value.h"
2728
#include "lldb/Host/Host.h"
2829
#include "lldb/Symbol/CompileUnit.h"
@@ -1758,6 +1759,11 @@ DWARFASTParserClang::ParseStructureLikeDIE(const SymbolContext &sc,
17581759
}
17591760

17601761
if (attrs.is_forward_declaration) {
1762+
Progress progress(llvm::formatv(
1763+
"Parsing forward declaration {0}: {1}",
1764+
dwarf->GetObjectFile()->GetFileSpec().GetFilename().GetString(),
1765+
attrs.name.GetString()));
1766+
17611767
// We have a forward declaration to a type and we need to try and
17621768
// find a full declaration. We look in the current type index just in
17631769
// case we have a forward declaration followed by an actual

0 commit comments

Comments
 (0)