mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-02 16:54:58 +00:00
Add a --disable-compression option to gccas so the default compression of
bytecode can be defeated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad768d7a1a
commit
cc0bd565bb
@ -49,6 +49,9 @@ namespace {
|
|||||||
|
|
||||||
cl::opt<bool>
|
cl::opt<bool>
|
||||||
DisableDSE("disable-dse", cl::desc("Do not run dead store elimination"));
|
DisableDSE("disable-dse", cl::desc("Do not run dead store elimination"));
|
||||||
|
cl::opt<bool>
|
||||||
|
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());
|
Passes.add(createVerifierPass());
|
||||||
|
|
||||||
// Write bytecode to file...
|
// 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.
|
// Run our queue of passes all at once now, efficiently.
|
||||||
Passes.run(*M.get());
|
Passes.run(*M.get());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user