[PATCH] D98226: [CSSPGO][llvm-profgen] Fix getCanonicalFnName usage in llvm-profgen
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 9 11:00:06 PST 2021
hoy added inline comments.
================
Comment at: llvm/tools/llvm-profgen/PseudoProbe.cpp:165
uint32_t NameSize = readUnsignedNumber<uint32_t>();
- StringRef Name = readString(NameSize);
+ StringRef Name = FunctionSamples::getCanonicalFnName(readString(NameSize));
----------------
Give it "selected" to avoid dropping .__unique suffix?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98226/new/
https://reviews.llvm.org/D98226
More information about the llvm-commits
mailing list