diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-20 20:48:44 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-20 20:48:44 +0000 |
| commit | f2c6a5da97514377b917acdcb322c3dd95f613f3 (patch) | |
| tree | a015db9a6998ca8f5b5bfa68eb61977ff7b01cfc /llvm/tools/llvm-ld/Optimize.cpp | |
| parent | 7ed9bb4b47f8ca983421f62957e1fd065935066f (diff) | |
| download | bcm5719-llvm-f2c6a5da97514377b917acdcb322c3dd95f613f3.tar.gz bcm5719-llvm-f2c6a5da97514377b917acdcb322c3dd95f613f3.zip | |
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.
llvm-svn: 29782
Diffstat (limited to 'llvm/tools/llvm-ld/Optimize.cpp')
| -rw-r--r-- | llvm/tools/llvm-ld/Optimize.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-ld/Optimize.cpp b/llvm/tools/llvm-ld/Optimize.cpp index 1e391d63b84..e6387feabab 100644 --- a/llvm/tools/llvm-ld/Optimize.cpp +++ b/llvm/tools/llvm-ld/Optimize.cpp @@ -70,8 +70,8 @@ DisableOptimizations("disable-opt", 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 @@ static inline void addPass(PassManager &PM, Pass *P) { 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 @@ void Optimize(Module* M) { 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... |

