mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-20 20:38:48 +00:00
Add new -no-verify option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5542 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d70b68ebd0
commit
f3bafc1043
@ -50,6 +50,9 @@ PrintEachXForm("p", cl::desc("Print module after each transformation"));
|
|||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
NoOutput("no-output", cl::desc("Do not write result bytecode file"), cl::Hidden);
|
NoOutput("no-output", cl::desc("Do not write result bytecode file"), cl::Hidden);
|
||||||
|
|
||||||
|
static cl::opt<bool>
|
||||||
|
NoVerify("no-verify", cl::desc("Do not verify result module"), cl::Hidden);
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
Quiet("q", cl::desc("Don't print 'program modified' message"));
|
Quiet("q", cl::desc("Don't print 'program modified' message"));
|
||||||
|
|
||||||
@ -128,6 +131,7 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check that the module is well formed on completion of optimization
|
// Check that the module is well formed on completion of optimization
|
||||||
|
if (!NoVerify)
|
||||||
Passes.add(createVerifierPass());
|
Passes.add(createVerifierPass());
|
||||||
|
|
||||||
// Write bytecode out to disk or cout as the last step...
|
// Write bytecode out to disk or cout as the last step...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user