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)