[llvm] [ctxprof] don't inline weak symbols after instrumentation (PR #128811)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 07:19:18 PST 2025
================
@@ -550,6 +550,13 @@ class GlobalValue : public Constant {
return isDiscardableIfUnused(getLinkage());
}
+ // the symbol in this module may be replaced by a prevailing copy.
+ bool mayBeReplacedByPrevailingCopy() const {
----------------
mtrofin wrote:
Oh, yes.
https://github.com/llvm/llvm-project/pull/128811
More information about the llvm-commits
mailing list