[clang] [llvm] [MemProf] Expand optimization scope to internal linakge function (PR #73236)
Snehasish Kumar via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 27 15:09:48 PST 2023
snehasish wrote:
@lifengxiang1025 thanks for flagging this issue. I think it's best to not rely on unique-internal-linkage-name here. Instead we should extend the logic in RawMemProfReader.cpp to include "<filename>;" if the function is internal linkage as expected by IRPGOFuncName. Can you try this approach?
https://github.com/llvm/llvm-project/blob/c0fe0719df457b0992606b0f2a235719a5bbfd54/llvm/lib/ProfileData/RawMemProfReader.cpp#L509-L510
https://github.com/llvm/llvm-project/pull/73236
More information about the cfe-commits
mailing list