From 9a09dfde5fcfa3066d269ae321d5b2f7b4921d01 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Wed, 15 Apr 2015 00:13:51 +0000 Subject: [PATCH] Fix build error from r234957 llvm-svn: 234958 --- tools/gold/gold-plugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 31a9b950ce9..724e93cb8c7 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -734,8 +734,7 @@ static void runLTOPasses(Module &M, TargetMachine &TM) { passes.run(M); } -static void saveBCFile(StringRef Path, Module &M, - bool ShouldPreserveUseListOrder) { +static void saveBCFile(StringRef Path, Module &M) { std::error_code EC; raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); if (EC)