From: Lang Hames Date: Tue, 5 Sep 2017 04:31:14 +0000 (+0000) Subject: [ORC] Exclude RemoteObjectLayer from the ExecutionEngine module, as modules X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8e261bca5c8ec715cd569ca97f3bbbf92d082fb;p=llvm [ORC] Exclude RemoteObjectLayer from the ExecutionEngine module, as modules builds seem to be having trouble with it. http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules-2/builds/11401 When trying to link lli-child-target, the linker reports missing symbols for the 'Name' members of 'rpc::Function' (base class for OrcRPCNegotiate) and 'rpc::Function' (base class for OrcRPCResponse), despite there being definitions for these immediately below the rpc::Function class template. This looks like the same bug that bit OrcRemoteTargetClient/Server in r286920. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312515 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index e95d0fcd565..ada05aa14cd 100644 --- a/include/llvm/module.modulemap +++ b/include/llvm/module.modulemap @@ -148,6 +148,7 @@ module LLVM_ExecutionEngine { exclude header "ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h" exclude header "ExecutionEngine/Orc/OrcRemoteTargetClient.h" exclude header "ExecutionEngine/Orc/OrcRemoteTargetServer.h" + exclude header "ExecutionEngine/Orc/RemoteObjectLayer.h" } module LLVM_Pass {