diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-09-18 09:09:35 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-09-18 09:09:35 +0000 |
commit | 0f4ae5d0e3223627ec60c9159f32bfa73038bce7 (patch) | |
tree | 1ce726b004650b537f693283b292ee49eed59505 /lib/tsan/tests | |
parent | e64c3b6f05a65560df5e60742168d9a7e68a94eb (diff) | |
download | compiler-rt-0f4ae5d0e3223627ec60c9159f32bfa73038bce7.tar.gz compiler-rt-0f4ae5d0e3223627ec60c9159f32bfa73038bce7.tar.bz2 compiler-rt-0f4ae5d0e3223627ec60c9159f32bfa73038bce7.tar.xz |
[TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one of TSan output tests that somewhy fails otherwise
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/tests')
-rw-r--r-- | lib/tsan/tests/rtl/tsan_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/tests/rtl/tsan_test.cc b/lib/tsan/tests/rtl/tsan_test.cc index 50fee84a..2184284d 100644 --- a/lib/tsan/tests/rtl/tsan_test.cc +++ b/lib/tsan/tests/rtl/tsan_test.cc @@ -34,7 +34,7 @@ int run_tests(int argc, char **argv) { TestMutexBeforeInit(); // Mutexes must be usable before __tsan_init(); __tsan_init(); __tsan_func_entry(__builtin_return_address(0)); - __tsan_func_entry((void*)((uintptr_t)&run_tests + 1)); + __tsan_func_entry((void*)((intptr_t)&run_tests + 1)); testing::GTEST_FLAG(death_test_style) = "threadsafe"; testing::InitGoogleTest(&argc, argv); |