llvm-project/compiler-rt/test/tsan
Dmitry Vyukov e9a5f03716 tsan: support mmap(MAP_32BIT)
Allow user memory in the first TB of address space.
This also enabled non-pie binaries and freebsd.
Fixes issue:
https://code.google.com/p/thread-sanitizer/issues/detail?id=5

llvm-svn: 220571
2014-10-24 17:07:29 +00:00
..
Linux [Tsan] Make the mutex_robust tests Linux-specific 2014-10-15 12:43:04 +00:00
Unit
libcxx [TSan] Build TSan-instrumented version of libcxx and use it in lit tests. 2014-05-13 22:30:16 +00:00
CMakeLists.txt [TSan] Fix a bug in libcxx-tsan build conditions spotted by Ryuta Suzuki 2014-07-10 18:17:51 +00:00
aligned_vs_unaligned_race.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
allocator_returns_null.cc Fix typos 2014-05-15 02:22:34 +00:00
atexit.cc tsan: more precise handling of atexit callbacks 2014-09-02 14:22:31 +00:00
atexit2.cc tsan: fix crash when a program registers zillions of atexit callbacks 2014-09-17 00:12:50 +00:00
atomic_free.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
atomic_free2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
atomic_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
atomic_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
atomic_stack.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
barrier.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench.h tsan: reduce default number of threads in benchmarks 2014-03-24 15:23:05 +00:00
bench_acquire_only.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench_acquire_release.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench_local_mutex.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench_mutex.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench_release_only.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench_rwmutex.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench_shadow_flush.cc tsan: improve shadow flush benchmark 2014-07-26 16:40:33 +00:00
bench_single_writer.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
bench_ten_mutexes.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
benign_race.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
blacklist.cc [TSan] Make lit-tests more self-contained 2014-06-06 21:04:55 +00:00
blacklist2.cc [Tsan] Fix the blacklist2.cc test to pass on FreeBSD 2014-10-09 09:04:26 +00:00
cond.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
cond_cancel.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
cond_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
cond_version.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
deadlock_detector_stress_test.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
deep_stack1.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
default_options.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
deflake.bash tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
dlclose.cc tsan: refactor atexit handling 2014-10-14 09:32:45 +00:00
fd_close_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fd_close_norace2.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fd_dup_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fd_location.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
fd_pipe_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fd_pipe_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
fd_socket_connect_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fd_socket_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fd_socketpair_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fd_stdout_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
fork_atexit.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fork_deadlock.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fork_multithreaded.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
fork_multithreaded3.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
free_race.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
free_race.c.supp
free_race2.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
getline_nohang.cc [Tsan] Fix the getline_nohang.cc test to build on FreeBSD 2014-10-10 07:07:26 +00:00
global_race.cc [Tsan] Fix the global_race tests to pass on FreeBSD 2014-10-09 09:35:25 +00:00
global_race2.cc [Tsan] Fix the global_race tests to pass on FreeBSD 2014-10-09 09:35:25 +00:00
global_race3.cc [Tsan] Fix the global_race tests to pass on FreeBSD 2014-10-09 09:35:25 +00:00
halt_on_error.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
heap_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
ignore_free.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
ignore_lib0.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
ignore_lib0.cc.supp
ignore_lib1.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
ignore_lib1.cc.supp
ignore_lib2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
ignore_lib2.cc.supp
ignore_lib3.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
ignore_lib3.cc.supp
ignore_lib_lib.h
ignore_malloc.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
ignore_race.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
ignore_sync.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
inlined_memcpy_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
inlined_memcpy_race2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
interface_atomic_test.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
java.h tsan: add __tsan_java_finalize interface function 2014-06-27 00:47:38 +00:00
java_alloc.cc tsan: refactor storage of meta information for heap blocks and sync objects 2014-05-29 13:50:54 +00:00
java_finalizer.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_lock.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_lock_move.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_lock_rec.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_lock_rec_race.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_move_overlap.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_move_overlap_race.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_race.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_race_move.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
java_rwlock.cc tsan: allow memory overlap in __tsan_java_move 2014-07-08 20:01:12 +00:00
lit.cfg Use "-gline-tables-only" instead of "-g" in sanitizer test suites. 2014-09-05 22:05:32 +00:00
lit.site.cfg.in [TSan] Build TSan-instrumented version of libcxx and use it in lit tests. 2014-05-13 22:30:16 +00:00
load_shared_lib.cc [TSan] Make lit-tests more self-contained 2014-06-06 21:04:55 +00:00
longjmp.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
longjmp2.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
longjmp3.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
longjmp4.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
malloc_overflow.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
malloc_stack.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
map32bit.cc tsan: support mmap(MAP_32BIT) 2014-10-24 17:07:29 +00:00
memcpy_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mmap_large.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
mop_with_offset.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mop_with_offset2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
must_deadlock.cc [tsan] add a printf to a test 2014-07-14 15:52:33 +00:00
mutex_bad_read_lock.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutex_bad_read_unlock.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutex_bad_unlock.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutex_cycle2.c [tsan] Enable tsan's deadlock detector by default. 2014-07-08 13:40:08 +00:00
mutex_destroy_locked.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutex_double_lock.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset1.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset3.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset4.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset5.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset6.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset7.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
mutexset8.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
printf-1.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
pthread_atfork_deadlock.c [TSan] Add -lpthread to the test which uses pthread_ functions 2014-08-18 22:09:17 +00:00
race_on_barrier.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
race_on_barrier2.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
race_on_heap.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
race_on_mutex.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
race_on_mutex2.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
race_on_puts.cc tsan: add a test from data-race-test suite: 2014-05-30 14:27:31 +00:00
race_on_read.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
race_on_speculative_load.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
race_on_write.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
race_with_finished_thread.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
signal_errno.cc [Tsan] Fix the signal_errno.cc and signal_malloc.cc tests to pass on FreeBSD 2014-10-09 09:40:02 +00:00
signal_longjmp.cc tsan: fix signal_longjmp test in debug mode 2014-09-18 19:00:02 +00:00
signal_malloc.cc [Tsan] Fix the signal_errno.cc and signal_malloc.cc tests to pass on FreeBSD 2014-10-09 09:40:02 +00:00
signal_recursive.cc [Tsan] Fix the signal_recursive.cc test to build on FreeBSD 2014-10-24 09:20:20 +00:00
signal_sync.cc tsan: fix false positive related to signal handlers 2014-09-01 12:46:42 +00:00
signal_write.cc tsan: fix false positive related to signals 2014-10-15 08:56:43 +00:00
sigsuspend.cc tsan: fix false positive related to signals 2014-10-15 08:56:43 +00:00
simple_race.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
simple_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
simple_stack.c Fix expected column numbers in two tests. 2014-07-10 23:29:10 +00:00
simple_stack2.cc Fix expected column numbers in two tests. 2014-07-10 23:29:10 +00:00
sleep_sync.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
sleep_sync2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
stack_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
stack_race2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
static_init1.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
static_init2.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
static_init3.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
static_init4.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
static_init5.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
static_init6.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
sunrpc.cc [Tsan] Fix the sunrpc.cc test to build on FreeBSD 2014-10-15 12:47:48 +00:00
suppress_same_address.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
suppress_same_stacks.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
suppressions_global.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
suppressions_global.cc.supp
suppressions_race.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
suppressions_race.cc.supp
suppressions_race2.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
suppressions_race2.cc.supp
test_output.sh [tsan] honour XFAIL in tsan/test_output.sh 2014-07-14 16:03:13 +00:00
thread_detach.c tsan: allocate vector clocks using slab allocator 2014-08-05 18:45:02 +00:00
thread_end_with_ignore.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
thread_end_with_ignore2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
thread_end_with_ignore3.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
thread_leak.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
thread_leak2.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
thread_leak3.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
thread_leak4.c Add %run to all lit tests 2014-04-30 21:34:17 +00:00
thread_leak5.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
thread_name.cc [Tsan] Fix the thread_name tests to build on FreeBSD 2014-10-24 09:27:34 +00:00
thread_name2.cc [Tsan] Fix the thread_name tests to build on FreeBSD 2014-10-24 09:27:34 +00:00
tiny_race.c tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
tls_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
tls_race2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
tsan-vs-gvn.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
unaligned_norace.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
unaligned_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
vfork.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
virtual_inheritance_compile_bug.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
vptr_benign_race.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
vptr_harmful_race.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
vptr_harmful_race2.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
vptr_harmful_race3.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00
vptr_harmful_race4.cc tsan: better reporting for virtual-call-after-free 2014-10-13 08:46:25 +00:00
write_in_reader_lock.cc tsan: make positive tests more robust 2014-05-30 14:08:51 +00:00