[clang] [ubsan] Add more -fsanitize-annotate-debug-info checks (PR #141997)

Thurston Dang via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 2 14:52:43 PDT 2025


thurstond wrote:

> How is this going to be useful? We should make some effort to try to determine where the overhead comes from. I don't like that the specific array_bounds inline function is going away _even though we have a specific codepath for it_.

I've now changed the annotations to use the handler name e.g., __ubsan_check_out_of_bounds, __ubsan_check_cfi_check_fail, __ubsan_check_type_mismatch.

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


More information about the cfe-commits mailing list