[clang] [Reland][Clang][CodeGen][UBSan] Add more precise attributes to recoverable ubsan handlers (PR #135135)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 17:15:26 PDT 2025


efriedma-quic wrote:

> Looking at the issue description from https://github.com/llvm/llvm-project/pull/130990, the problem is that the code is passing argmem: read, but then passes a "pointer" as an i32. Which is against the rules: argmem is specifically pointer arguments. So either needs to just be marked "read", or you need to fix the argument passing to pass the pointer as an actual pointer.

Oh, sorry, somehow didn't read the current version of the patch; I see you fixed this.

Still not sure how #135141 is related.

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


More information about the cfe-commits mailing list