forked from OSchip/llvm-project
[JITLink] Include LinkGraph name in debugging output.
Makes it easier to identify the graph being fixed up at a glance.
This commit is contained in:
parent
ef0fa9f0ef
commit
51c705fbe5
|
@ -33,7 +33,7 @@ Error EHFrameEdgeFixer::operator()(LinkGraph &G) {
|
|||
if (!EHFrame) {
|
||||
LLVM_DEBUG({
|
||||
dbgs() << "EHFrameEdgeFixer: No " << EHFrameSectionName
|
||||
<< " section. Nothing to do\n";
|
||||
<< " section in \"" << G.getName() << "\". Nothing to do.\n";
|
||||
});
|
||||
return Error::success();
|
||||
}
|
||||
|
@ -44,7 +44,8 @@ Error EHFrameEdgeFixer::operator()(LinkGraph &G) {
|
|||
"EHFrameEdgeFixer only supports 32 and 64 bit targets");
|
||||
|
||||
LLVM_DEBUG({
|
||||
dbgs() << "EHFrameEdgeFixer: Processing " << EHFrameSectionName << "...\n";
|
||||
dbgs() << "EHFrameEdgeFixer: Processing " << EHFrameSectionName << " in \""
|
||||
<< G.getName() << "\"...\n";
|
||||
});
|
||||
|
||||
ParseContext PC(G);
|
||||
|
|
Loading…
Reference in New Issue