[libcxx-commits] [libcxx] [libc++][string] Replace ASAN volatile wrapper with memory barrier (PR #184693)
Aiden Grossman via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Apr 25 23:24:15 PDT 2026
boomanaiden154 wrote:
> SGTM.
#194208
> It should be possible to track such things if you're willing to change the ABI of pointers so they have range information. But I agree that if that's not an option this won't be possible to implement meaningfully other than for catching some small stuff.
Yeah, fat pointers would definitely work here, but I imagine it would be a pretty large change to get something like that implemented (e.g., `-fbounds-safety`).
https://github.com/llvm/llvm-project/pull/184693
More information about the libcxx-commits
mailing list