File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124
124
compiler : {c: clang, cxx: clang++}
125
125
pool_tracking : ' ON'
126
126
shared_library : ' OFF'
127
- # os_provider: 'ON' # TODO: fix TSAN issues and enable os_provider here
127
+ os_provider : ' ON'
128
128
sanitizers : {asan: OFF, ubsan: OFF, tsan: ON}
129
129
- os : ' ubuntu-22.04'
130
130
build_type : Debug
@@ -138,7 +138,7 @@ jobs:
138
138
compiler : {c: gcc, cxx: g++}
139
139
pool_tracking : ' ON'
140
140
shared_library : ' OFF'
141
- # os_provider: 'ON' # TODO: fix TSAN issues and enable os_provider here
141
+ os_provider : ' ON'
142
142
sanitizers : {asan: OFF, ubsan: OFF, tsan: ON}
143
143
runs-on : ${{matrix.os}}
144
144
Original file line number Diff line number Diff line change 7
7
*
8
8
*/
9
9
10
+ #if defined(__has_feature )
11
+ #if __has_feature (thread_sanitizer )
12
+ #ifndef __SANITIZE_THREAD__
13
+ #define __SANITIZE_THREAD__ 1
14
+ #endif
15
+ #endif
16
+ #endif
17
+
10
18
#if __SANITIZE_THREAD__
11
19
#include <sanitizer/tsan_interface.h>
12
20
#endif
You can’t perform that action at this time.
0 commit comments