• Home
  • History
  • Annotate
  • only in /external/compiler-rt/lib/tsan/tests/unit/
History log of /external/compiler-rt/lib/tsan/tests/unit/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5d71de26cedae3dafc17449fe0182045c0bd20e8 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
san_dense_alloc_test.cc
san_mman_test.cc
san_sync_test.cc
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
san_clock_test.cc
san_flags_test.cc
san_mman_test.cc
san_stack_test.cc
san_sync_test.cc
san_vector_test.cc
01a7ce809bf7cc627d73c045c70bcca9891f632c 16-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move shadow stack from thread descriptors to fixed addresses

This allows to increase max shadow stack size to 64K,
and reliably catch shadow stack overflows instead of silently
corrupting memory.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192797 91177308-0d34-0410-b5e6-96231b3b80d8
san_stack_test.cc
a8b4c3b6809a4cdc10587020b98246c171bc18ee 11-Sep-2013 Alexey Samsonov <samsonov@google.com> [TSan] Use Clang to compile and link TSan unit tests with TSan runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190503 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san_unit_test_main.cc
bd33d3ab168fcbcfe09a3fd6a971994b481e89d0 06-Sep-2013 Kostya Serebryany <kcc@google.com> [tsan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190135 91177308-0d34-0410-b5e6-96231b3b80d8
san_mman_test.cc
a52e5c6f371bcc66e89792db1219a557664aab8d 26-Jun-2013 Sergey Matveev <earthdok@google.com> [tsan] Move some suppressions-related code to common.

Factor out code to be reused in LSan. Also switch from linked list to vector.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184957 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san_suppressions_test.cc
24323de08fa8850712d56621bff29dbbbd0285a9 07-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common.

Move this function to sanitizer_common because LSan uses it too. Also, fix a bug
where the TLS range reported for main thread was off by the size of the thread
descriptor from libc (TSan doesn't care much, but for LSan it's critical).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181322 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san_platform_test.cc
cab13157ffa88ab123f2a653b9affdc8cb73bcd9 20-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix incorrect test



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177519 91177308-0d34-0410-b5e6-96231b3b80d8
san_mutexset_test.cc
f51c3860ce0a1ae81d0dc9da27db0693718db18e 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: smaller memory block headers (32b->16b)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177312 91177308-0d34-0410-b5e6-96231b3b80d8
san_mman_test.cc
8a6b5e551ab8a331f7e7bc4bfcd74926fbffa3f6 25-Feb-2013 Alexey Samsonov <samsonov@google.com> [TSan] Add interceptor for malloc_usable_size()

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176013 91177308-0d34-0410-b5e6-96231b3b80d8
san_mman_test.cc
4c9317a7b61e136f832d2ede70f557963fd46bce 04-Feb-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] extend internal libc with stat/fstat/lstat functions

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174316 91177308-0d34-0410-b5e6-96231b3b80d8
san_platform_test.cc
ee7cc4454421a176d23442382afd9a01d36e7ad4 01-Feb-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] make internal_open have the same interface as libc version

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174187 91177308-0d34-0410-b5e6-96231b3b80d8
san_platform_test.cc
33a040af0f32bcf2e5ab25fa2c9b6a81d3a59092 01-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: flip is_write bit in shadow to is_read
this makes calculation of interesting predicates faster


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174164 91177308-0d34-0410-b5e6-96231b3b80d8
san_shadow_test.cc
334553ec45d8982df45a6f5e656e068142ecde3f 01-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: detect races between plain and atomic memory accesses


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174163 91177308-0d34-0410-b5e6-96231b3b80d8
san_shadow_test.cc
65199f1b253c4bfb225805629217acb8f0b1e185 25-Jan-2013 Kostya Serebryany <kcc@google.com> [sanitizer] fix calloc overflow in asan/tsan/msan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173441 91177308-0d34-0410-b5e6-96231b3b80d8
san_mman_test.cc
c2b9f1c1d54e857e56462e65155381faddf398df 24-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: allow a front-end to provide default suppressions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173345 91177308-0d34-0410-b5e6-96231b3b80d8
san_suppressions_test.cc
bdd844cb41718c27ef727a99a236191bc29a3df8 24-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: implement malloc stats querying


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173332 91177308-0d34-0410-b5e6-96231b3b80d8
san_mman_test.cc
ad9da372f962495b3487685232d09390be841b1c 06-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add mutexsets to reports
With this change reports say what mutexes the threads hold around the racy memory accesses.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169493 91177308-0d34-0410-b5e6-96231b3b80d8
san_mutexset_test.cc
san_sync_test.cc
d698edc4f74a17048eef3342a9fa42b3ebba802a 28-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: dynamic history size
introduces history_size parameter that can be used to control trace size at startup


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168786 91177308-0d34-0410-b5e6-96231b3b80d8
san_shadow_test.cc
0d35d9d9b1ff686b53918f9fd36797f0911db663 28-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: change fast state layout in preparation to dynamic traces


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168784 91177308-0d34-0410-b5e6-96231b3b80d8
san_shadow_test.cc
385542a2e83a4f37de4232d6c72097c1b7d6d44b 28-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: move traces from tls into dedicated storage at fixed address
helps to reduce tls size (it's weird to have multi-MB tls)
will help with dynamically adjustable trace size


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168783 91177308-0d34-0410-b5e6-96231b3b80d8
san_platform_test.cc
a517641e8f4365fbc5e3cddf614ebc27efd69c35 02-Nov-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move unit test for Printf from tsan to sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167296 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san_printf_test.cc
e64c3b6f05a65560df5e60742168d9a7e68a94eb 18-Sep-2012 Alexey Samsonov <samsonov@google.com> [TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc warnings in TSan tests.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164115 91177308-0d34-0410-b5e6-96231b3b80d8
san_flags_test.cc
f548ef8e3c6bce5a6b2bee48b8f942d2e27ebf92 17-Sep-2012 Alexey Samsonov <samsonov@google.com> [TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single root for gtest-based tests. Support running these tests from lit via check-tsan command.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164022 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san_clock_test.cc
san_flags_test.cc
san_mman_test.cc
san_mutex_test.cc
san_platform_test.cc
san_printf_test.cc
san_shadow_test.cc
san_stack_test.cc
san_suppressions_test.cc
san_sync_test.cc
san_vector_test.cc