diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-21 06:34:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-21 06:34:18 +0000 |
commit | 17be6791b8b22b36850340a44a6f05de5c3cbf85 (patch) | |
tree | e93138f9dfc08cc733f7254d7f92c2635d87e627 /tools | |
parent | 9b5b182e5f897b559fde4a20290f017ddc43162c (diff) | |
download | external_llvm-17be6791b8b22b36850340a44a6f05de5c3cbf85.zip external_llvm-17be6791b8b22b36850340a44a6f05de5c3cbf85.tar.gz external_llvm-17be6791b8b22b36850340a44a6f05de5c3cbf85.tar.bz2 |
default to emiting an uncompressed .bc file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bugpoint/OptimizerDriver.cpp | 2 | ||||
-rw-r--r-- | tools/gccas/gccas.cpp | 2 | ||||
-rw-r--r-- | tools/gccld/GenerateCode.cpp | 2 | ||||
-rw-r--r-- | tools/llvm-as/llvm-as.cpp | 2 | ||||
-rw-r--r-- | tools/llvm-ld/llvm-ld.cpp | 2 | ||||
-rw-r--r-- | tools/llvm-link/llvm-link.cpp | 2 | ||||
-rw-r--r-- | tools/lto/lto.cpp | 4 | ||||
-rw-r--r-- | tools/opt/opt.cpp | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/tools/bugpoint/OptimizerDriver.cpp b/tools/bugpoint/OptimizerDriver.cpp index 8a19739..374de26 100644 --- a/tools/bugpoint/OptimizerDriver.cpp +++ b/tools/bugpoint/OptimizerDriver.cpp @@ -57,7 +57,7 @@ bool BugDriver::writeProgramToFile(const std::string &Filename, if (!Out.good()) return true; try { OStream L(Out); - WriteBytecodeToFile(M ? M : Program, L, /*compression=*/true); + WriteBytecodeToFile(M ? M : Program, L, /*compression=*/false); } catch (...) { return true; } diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 587a6a8..c102fc5 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -54,7 +54,7 @@ namespace { cl::desc("Strip debugger symbol info from translation unit")); cl::opt<bool> - NoCompress("disable-compression", cl::init(false), + NoCompress("disable-compression", cl::init(true), cl::desc("Don't compress the generated bytecode")); cl::opt<bool> TF("traditional-format", cl::Hidden, diff --git a/tools/gccld/GenerateCode.cpp b/tools/gccld/GenerateCode.cpp index 13bda75..db1caa8 100644 --- a/tools/gccld/GenerateCode.cpp +++ b/tools/gccld/GenerateCode.cpp @@ -42,7 +42,7 @@ namespace { cl::desc("Do not run any optimization passes")); cl::opt<bool> - NoCompress("disable-compression", cl::init(false), + NoCompress("disable-compression", cl::init(true), cl::desc("Don't compress the generated bytecode")); } diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp index dd29bc1..e3dbfb4 100644 --- a/tools/llvm-as/llvm-as.cpp +++ b/tools/llvm-as/llvm-as.cpp @@ -43,7 +43,7 @@ static cl::opt<bool> DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden); static cl::opt<bool> -NoCompress("disable-compression", cl::init(false), +NoCompress("disable-compression", cl::init(true), cl::desc("Don't compress the generated bytecode")); static cl::opt<bool> diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp index 2e59906..6ec0ce7 100644 --- a/tools/llvm-ld/llvm-ld.cpp +++ b/tools/llvm-ld/llvm-ld.cpp @@ -74,7 +74,7 @@ static cl::opt<bool> Native("native", static cl::opt<bool>NativeCBE("native-cbe", cl::desc("Generate a native binary with the C backend and GCC")); -static cl::opt<bool>DisableCompression("disable-compression",cl::init(false), +static cl::opt<bool>DisableCompression("disable-compression", cl::init(true), cl::desc("Disable writing of compressed bytecode files")); static cl::list<std::string> PostLinkOpts("post-link-opts", diff --git a/tools/llvm-link/llvm-link.cpp b/tools/llvm-link/llvm-link.cpp index be556d1..343b36c 100644 --- a/tools/llvm-link/llvm-link.cpp +++ b/tools/llvm-link/llvm-link.cpp @@ -43,7 +43,7 @@ Verbose("v", cl::desc("Print information about actions taken")); static cl::opt<bool> DumpAsm("d", cl::desc("Print assembly as linked"), cl::Hidden); -static cl::opt<bool> NoCompress("disable-compression", cl::init(false), +static cl::opt<bool> NoCompress("disable-compression", cl::init(true), cl::desc("Don't compress the generated bytecode")); // LoadFile - Read the specified bytecode file in and return it. This routine diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index 383da87..38f01a0 100644 --- a/tools/lto/lto.cpp +++ b/tools/lto/lto.cpp @@ -364,7 +364,7 @@ LTO::optimizeModules(const std::string &OutputFilename, tempFileName += "0.bc"; std::ofstream Out(tempFileName.c_str(), io_mode); OStream L(Out); - WriteBytecodeToFile(bigOne, L, true); + WriteBytecodeToFile(bigOne, L); } // Strip leading underscore because it was added to match names @@ -418,7 +418,7 @@ LTO::optimizeModules(const std::string &OutputFilename, tempFileName += "1.bc"; std::ofstream Out(tempFileName.c_str(), io_mode); OStream L(Out); - WriteBytecodeToFile(bigOne, L, true); + WriteBytecodeToFile(bigOne, L); } targetTriple = bigOne->getTargetTriple(); diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 7d5dd21..d5d6f77 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -41,7 +41,7 @@ using namespace llvm; static cl::list<const PassInfo*, bool, PassNameParser> PassList(cl::desc("Optimizations available:")); -static cl::opt<bool> NoCompress("disable-compression", cl::init(false), +static cl::opt<bool> NoCompress("disable-compression", cl::init(true), cl::desc("Don't compress the generated bytecode")); // Other command line options... |