From deb3640d951054569351b976a2113ff58b07fd99 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 1 Oct 2018 04:59:10 +0000 Subject: [ORC] Pass Symbols to ExecutionSession::lookup by value, potentially saving a copy. llvm-svn: 343442 --- llvm/include/llvm/ExecutionEngine/Orc/Core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/include/llvm/ExecutionEngine') diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Core.h b/llvm/include/llvm/ExecutionEngine/Orc/Core.h index 50c73ab0f4c..24742b10920 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Core.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Core.h @@ -740,7 +740,7 @@ public: /// dependenant symbols for this query (e.g. it is being made by a top level /// client to get an address to call) then the value NoDependenciesToRegister /// can be used. - void lookup(const JITDylibList &JDs, const SymbolNameSet &Symbols, + void lookup(const JITDylibList &JDs, SymbolNameSet Symbols, SymbolsResolvedCallback OnResolve, SymbolsReadyCallback OnReady, RegisterDependenciesFunction RegisterDependencies); -- cgit v1.2.3