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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 28 15:43:01 PDT 2024


Michael137 wrote:

> yes. If we can do it, find something in the local compile unit first, if there are two symbols in the CU, then the public one, else the private.

I guess here lies my hangup. What is the distinction between local and private `lldb_private::Symbol`s here?  And why prefer the global over the private (if we're stopped in a context where the private symbol is visible according to language rules)?

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


More information about the lldb-commits mailing list