================ @@ -328,6 +329,21 @@ class SymbolFile : public PluginInterface { GetMangledNamesForFunction(const std::string &scope_qualified_name, std::vector<ConstString> &mangled_names); + /// Resolves the function corresponding to the specified LLDB function + /// call \c label. + /// + /// \param[in,out] sc_list The resolved functions will be appended to this + /// list. + /// + /// \param[in] label The FunctionCallLabel to be resolved. + /// + /// \returns An llvm::Error if the specified \c label couldn't be resolved. + /// Returns \c llvm::ErrorSuccess otherwise. + virtual llvm::Error ResolveFunctionCallLabel(SymbolContextList &sc_list, + const FunctionCallLabel &label) { ---------------- Michael137 wrote:
Made the return type `llvm::Expected<SymbolContext>` as you suggested 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