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

Yingwei Zheng via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 18:09:54 PDT 2025


dtcxzyw wrote:

> Still not sure how https://github.com/llvm/llvm-project/pull/135141 is related.

We add a new parameter `bool &MayReadFromPtrToInt` to `CodeGenFunction::EmitCheckValue`. If it is called outside `CodeGenFunction::EmitCheck`, we have to pass the result into `EmitCheck` as well :(


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


More information about the cfe-commits mailing list