[Lldb-commits] [lldb] [lldb] Delay creation of ConstStrings when parsing MachO symtab (PR #155931)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 2 10:32:30 PDT 2025


bulbazord wrote:

> This change looks good to me. I might not have read it sufficiently closely, but the duplicate symbols we're looking at here are only when there are debug map entries for .o file debugging, maybe?

Possibly? I'm definitely doing .o debugging, didn't try with dSYMs at all. Either way, this does cut down on the cost of `ConstString` creation in my test case by 12-25% on average.

Will update the logic on 2800 as well.

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


More information about the lldb-commits mailing list