[llvm-commits] CVS: llvm/tools/llvm-ld/Optimize.cpp

Reid Spencer reid at x10sys.com
Sun Aug 20 13:48:58 PDT 2006



Changes in directory llvm/tools/llvm-ld:

Optimize.cpp updated: 1.10 -> 1.11
---
Log message:

Rename the -verify option to be -verify-each so that it doesn't conflict
with the -verify pass option. It is also more accurate in that this option
causes a verify option to be run after every pass.


---
Diffs of the changes:  (+4 -4)

 Optimize.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/tools/llvm-ld/Optimize.cpp
diff -u llvm/tools/llvm-ld/Optimize.cpp:1.10 llvm/tools/llvm-ld/Optimize.cpp:1.11
--- llvm/tools/llvm-ld/Optimize.cpp:1.10	Sun Aug 20 14:18:36 2006
+++ llvm/tools/llvm-ld/Optimize.cpp	Sun Aug 20 15:48:44 2006
@@ -70,8 +70,8 @@
 static cl::opt<bool> DisableInternalize("disable-internalize",
   cl::desc("Do not mark all symbols as internal"));
 
-static cl::opt<bool> Verify("verify",
-  cl::desc("Verify intermediate results of all passes"));
+static cl::opt<bool> VerifyEach("verify-each",
+ cl::desc("Verify intermediate results of all passes"));
 
 static cl::opt<bool> Strip("s",
   cl::desc("Strip symbol info from executable"));
@@ -87,7 +87,7 @@
   PM.add(P);
 
   // If we are verifying all of the intermediate steps, add the verifier...
-  if (Verify)
+  if (VerifyEach)
     PM.add(createVerifierPass());
 }
 
@@ -102,7 +102,7 @@
   PassManager Passes;
 
   // If we're verifying, start off with a verification pass.
-  if (Verify)
+  if (VerifyEach)
     Passes.add(createVerifierPass());
 
   // Add an appropriate TargetData instance for this module...






More information about the llvm-commits mailing list