aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LibDriver/LibDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/LibDriver/LibDriver.cpp')
-rw-r--r--llvm/lib/LibDriver/LibDriver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/LibDriver/LibDriver.cpp b/llvm/lib/LibDriver/LibDriver.cpp
index 4a9fa28..b33a22f 100644
--- a/llvm/lib/LibDriver/LibDriver.cpp
+++ b/llvm/lib/LibDriver/LibDriver.cpp
@@ -141,7 +141,8 @@ int llvm::libDriverMain(llvm::ArrayRef<const char*> ArgsArr) {
std::pair<StringRef, std::error_code> Result =
llvm::writeArchive(getOutputPath(&Args, Members[0]), Members,
- /*WriteSymtab=*/true, object::Archive::K_GNU);
+ /*WriteSymtab=*/true, object::Archive::K_GNU,
+ /*Deterministic*/ true);
if (Result.second) {
if (Result.first.empty())