llvm-project
d636877b - [lldb][NFC] Don't copy the name index map in Symtab::FindFunctionSymbols (#248745)

Commit
2 days ago
[lldb][NFC] Don't copy the name index map in Symtab::FindFunctionSymbols (#248745) GetNameToSymbolIndexMap() returns a reference, but `auto map = ...` copied the whole UniqueCStringMap for each base name, method name or selector lookup, which can be millions of entries for a large binary, to read a few matches. assisted-by: claude
Author
Parents
Loading