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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 19 07:09:12 PDT 2024


https://github.com/Michael137 commented:

Haven't thoroughly reviewed the latest callback-based approach but wonder if it is just more straightforward to keep the original plan of adding a`search_hint` to the `FindFunctions` APIs, and add a flag to `ModuleFunctionSearchOptions` that indicates whether we're looking for a single function or multiple. And if we're looking for a single function, short-circuit if we find one.

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


More information about the lldb-commits mailing list