Move large part of asan_test_utils.h to sanitizer_common.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 14 Jan 2013 15:12:26 +0000 (15:12 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 14 Jan 2013 15:12:26 +0000 (15:12 +0000)
commit99d91289b6a4fe9382044636f2ebc9407da75833
tree789db12af8b6ccad7ee8092367e2edc85defeb19
parente2e6e6a3d584c5f84be06903e3b8044c0491e5d9
Move large part of asan_test_utils.h to sanitizer_common.
Move my_rand() to the common header.

This lets us avoid the use of rand_r in sanitizer_common tests.
There is no rand_r on Android.

llvm-svn: 172421
compiler-rt/lib/asan/tests/asan_noinst_test.cc
compiler-rt/lib/asan/tests/asan_test.cc
compiler-rt/lib/asan/tests/asan_test_utils.h
compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
compiler-rt/lib/sanitizer_common/tests/sanitizer_test_utils.h [new file with mode: 0644]