diff options
author | Amir Ayupov <aaupov@fb.com> | 2024-09-11 14:42:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 14:42:51 -0700 |
commit | a66ce58ac6f338c91cccb9801bca04efae9f3f37 (patch) | |
tree | c57061b0d19db930724851edc84e19b37d5d2c33 /clang/lib/Basic/FileManager.cpp | |
parent | 4618b67b48447ed924bc195cfe735a73841e312c (diff) | |
download | llvm-a66ce58ac6f338c91cccb9801bca04efae9f3f37.zip llvm-a66ce58ac6f338c91cccb9801bca04efae9f3f37.tar.gz llvm-a66ce58ac6f338c91cccb9801bca04efae9f3f37.tar.bz2 |
[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`.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions