diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index b6acea76dc3..31d7f156a70 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -756,7 +756,7 @@ static void saveBCFile(StringRef Path, Module &M) { raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); if (EC) message(LDPL_FATAL, "Failed to write the output file."); - WriteBitcodeToFile(&M, OS, /* ShouldPreserveUseListOrder */ true); + WriteBitcodeToFile(&M, OS, /* ShouldPreserveUseListOrder */ false); } static void codegen(std::unique_ptr M) {