mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 10:13:13 +00:00
Turn on compression by default.
Change --compress to --no-compress so compression can be turned off. llvm-svn: 17564
This commit is contained in:
parent
a68b503c6e
commit
102bbfe16b
@ -40,8 +40,8 @@ Force("f", cl::desc("Overwrite output files"));
|
||||
static cl::opt<bool>
|
||||
DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden);
|
||||
|
||||
static cl::opt<bool> Compress("compress", cl::Optional,
|
||||
cl::desc("Compress the generated bytecode"));
|
||||
static cl::opt<bool> NoCompress("no-compress", cl::init(false),
|
||||
cl::desc("Don't ompress the generated bytecode"));
|
||||
|
||||
static cl::opt<bool>
|
||||
DisableVerify("disable-verify", cl::Hidden,
|
||||
@ -122,7 +122,7 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
WriteBytecodeToFile(M.get(), *Out, Compress);
|
||||
WriteBytecodeToFile(M.get(), *Out, !NoCompress);
|
||||
} catch (const ParseException &E) {
|
||||
std::cerr << argv[0] << ": " << E.getMessage() << "\n";
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user