X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FCPortability.h;h=0989cbc920fb745a07c6e4dee2afa7c72d85b911;hb=89f9bd3ef68c3e617ad527e5e1f6dfaafc6e1a80;hp=01e972e9ea03723c7d418de38cdc6b2879d290b6;hpb=ed8c80a0e0988e4ce687f51ca832a00e4a6b7930;p=folly.git diff --git a/folly/CPortability.h b/folly/CPortability.h index 01e972e9..0989cbc9 100644 --- a/folly/CPortability.h +++ b/folly/CPortability.h @@ -90,9 +90,10 @@ * used as folly whitelists some functions. */ #if UNDEFINED_SANITIZER -# define UBSAN_DISABLE(x) __attribute__((no_sanitize(x))) +# define FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER(x) \ + __attribute__((no_sanitize(x))) #else -# define UBSAN_DISABLE(x) +# define FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER(x) #endif // UNDEFINED_SANITIZER /**