[3.12] gh-129838: Don't redefine _Py_NO_SANITIZE_UNDEFINED (GH-129839) (#130365)
gh-129838: Don't redefine _Py_NO_SANITIZE_UNDEFINED (GH-129839)
Newer GCC versions accept both __attribute__((no_sanitize("undefined")))
and __attribute__((no_sanitize_undefined)) so check that the macro is
not already defined.
(cherry picked from commit 568db400ff07240a5ed6f263af281405ccaec716)
Co-authored-by: Collin Funk <collin.funk1@gmail.com> M
Miss Islington (bot) committed
f314cc4db5a6307f358b7fed094f72a3b7bca480
Parent: 5c0aba0
Committed by GitHub <noreply@github.com>
on 2/20/2025, 4:20:27 PM