Patch by Duane Sand
The mips32r2 build of asan_test runs cleanly with same result as for arm/arm64/x86: 3 failed subtests.
The mips64r6 asan_test fails early on a huge_malloc subtest without trying all tests. This is a bug in mips64 malloc, not in asan.
You might introduce a separate #define that would tell you whether you're on 32-bit MIPS: it's better than
spraying defined(__mips__) && !defined(__mips64) and its negation throughout the code.