llvm-project/llvm/test/Instrumentation/ThreadSanitizer
Dmitry Vyukov a7c57c4ec8 tsan: don't consider debug calls as calls
Tsan pass does 2 optimizations based on presence of calls:
1. Don't emit function entry/exit callbacks if there are no calls
and no memory accesses.
2. Combine read/write of the same variable if there are no
intervening calls.
However, all debug info is represented as CallInst as well
and thus effectively disables these optimizations.
Don't consider debug info calls as calls.

Reviewed By: glider, melver

Differential Revision: https://reviews.llvm.org/D114079
2021-11-17 14:42:16 +01:00
..
atomic-non-integer.ll
atomic.ll
capture.ll
debug_calls.ll tsan: don't consider debug calls as calls 2021-11-17 14:42:16 +01:00
do-not-instrument-memory-access.ll [test] Remove some legacy PM tests in llvm/test/Instrumentation 2021-09-05 11:51:19 -07:00
eh.ll
no_sanitize_thread.ll
read_before_write.ll
read_from_global.ll
sanitize-thread-no-checking.ll
str-nobuiltin.ll
tsan-vs-gvn.ll
tsan_address_space_attr.ll
tsan_basic.ll [test] Remove some legacy PM tests in llvm/test/Instrumentation 2021-09-05 11:51:19 -07:00
tsan_musttail.ll
unaligned.ll
volatile.ll
vptr_read.ll
vptr_update.ll