OSDN Git Service

[llvm/Orc] Fix ExecutionEngine module build breakage
authorMed Ismail Bennani <medismail.bennani@gmail.com>
Tue, 19 Jan 2021 13:31:25 +0000 (14:31 +0100)
committerMed Ismail Bennani <medismail.bennani@gmail.com>
Tue, 19 Jan 2021 13:39:06 +0000 (14:39 +0100)
This patch updates the llvm module map to reflect changes made in
`24672ddea3c97fd1eca3e905b23c0116d7759ab8` and fixes the module builds
(`-DLLVM_ENABLE_MODULES=On`).

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
llvm/include/llvm/module.modulemap

index 51a4a3d..a199f7f 100644 (file)
@@ -190,7 +190,7 @@ module LLVM_ExecutionEngine {
   exclude header "ExecutionEngine/Orc/RemoteObjectLayer.h"
 
   // Exclude headers from LLVM_OrcSupport.
-  exclude header "ExecutionEngine/Orc/OrcError.h"
+  exclude header "ExecutionEngine/Orc/Shared/OrcError.h"
   exclude header "ExecutionEngine/Orc/RPC/RPCUtils.h"
   exclude header "ExecutionEngine/Orc/RPC/RPCSerialization.h"
   exclude header "ExecutionEngine/Orc/RPC/RawByteChannel.h"
@@ -210,7 +210,7 @@ module LLVM_FileCheck {
 module LLVM_OrcSupport {
   requires cplusplus
 
-  header "ExecutionEngine/Orc/OrcError.h"
+  header "ExecutionEngine/Orc/Shared/OrcError.h"
   header "ExecutionEngine/Orc/Shared/RPCUtils.h"
   header "ExecutionEngine/Orc/Shared/Serialization.h"
   header "ExecutionEngine/Orc/Shared/RawByteChannel.h"