[zorg] r254937 - Update test_tsan.sh to match r254936
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 7 12:19:13 PST 2015
Author: samsonov
Date: Mon Dec 7 14:19:13 2015
New Revision: 254937
URL: http://llvm.org/viewvc/llvm-project?rev=254937&view=rev
Log:
Update test_tsan.sh to match r254936
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/test_tsan.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/test_tsan.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/test_tsan.sh?rev=254937&r1=254936&r2=254937&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/test_tsan.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/test_tsan.sh Mon Dec 7 14:19:13 2015
@@ -9,7 +9,9 @@ make -f Makefile.old clean
make -f Makefile.old DEBUG=0 CC=clang CXX=clang++
echo @@@BUILD_STEP tsan analyze@@@
-./check_analyze.sh || echo @@@STEP_FAILURE@@@
+BIN=$(mktemp -t tsan_exe.XXXXXXXX)
+echo "int main() {return 0;}" | clang -x c++ - -fsanitize=thread -O2 -o ${BIN}
+./check_analyze.sh ${BIN} || echo @@@STEP_FAILURE@@@
echo @@@BUILD_STEP tsan build release-gcc@@@
make -f Makefile.old clean
More information about the llvm-commits
mailing list