aboutsummaryrefslogtreecommitdiff
path: root/cmake/showoptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/showoptions.cmake')
-rw-r--r--cmake/showoptions.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake
index f9bfa1f33fa..004e28e308e 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -122,6 +122,27 @@ if(ASAN)
add_definitions(-DASAN)
endif()
+if(MSAN)
+ message("")
+ message(" *** MSAN - WARNING!")
+ message(" *** Please note that this is for DEBUGGING WITH MEMORY SANITIZER only!")
+ add_definitions(-DMSAN)
+endif()
+
+if(UBSAN)
+ message("")
+ message(" *** UBSAN - WARNING!")
+ message(" *** Please note that this is for DEBUGGING WITH UNDEFINED BEHAVIOR SANITIZER only!")
+ add_definitions(-DUBSAN)
+endif()
+
+if(TSAN)
+ message("")
+ message(" *** TSAN - WARNING!")
+ message(" *** Please note that this is for DEBUGGING WITH THREAD SANITIZER only!")
+ add_definitions(-DTSAN -DNO_BUFFERPOOL)
+endif()
+
if(PERFORMANCE_PROFILING)
message("")
message(" *** PERFORMANCE_PROFILING - WARNING!")