[PATCH] D145541: [LTO] Add debug logging for module ID <-> path mapping
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 20:52:46 PST 2023
int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added subscribers: ormris, steven_wu, hiraditya, inglorion.
Herald added a project: All.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
It's helpful
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145541
Files:
llvm/lib/LTO/LTO.cpp
Index: llvm/lib/LTO/LTO.cpp
===================================================================
--- llvm/lib/LTO/LTO.cpp
+++ llvm/lib/LTO/LTO.cpp
@@ -933,6 +933,11 @@
}))
return Err;
+ LLVM_DEBUG(
+ dbgs() << "Module "
+ << ThinLTO.CombinedIndex.getModuleId(BM.getModuleIdentifier())
+ << ": " << BM.getModuleIdentifier() << "\n");
+
for (const InputFile::Symbol &Sym : Syms) {
assert(ResI != ResE);
SymbolResolution Res = *ResI++;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145541.503220.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/68b33d5a/attachment.bin>
More information about the llvm-commits
mailing list