ubsan suppression

Hi,

is there a way to suppress specific undefined sanitizer warnings, in particular for unsigned integer overflow? Either with a suppression file (similar to TSan) or even better with some in source annotation?

Thanks
Roland

Sanitize=undefined shouldn’t be warning about unsigned overflow. Is well defined.

Ignoring signed overflow is probably a bad idea. Llvm actually optimizes on that.

Hi,