llvm-project
d2457e6d - Remove redundant symbol lookups in IRExecutionUnit::FindInSymbols (#102835)

Commit
1 year ago
Remove redundant symbol lookups in IRExecutionUnit::FindInSymbols (#102835) When we search for a symbol, we first check if it is in the module_sp of the current SymbolContext, and if not, we check in the target's modules. However, the target's ModuleList also includes the already checked module, which leads to a redundant search in it.
Author
Parents
Loading