forked from OSchip/llvm-project
PM: Print the IR unit's name in debug output. NFC
llvm-svn: 251723
This commit is contained in:
parent
d612918367
commit
2275b4e618
|
@ -203,7 +203,8 @@ public:
|
|||
|
||||
for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) {
|
||||
if (DebugLogging)
|
||||
dbgs() << "Running pass: " << Passes[Idx]->name() << "\n";
|
||||
dbgs() << "Running pass: " << Passes[Idx]->name() << " on "
|
||||
<< IR.getName() << "\n";
|
||||
|
||||
PreservedAnalyses PassPA = Passes[Idx]->run(IR, AM);
|
||||
|
||||
|
|
Loading…
Reference in New Issue