[llvm] [llvm-dwarfdump] Make --verify for .debug_names multithreaded. (PR #127281)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 08:21:07 PST 2025


ayermolo wrote:

Unfortunately adding lock_guard to DWARFVerifier::getNames kills all the performance. :(
it invokes DIE.getShortName() which does recursive traversal of DIEs. This can include references to other CUs, thinlto case, or type units.  Which triggers extracting all the DIEs for that TU/CU.
Will need to think how to refactor this.

https://github.com/llvm/llvm-project/pull/127281


More information about the llvm-commits mailing list