[llvm-branch-commits] [clang] [Clang] Add pointer field protection feature. (PR #172119)

Florian Mayer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 13 08:30:16 PST 2026


================
@@ -5348,6 +5349,16 @@ static Address emitAddrOfFieldStorage(CodeGenFunction &CGF, Address base,
   return CGF.Builder.CreateStructGEP(base, idx, field->getName());
 }
 
+static Address emitAddrOfFieldStorage(CodeGenFunction &CGF, Address base,
----------------
fmayer wrote:

nit: add the original comment with a note about PFP here?

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


More information about the llvm-branch-commits mailing list