Skip to content

Commit cd38f3f

Browse files
authored
[DevTSAN] Support thread sanitizer for device offloading in TSAN pass (#17181)
This PR is going to support thread sanitizer for device offloading (IR part) 1.defined a new class 'ThreadSanitizerOnSpirv' to do SPIR-V specific instrumentation. 2.added an extra argument '__tsan_launch' to each spir kernels. 3.disable inserting module ctor for kernel code. 4.created a new global '__TsanKernelMetadata' to record spir kernels' information.
1 parent e31ff53 commit cd38f3f

File tree

4 files changed

+446
-7
lines changed

4 files changed

+446
-7
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,12 @@ llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h @intel/dpcpp-san
193193
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h @intel/dpcpp-sanitizers-review
194194
llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerOptions.h @intel/dpcpp-sanitizers-review
195195
llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h @intel/dpcpp-sanitizers-review
196+
llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h @intel/dpcpp-sanitizers-review
196197
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp @intel/dpcpp-sanitizers-review
197198
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp @intel/dpcpp-sanitizers-review
199+
llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp @intel/dpcpp-sanitizers-review
198200
llvm/test/Instrumentation/AddressSanitizer/ @intel/dpcpp-sanitizers-review
199201
llvm/test/Instrumentation/MemorySanitizer/ @intel/dpcpp-sanitizers-review
202+
llvm/test/Instrumentation/ThreadSanitizer/ @intel/dpcpp-sanitizers-review
200203
sycl/test-e2e/AddressSanitizer/ @intel/dpcpp-sanitizers-review
201204
sycl/test-e2e/MemorySanitizer/ @intel/dpcpp-sanitizers-review

0 commit comments

Comments
 (0)