llvm-project
0f446333 - [lldb] Count split DWARF parsing in debugInfoParseTime (#245335)

Commit
8 hours ago
[lldb] Count split DWARF parsing in debugInfoParseTime (#245335) With split DWARF, LLDB times DIE parsing in a .dwo or .dwp file on that file's `SymbolFileDWARFDwo`, which `statistics dump` never reads, so `debugInfoParseTime` and `totalDebugInfoParseTime` left out nearly all DIE parsing. This change has `SymbolFileDWARFDwo` add its parse time to the main symbol file's timer. A skeleton unit now stops its timer before parsing its .dwo unit, which would otherwise count that time twice. Expect `debugInfoParseTime` and `totalDebugInfoParseTime` to jump for split DWARF binaries after this change. The parsing itself isn't new, only its reporting is. Like the rest of the parse time, it is summed over the threads that parse units in parallel, so it can exceed wall time.
Author
Parents
Loading