If a function has no_sanitize_thread attribute, do not instrument memory accesses in it.
Diff Detail
Diff Detail
Paths
| Differential D1952
tsan: implement no_sanitize_thread attribute ClosedPublic Authored by dvyukov on Oct 16 2013, 9:35 AM.
Details
Diff Detail Event Timeline
Revision Contents
Diff 4960 lib/Transforms/Instrumentation/ThreadSanitizer.cpp
test/Instrumentation/ThreadSanitizer/no_sanitize_thread.ll
test/Instrumentation/ThreadSanitizer/read_before_write.ll
test/Instrumentation/ThreadSanitizer/read_from_global.ll
test/Instrumentation/ThreadSanitizer/tsan_basic.ll
test/Instrumentation/ThreadSanitizer/vptr_read.ll
test/Instrumentation/ThreadSanitizer/vptr_update.ll
|