mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Include ImmutablePass passes in -debug-pass=Arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118790 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
efb8a9d0c2
commit
67a84f1ee6
@ -675,6 +675,12 @@ void PMTopLevelManager::dumpArguments() const {
|
||||
return;
|
||||
|
||||
dbgs() << "Pass Arguments: ";
|
||||
for (SmallVector<ImmutablePass *, 8>::const_iterator I =
|
||||
ImmutablePasses.begin(), E = ImmutablePasses.end(); I != E; ++I)
|
||||
if (const PassInfo *PI =
|
||||
PassRegistry::getPassRegistry()->getPassInfo((*I)->getPassID()))
|
||||
if (!PI->isAnalysisGroup())
|
||||
dbgs() << " -" << PI->getPassArgument();
|
||||
for (SmallVector<PMDataManager *, 8>::const_iterator I = PassManagers.begin(),
|
||||
E = PassManagers.end(); I != E; ++I)
|
||||
(*I)->dumpPassArguments();
|
||||
|
Loading…
x
Reference in New Issue
Block a user