[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #172119)
Oliver Hunt via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 13 12:46:46 PST 2026
================
@@ -2359,6 +2359,7 @@ void CodeGenFunction::EmitAggregateCopy(LValue Dest, LValue Src, QualType Ty,
auto *Inst = Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, isVolatile);
addInstToCurrentSourceAtom(Inst, nullptr);
+ emitPFPTrivialRelocation(DestPtr, SrcPtr, Ty);
----------------
ojhunt wrote:
can be removed
https://github.com/llvm/llvm-project/pull/172119
More information about the llvm-branch-commits
mailing list