llvm.org GIT mirror llvm / ae70fed
* Enable bytecode compression by default * Provide a -no-compress option to defeat compression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17565 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 14 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4040
4141 static cl::opt
4242 DumpAsm("d", cl::desc("Print assembly as linked"), cl::Hidden);
43
44 static cl::opt NoCompress("no-compress", cl::init(false),
45 cl::desc("Don't ompress the generated bytecode"));
4346
4447 // LoadFile - Read the specified bytecode file in and return it. This routine
4548 // searches the link path for the specified file to try to find it...
133136 }
134137
135138 if (Verbose) std::cerr << "Writing bytecode...\n";
136 WriteBytecodeToFile(Composite.get(), *Out);
139 WriteBytecodeToFile(Composite.get(), *Out, !NoCompress);
137140
138141 if (Out != &std::cout) delete Out;
139142 return 0;