[clang] [CodeGen] -fsanitize=alignment: add cl::opt sanitize-alignment-builtin to disable memcpy instrumentation (PR #69240)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 16 15:29:20 PDT 2023


vitalybuka wrote:

> For reference, can you give a couple examples of code where this is triggering?
> 
> If this is triggering in practice, do we want a real driver option to control the sanitizer? The alignment attributes themselves?

I am not sure we need special driver flag for that.

@MaskRay After reading about amount of unique cases you see, maybe ignore list is easier?

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


More information about the cfe-commits mailing list