[all-commits] [llvm/llvm-project] a66ce5: [BOLT] Drop suffixes in parsePseudoProbe GUID assi...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Wed Sep 11 14:43:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a66ce58ac6f338c91cccb9801bca04efae9f3f37
https://github.com/llvm/llvm-project/commit/a66ce58ac6f338c91cccb9801bca04efae9f3f37
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths:
M bolt/include/bolt/Utils/Utils.h
M bolt/lib/Rewrite/PseudoProbeRewriter.cpp
M bolt/lib/Utils/Utils.cpp
Log Message:
-----------
[BOLT] Drop suffixes in parsePseudoProbe GUID assignment (#106243)
Pseudo probe function records contain GUIDs assigned by the compiler
using an IR function name. Thus suffixes added later (e.g. `.llvm.`
for internal symbols, `.destroy`/`.resume` for coroutine fragments,
and `.cold`/`.warm` for split fragments) cause GUID mismatch.
Address that by dropping those suffixes using `getCommonName` which is
a parametrized form of `getLTOCommonName`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list