Skip to content

Commit 9f84594

Browse files
authored
[lldb][Dwarf] Add missing timer when parsing .debug_abbrev. (#86568)
The time spent on parsing `.debug_abbrev` is also part of debug info parsing time.
1 parent 11b20d7 commit 9f84594

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ llvm::DWARFDebugAbbrev *SymbolFileDWARF::DebugAbbrev() {
693693
if (debug_abbrev_data.GetByteSize() == 0)
694694
return nullptr;
695695

696+
ElapsedTime elapsed(m_parse_time);
696697
auto abbr =
697698
std::make_unique<llvm::DWARFDebugAbbrev>(debug_abbrev_data.GetAsLLVM());
698699
llvm::Error error = abbr->parse();

0 commit comments

Comments
 (0)