[TSan] Port check_memcpy.sh script to a regular lit test.
authorAlexey Samsonov <vonosmas@gmail.com>
Mon, 7 Dec 2015 21:53:59 +0000 (21:53 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Mon, 7 Dec 2015 21:53:59 +0000 (21:53 +0000)
commitdc37ee2226fc16afa8edf179aba658e64799fc8e
tree62c5c7a36d4912aca94d533b84dceb8e54a79343
parent4b5634af4452875959f1cfcee1230507a2ee356b
[TSan] Port check_memcpy.sh script to a regular lit test.

Check that TSan runtime doesn't contain compiler-inserted calls
to memset/memmove functions.

In future, we may consider moving this test to test/sanitizer_common,
as we don't want to have compiler-inserted memcpy/memmove calls in
any sanitizer runtime.

llvm-svn: 254955
compiler-rt/lib/tsan/Makefile.old
compiler-rt/lib/tsan/check_memcpy.sh [deleted file]
compiler-rt/test/tsan/Linux/check_memcpy.cc [new file with mode: 0644]
compiler-rt/test/tsan/Linux/check_memcpy.sh [new file with mode: 0755]