[TSan] Build ignore_lib{0,1,5} tests with -fno-builtin
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 8 Jul 2021 13:09:10 +0000 (15:09 +0200)
committerIlya Leoshkevich <iii@linux.ibm.com>
Thu, 15 Jul 2021 10:18:47 +0000 (12:18 +0200)
commitd5c34ee5b666e12f92cf5b6e35490e1746fcc5e9
tree955ed7293a27a8f451e98799fe487779a8d108bc
parent3845f2cd940bd394fc735388ca0cd6652a98b7b9
[TSan] Build ignore_lib{0,1,5} tests with -fno-builtin

These tests depend on TSan seeing the intercepted memcpy(), so they
break when the compiler chooses the builtin version.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D105629
compiler-rt/test/tsan/ignore_lib0.cpp
compiler-rt/test/tsan/ignore_lib1.cpp
compiler-rt/test/tsan/ignore_lib5.cpp