================
@@ -1228,10 +1231,9 @@ bool SymbolFileDWARF::ParseLineTable(CompileUnit 
&comp_unit) {
   if (offset == DW_INVALID_OFFSET)
     return false;
 
-  ElapsedTime elapsed(m_parse_time);
----------------
clayborg wrote:

We want all of the time in LLDB to parse and prepare the data, not just the 
parsing time. We use this same variable via `ElapsedTime 
elapsed(m_dwarf.GetDebugInfoParseTimeRef());` in DWARFUnit.cpp to time how long 
it takes to parse and prepare the DIE tree for usage.

So the m_parse_time _is_ intended to be used to measure how long LLDB needs to 
parse the DWARF from the object file _and_ how long it takes to prepare the 
data so it can be used.

https://github.com/llvm/llvm-project/pull/86568
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to