From 82aea166fa63991102feaf2159d8737dcd60ca40 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:22:37 -0700 Subject: [PATCH] Update sanitizers.cmake --- config/sanitizer/sanitizers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sanitizer/sanitizers.cmake b/config/sanitizer/sanitizers.cmake index 23e54bab6b3..bf2aad27d7c 100644 --- a/config/sanitizer/sanitizers.cmake +++ b/config/sanitizer/sanitizers.cmake @@ -84,7 +84,7 @@ if(USE_SANITIZER) set(SANITIZER_MEM_FLAG "-fsanitize=memory") if(USE_SANITIZER MATCHES "([Mm]emory[Ww]ith[Oo]rigins)") message(STATUS "Testing with MemoryWithOrigins sanitizer") - append("-fsanitize-memory-track-origins=2" SANITIZER_MEM_FLAG) + append("-fsanitize-memory-track-origins" SANITIZER_MEM_FLAG) else() message(STATUS "Testing with Memory sanitizer") endif()