mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 02:45:25 +03:00
Amend -verify-each description to PassManagerBuilder changes.
We can't verify after each pass anymore with PassManagerBuilder, but -verify-each is a hidden flag mainly useful for debugging our own passes anyway.
This commit is contained in:
parent
dbe5e97d85
commit
f95371aeb5
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ noVerify("disable-verify",
|
|||
|
||||
static cl::opt<bool>
|
||||
verifyEach("verify-each",
|
||||
cl::desc("Run verifier after each optimization pass"),
|
||||
cl::desc("Run verifier after D-specific and explicitly specified optimization passes"),
|
||||
cl::Hidden,
|
||||
cl::ZeroOrMore);
|
||||
|
||||
|
@ -236,7 +236,7 @@ bool ldc_optimize_module(llvm::Module* m)
|
|||
// If the -strip-debug command line option was specified, add it before
|
||||
// anything else.
|
||||
if (stripDebug)
|
||||
addPass(mpm, createStripSymbolsPass(true));
|
||||
mpm.add(createStripSymbolsPass(true));
|
||||
|
||||
bool defaultsAdded = false;
|
||||
// Create a new optimization pass for each one specified on the command line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue