[PATCH] D107838: [CSSPGO] Do not use getCanonicalFnName in pseudo probe descriptor decoding
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 10 18:27:16 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG78523516bc2a: [CSSPGO] Do not use getCanonicalFnName in pseudo probe descriptor decoding (authored by hoy).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107838/new/
https://reviews.llvm.org/D107838
Files:
llvm/lib/MC/CMakeLists.txt
llvm/lib/MC/MCPseudoProbe.cpp
Index: llvm/lib/MC/MCPseudoProbe.cpp
===================================================================
--- llvm/lib/MC/MCPseudoProbe.cpp
+++ llvm/lib/MC/MCPseudoProbe.cpp
@@ -356,8 +356,7 @@
uint64_t GUID = std::move(*ErrorOrGUID);
uint64_t Hash = std::move(*ErrorOrHash);
- StringRef Name =
- FunctionSamples::getCanonicalFnName(std::move(*ErrorOrName));
+ StringRef Name = std::move(*ErrorOrName);
// Initialize PseudoProbeFuncDesc and populate it into GUID2FuncDescMap
GUID2FuncDescMap.emplace(GUID, MCPseudoProbeFuncDesc(GUID, Hash, Name));
Index: llvm/lib/MC/CMakeLists.txt
===================================================================
--- llvm/lib/MC/CMakeLists.txt
+++ llvm/lib/MC/CMakeLists.txt
@@ -70,7 +70,6 @@
Support
BinaryFormat
DebugInfoCodeView
- ProfileData
)
add_subdirectory(MCParser)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107838.365639.patch
Type: text/x-patch
Size: 864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210811/fe5ae5c5/attachment.bin>
More information about the llvm-commits
mailing list