1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[CGSCC] Print CG node itself instead of its address

Fix the debug output from cgscc
This commit is contained in:
Bardia Mahjour 2021-03-17 12:36:55 -04:00
parent 1deec5ad2e
commit 487229f50e

View File

@ -1043,9 +1043,9 @@ static LazyCallGraph::SCC &updateCGAndAnalysisManagerForPass(
if (&TargetRC == RC)
return false;
RC->removeOutgoingEdge(N, *TargetN);
LLVM_DEBUG(dbgs() << "Deleting outgoing edge from '" << N << "' to '"
<< TargetN << "'\n");
<< *TargetN << "'\n");
RC->removeOutgoingEdge(N, *TargetN);
return true;
});