Skip to content

Commit 04e5877

Browse files
committed
Pass enum instead of bool to new linkInModule call in llvm-link
A new call I added to linkInModule from llvm-link in r251866 was still passing in a boolean for an argument that was changed to an enum in r246561. I didn't catch this in my merge since the bool false matched the flag value it mapped to. llvm-svn: 251925
1 parent 127f669 commit 04e5877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-link/llvm-link.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static bool importFunctions(const char *argv0, LLVMContext &Context,
215215
}
216216

217217
// Link in the specified function.
218-
if (L.linkInModule(M.get(), false, Index.get(), F))
218+
if (L.linkInModule(M.get(), Linker::Flags::None, Index.get(), F))
219219
return false;
220220
}
221221
return true;

0 commit comments

Comments
 (0)