On Thu, May 14, 2020 at 01:01:04PM +0100, Will Deacon wrote: > > +#if __has_feature(undefined_sanitizer) > > Hmm, this might want to be __has_feature(undefined_behavior_sanitizer) > (and damn is that hard for a Brit to type out!)
(I know right, it should be behaviour, dammit!)
I tried without the condition, eg.:
+#define __no_sanitize_undefined \
+ __attribute__((no_sanitize("undefined")))
and it still generated UBSAN gunk.

