[PATCH] D146657: [Pseudo Probe] Use the name from debug info to compute GUID in probe desc
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 22 14:55:11 PDT 2023
hoy added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/SampleProfileProbe.cpp:380
auto Hash = getFunctionHash();
auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, &F);
auto *NMD = M->getNamedMetadata(PseudoProbeDescMetadataName);
----------------
The dwarf name should also be used inside this function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146657/new/
https://reviews.llvm.org/D146657
More information about the llvm-commits
mailing list