diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index fe9c9d4110a..3fa0cfa7dd4 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -49,6 +49,9 @@ namespace { cl::opt DisableDSE("disable-dse", cl::desc("Do not run dead store elimination")); + cl::opt + NoCompress("disable-compression", cl::init(false), + cl::desc("Don't ompress the generated bytecode")); } @@ -182,7 +185,7 @@ int main(int argc, char **argv) { Passes.add(createVerifierPass()); // Write bytecode to file... - Passes.add(new WriteBytecodePass(Out)); + Passes.add(new WriteBytecodePass(Out,false,!NoCompress)); // Run our queue of passes all at once now, efficiently. Passes.run(*M.get());