summaryrefslogtreecommitdiff
path: root/tools/llvm-link
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-11-03 15:10:50 +0000
committerTeresa Johnson <tejohnson@google.com>2015-11-03 15:10:50 +0000
commitfb792d346f2eb65d2e0b3065b0f2e6310aa47223 (patch)
tree410fa17522b6cddf1763e6358b00aa37f11e2d54 /tools/llvm-link
parent32a2349a7938640ea897ff10a1501fb428f7ed4f (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-link')
-rw-r--r--tools/llvm-link/llvm-link.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-link/llvm-link.cpp b/tools/llvm-link/llvm-link.cpp
index 718d57a343f..8d0ce0a040f 100644
--- a/tools/llvm-link/llvm-link.cpp
+++ b/tools/llvm-link/llvm-link.cpp
@@ -215,7 +215,7 @@ static bool importFunctions(const char *argv0, LLVMContext &Context,
}
// Link in the specified function.
- if (L.linkInModule(M.get(), false, Index.get(), F))
+ if (L.linkInModule(M.get(), Linker::Flags::None, Index.get(), F))
return false;
}
return true;