[PATCH] D121737: [PseudoProbe] Do not emit pseudo probes when module is not probed.
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 22:03:25 PDT 2022
wenlei added inline comments.
================
Comment at: llvm/lib/Linker/IRMover.cpp:1238-1242
+ emitWarning("Destination module missing pseudo-probe instrumentation: "
+ "source moudle is '" +
+ SrcM->getModuleIdentifier() +
+ "' whereas destination module is '" +
+ DstM.getModuleIdentifier() + "'\n");
----------------
Suggest rephrase the warning message with something like: `Pseudo-probe ignored: source module (<module name>) is compiled with -fpseudo-probe-for-profiling while destination module (<module name>) is not.`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121737/new/
https://reviews.llvm.org/D121737
More information about the llvm-commits
mailing list