[CSSPGO] Do not use getCanonicalFnName in pseudo probe descriptor decoding
authorHongtao Yu <hoy@fb.com>
Tue, 10 Aug 2021 15:59:01 +0000 (08:59 -0700)
committerHongtao Yu <hoy@fb.com>
Wed, 11 Aug 2021 01:24:39 +0000 (18:24 -0700)
commit78523516bc2a05a6467a7bcfd2ab04bb343d4797
treed3cec4c4ddca746fe1cd7603722416ecf7d88cf9
parentc84c5d0520159bde529a39cfa593c5948bec3747
[CSSPGO] Do not use getCanonicalFnName in pseudo probe descriptor decoding

Pseudo probe descriptors are created very early in the pipeline where function names just come from the front end and are not yet decorated. So calling getCanonicalFnName on the function names in probe desc is basically a no-op, which also addes a depenency from MC to ProfileData unnessesarily.

Reviewed By: wenlei, wlei

Differential Revision: https://reviews.llvm.org/D107838
llvm/lib/MC/CMakeLists.txt
llvm/lib/MC/MCPseudoProbe.cpp