| 1 |
From 8907023584ea0936893269aee890af5995746af5 Mon Sep 17 00:00:00 2001 |
| 2 |
From: Marc Mutz <[email protected]> |
| 3 |
Date: Mon, 17 Mar 2025 10:15:03 +0100 |
| 4 |
Subject: [PATCH] ECMEnableSanitizers.cmake: replace tabs with spaces |
| 5 |
|
| 6 |
Amends cbda7ce74d74539ce0baef4a36198081dfb0265c. |
| 7 |
--- |
| 8 |
modules/ECMEnableSanitizers.cmake | 18 +++++++++--------- |
| 9 |
1 file changed, 9 insertions(+), 9 deletions(-) |
| 10 |
|
| 11 |
diff --git a/modules/ECMEnableSanitizers.cmake b/modules/ECMEnableSanitizers.cmake |
| 12 |
index 45236e6d..8686384d 100644 |
| 13 |
--- a/modules/ECMEnableSanitizers.cmake |
| 14 |
+++ b/modules/ECMEnableSanitizers.cmake |
| 15 |
@@ -118,15 +118,15 @@ macro (enable_sanitizer_flags sanitize_option) |
| 16 |
set(XSAN_LINKER_FLAGS "asan") |
| 17 |
endif() |
| 18 |
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") |
| 19 |
- # fixes "note: variable tracking size limit exceeded with |
| 20 |
- # -fvar-tracking-assignments, retrying without" (which is |
| 21 |
- # another way of saying "I'll go ahead and compile this |
| 22 |
- # thing _twice_") by making it unlimited |
| 23 |
- # Reference: |
| 24 |
- # https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html |
| 25 |
- # -> max-vartrack-size |
| 26 |
- string(APPEND XSAN_COMPILE_FLAGS " --param=max-vartrack-size=0") |
| 27 |
- endif () |
| 28 |
+ # fixes "note: variable tracking size limit exceeded with |
| 29 |
+ # -fvar-tracking-assignments, retrying without" (which is |
| 30 |
+ # another way of saying "I'll go ahead and compile this |
| 31 |
+ # thing _twice_") by making it unlimited |
| 32 |
+ # Reference: |
| 33 |
+ # https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html |
| 34 |
+ # -> max-vartrack-size |
| 35 |
+ string(APPEND XSAN_COMPILE_FLAGS " --param=max-vartrack-size=0") |
| 36 |
+ endif () |
| 37 |
elseif (${sanitize_option} MATCHES "thread") |
| 38 |
check_compiler_version("4.8" "3.1" "99.99") |
| 39 |
set(XSAN_COMPILE_FLAGS "-fsanitize=thread") |
| 40 |
-- |
| 41 |
2.25.1 |
| 42 |
|