Bug 197928

Summary: Make --auto-run-dsymutil=yes lazy
Product: [Developer tools] valgrind Reporter: Jesse Ruderman <jruderman>
Component: generalAssignee: Julian Seward <jseward>
Status: ASSIGNED ---    
Severity: wishlist CC: njn, timurrrr
Priority: NOR    
Version: 3.5 SVN   
Target Milestone: wanted3.6.0   
Platform: Compiled Sources   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jesse Ruderman 2009-06-26 08:01:14 UTC
Would it be sensible to make --auto-run-dsymutil=yes only take the time to read symbols if a tool needs the symbols, e.g. to output an error?  That way, if there are no errors in a given library, the app would start up a little faster.
Comment 1 Nicholas Nethercote 2009-06-26 08:53:24 UTC
It would also make missing entries in the is_systemish_library check less likely to cause problems.
Comment 2 Nicholas Nethercote 2009-07-15 00:16:04 UTC
While we're at it, we could make all debug info reading lazy.  Instead of reading all debug symbols (and possibly runnying dsymutil, on Darwin) when code is loaded, attach a flag to the code indicating if its debug info has been loaded, and check that before doing any debug info lookups.  This might make a significant speed difference on really large programs.