summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-21 06:34:18 +0000
committerChris Lattner <sabre@nondot.org>2007-01-21 06:34:18 +0000
commit19bb6b996bfc5271522bab2b3cd362bbd18b7d46 (patch)
tree175c4610301b75ac4ebc776d16775e607e5ead4a /llvm/tools
parentd7c8b3c105244135e40d075459d573c26516c359 (diff)
downloadbcm5719-llvm-19bb6b996bfc5271522bab2b3cd362bbd18b7d46.tar.gz
bcm5719-llvm-19bb6b996bfc5271522bab2b3cd362bbd18b7d46.zip
default to emiting an uncompressed .bc file
llvm-svn: 33420
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/bugpoint/OptimizerDriver.cpp2
-rw-r--r--llvm/tools/gccas/gccas.cpp2
-rw-r--r--llvm/tools/gccld/GenerateCode.cpp2
-rw-r--r--llvm/tools/llvm-as/llvm-as.cpp2
-rw-r--r--llvm/tools/llvm-ld/llvm-ld.cpp2
-rw-r--r--llvm/tools/llvm-link/llvm-link.cpp2
-rw-r--r--llvm/tools/lto/lto.cpp4
-rw-r--r--llvm/tools/opt/opt.cpp2
8 files changed, 9 insertions, 9 deletions
diff --git a/llvm/tools/bugpoint/OptimizerDriver.cpp b/llvm/tools/bugpoint/OptimizerDriver.cpp
index 8a19739e285..374de269114 100644
--- a/llvm/tools/bugpoint/OptimizerDriver.cpp
+++ b/llvm/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/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp
index 587a6a850d8..c102fc581fa 100644
--- a/llvm/tools/gccas/gccas.cpp
+++ b/llvm/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/llvm/tools/gccld/GenerateCode.cpp b/llvm/tools/gccld/GenerateCode.cpp
index 13bda75b423..db1caa82709 100644
--- a/llvm/tools/gccld/GenerateCode.cpp
+++ b/llvm/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/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index dd29bc19e83..e3dbfb46be9 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/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/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp
index 2e599064a52..6ec0ce7591b 100644
--- a/llvm/tools/llvm-ld/llvm-ld.cpp
+++ b/llvm/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/llvm/tools/llvm-link/llvm-link.cpp b/llvm/tools/llvm-link/llvm-link.cpp
index be556d1ed25..343b36cefcd 100644
--- a/llvm/tools/llvm-link/llvm-link.cpp
+++ b/llvm/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/llvm/tools/lto/lto.cpp b/llvm/tools/lto/lto.cpp
index 383da87a62d..38f01a004a6 100644
--- a/llvm/tools/lto/lto.cpp
+++ b/llvm/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/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 7d5dd2113df..d5d6f779dbc 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/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...
OpenPOWER on IntegriCloud