llvm-project
a66ce58a - [BOLT] Drop suffixes in parsePseudoProbe GUID assignment (#106243)

Commit
362 days ago
[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`.
Author
Parents
Loading