================ @@ -2471,6 +2471,47 @@ bool SymbolFileDWARF::ResolveFunction(const DWARFDIE &orig_die, return false; } +llvm::Error +SymbolFileDWARF::FindAndResolveFunction(SymbolContextList &sc_list, + llvm::StringRef lookup_name) { + std::lock_guard<std::recursive_mutex> guard(GetModuleMutex()); + + DWARFDIE die; + Module::LookupInfo info(ConstString(lookup_name), lldb::eFunctionNameTypeFull, ---------------- Michael137 wrote:
Thanks for clarifying! Yes, that's about what I imagined it would look like > I just realized that "anywhere" also means "in a different module", which > means that there should be some sort of a fallback to searching in other > modules Great point. I think we can re-use the existing `IRExecutionUnit` to do a fallback search through the other modules. https://github.com/llvm/llvm-project/pull/148877 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits