Skip to content

Commit cdc1fd4

Browse files
committed
[LLVM][MSWIN][CI] Fix LLVM module build with latest CI update
1 parent 1808a94 commit cdc1fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/target/llvm/llvm_module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ void LLVMModuleNode::InitORCJIT() {
517517
#if _WIN32
518518
auto GetMemMgr = []() { return std::make_unique<llvm::SectionMemoryManager>(); };
519519
auto ObjLinkingLayer =
520-
std::make_unique<llvm::orc::RTDyldObjectLinkingLayer>(session, std::move(GetMemMgr));
520+
std::make_unique<llvm::orc::RTDyldObjectLinkingLayer>(session, GetMemMgr);
521521
#else
522522
auto ObjLinkingLayer = std::make_unique<llvm::orc::ObjectLinkingLayer>(session);
523523
#endif

0 commit comments

Comments
 (0)