File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -666,25 +666,6 @@ extern "C" {
666666#endif
667667
668668
669- // _Py_NO_SANITIZE_UNDEFINED(): Disable Undefined Behavior sanitizer (UBsan)
670- // on a function.
671- //
672- // Clang and GCC 9.0+ use __attribute__((no_sanitize("undefined"))).
673- // GCC 4.9+ uses __attribute__((no_sanitize_undefined)).
674- #if defined(__has_feature)
675- # if __has_feature(undefined_behavior_sanitizer)
676- # define _Py_NO_SANITIZE_UNDEFINED __attribute__ ((no_sanitize(" undefined" )))
677- # endif
678- #endif
679- #if !defined(_Py_NO_SANITIZE_UNDEFINED) && defined(__GNUC__) \
680- && ((__GNUC__ >= 5 ) || (__GNUC__ == 4 ) && (__GNUC_MINOR__ >= 9 ))
681- # define _Py_NO_SANITIZE_UNDEFINED __attribute__ ((no_sanitize_undefined))
682- #endif
683- #ifndef _Py_NO_SANITIZE_UNDEFINED
684- # define _Py_NO_SANITIZE_UNDEFINED
685- #endif
686-
687-
688669// _Py_NONSTRING: The nonstring variable attribute specifies that an object or
689670// member declaration with type array of char, signed char, or unsigned char,
690671// or pointer to such a type is intended to store character arrays that do not
You can’t perform that action at this time.
0 commit comments