[llvm-commits] CVS: llvm/tools/analyze/analyze.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon May 12 17:13:01 PDT 2003
Changes in directory llvm/tools/analyze:
analyze.cpp updated: 1.52 -> 1.53
---
Log message:
Add a disable-verify option
---
Diffs of the changes:
Index: llvm/tools/analyze/analyze.cpp
diff -u llvm/tools/analyze/analyze.cpp:1.52 llvm/tools/analyze/analyze.cpp:1.53
--- llvm/tools/analyze/analyze.cpp:1.52 Mon May 12 17:08:58 2003
+++ llvm/tools/analyze/analyze.cpp Mon May 12 17:12:44 2003
@@ -94,6 +94,9 @@
cl::alias QuietA("quiet", cl::desc("Alias for -q"),
cl::aliasopt(Quiet));
+ cl::opt<bool> NoVerify("disable-verify", cl::Hidden,
+ cl::desc("Do not verify input module"));
+
// The AnalysesList is automatically populated with registered Passes by the
// PassNameParser.
//
@@ -130,7 +133,8 @@
Passes.add(new TargetData("analyze", CurMod));
// Make sure the input LLVM is well formed.
- Passes.add(createVerifierPass());
+ if (!NoVerify)
+ Passes.add(createVerifierPass());
// Create a new optimization pass for each one specified on the command line
for (unsigned i = 0; i < AnalysesList.size(); ++i) {
More information about the llvm-commits
mailing list