[clang] [clang][CodeGen] Added SanitizerHandler mapping, trap messages in debug info, and corresponding test cases. (PR #143758)

Dan Liew via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 23 07:51:38 PDT 2025


delcypher wrote:

@anthonyhatran Here's an example for `SanitizerHandler::AlignmentAssumption`

```
#include <stdint.h>
int32_t* get_int(void) __attribute__((assume_aligned(16)));

void retrieve_int(void) {
    int* i = get_int();
    *i = 7;
}
```

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


More information about the cfe-commits mailing list