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

Oliver Hunt via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 11 13:44:24 PDT 2025


ojhunt wrote:

> @pcc and I have been discussing this.
> 
> * The perf issues I was concerned about were predicated on access to a pointer loaded from a field continuing to be checked after the original field load, this is not the case (and in hindsight doing so would imply passing the pointer as a parameter to a function would maintain the tag and require the target knowing about it).

For people following along, despite multiple different places saying the symbol resolution is static, I'm a muppet and thought this was a dynamic link check, hence had all sorts of problems.

However it's a static link time check, so I'm a muppet and many of my concerns are irrelevant.

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


More information about the llvm-branch-commits mailing list