We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00632a8 commit 5479452Copy full SHA for 5479452
tests/CMakeLists.txt
@@ -8,7 +8,7 @@ if (LLAMA_SANITIZE_THREAD)
8
add_compile_options(-fsanitize=thread -g -O1)
9
add_link_options(-fsanitize=thread)
10
message(STATUS "ThreadSanitizer enabled for concurrent testing")
11
-
+
12
set(ENV{TSAN_OPTIONS} "halt_on_error=1:second_deadlock_stack=1")
13
else()
14
message(WARNING "ThreadSanitizer is only supported with GCC or Clang")
0 commit comments