[llvm] 51c705f - [JITLink] Include LinkGraph name in debugging output.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 9 08:09:28 PDT 2022
Author: Lang Hames
Date: 2022-07-09T08:09:23-07:00
New Revision: 51c705fbe5d8cc85868fc0f35e9b86d7ec301ee5
URL: https://github.com/llvm/llvm-project/commit/51c705fbe5d8cc85868fc0f35e9b86d7ec301ee5
DIFF: https://github.com/llvm/llvm-project/commit/51c705fbe5d8cc85868fc0f35e9b86d7ec301ee5.diff
LOG: [JITLink] Include LinkGraph name in debugging output.
Makes it easier to identify the graph being fixed up at a glance.
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp b/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
index b1492cd745083..389fd14c0f29a 100644
--- a/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
+++ b/llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
@@ -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);
More information about the llvm-commits
mailing list