[llvm] [clang] [MemProf] Expand optimization scope to internal linakge function (PR #73236)

Snehasish Kumar via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 10:48:52 PST 2023


snehasish wrote:

> change the matcher (the latter may be the easiest).

My response assumed that it was already using the IRPGOFuncName for matching. Yes, I think we should make the switch then.

> It seems dwarf don't record linkage type.

Yes, you're right. As an alternative can we use the symbol table and find `Bind = LOCAL` to add the prefix before hashing?

https://github.com/llvm/llvm-project/pull/73236


More information about the cfe-commits mailing list