File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -118,15 +118,15 @@ macro (enable_sanitizer_flags sanitize_option)
118
118
set (XSAN_LINKER_FLAGS "asan" )
119
119
endif ()
120
120
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
121
- # fixes "note: variable tracking size limit exceeded with
122
- # -fvar-tracking-assignments, retrying without" (which is
123
- # another way of saying "I'll go ahead and compile this
124
- # thing _twice_") by making it unlimited
125
- # Reference:
126
- # https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
127
- # -> max-vartrack-size
128
- string (APPEND XSAN_COMPILE_FLAGS " --param=max-vartrack-size=0" )
129
- endif ()
121
+ # fixes "note: variable tracking size limit exceeded with
122
+ # -fvar-tracking-assignments, retrying without" (which is
123
+ # another way of saying "I'll go ahead and compile this
124
+ # thing _twice_") by making it unlimited
125
+ # Reference:
126
+ # https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
127
+ # -> max-vartrack-size
128
+ string (APPEND XSAN_COMPILE_FLAGS " --param=max-vartrack-size=0" )
129
+ endif ()
130
130
elseif (${sanitize_option} MATCHES "thread" )
131
131
check_compiler_version ("4.8" "3.1" "99.99" )
132
132
set (XSAN_COMPILE_FLAGS "-fsanitize=thread" )
You can’t perform that action at this time.
0 commit comments