[libc-commits] [libc] [libc] Fix math tests for macos arm64. (PR #100060)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 23 09:36:56 PDT 2024


================
@@ -43,7 +43,7 @@ TEST_F(LlvmLibcNanTest, RandomString) {
   run_test("123 ", 0x7ff8000000000000);
 }
 
-#ifndef LIBC_HAVE_ADDRESS_SANITIZER
+#if defined(LIBC_HAVE_ADDRESS_SANITIZER) && defined(LIBC_TARGET_OS_IS_LINUX)
----------------
overmighty wrote:

Should this have been `#if !defined(LIBC_HAVE_ADDRESS_SANITIZER) && ...`?

https://github.com/llvm/llvm-project/pull/100060


More information about the libc-commits mailing list