[Lldb-commits] [lldb] Remove redundant symbol lookups in IRExecutionUnit::FindInSymbols (PR #102835)

Dmitrii Galimzianov via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 12 11:54:59 PDT 2024


DmT021 wrote:

> Out of curiosity, could you provide some context around where/how this came up?

I just noticed this by accident in the `dwarf all` log when I was trying to figure out why LLDB was evaluating expressions slowly in my project.
Here's a swift forum thread with some logs. 
https://forums.swift.org/t/symbolfiledwarf-findtypes-is-called-too-many-times-apparently/72902
Notice for example how `swift_release` is searched twice in `F1.o`

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


More information about the lldb-commits mailing list