[compiler-rt] r192700 - tsan: do not leave trash source files in source dir

Dmitry Vyukov dvyukov at google.com
Tue Oct 15 06:23:29 PDT 2013


Author: dvyukov
Date: Tue Oct 15 08:23:29 2013
New Revision: 192700

URL: http://llvm.org/viewvc/llvm-project?rev=192700&view=rev
Log:
tsan: do not leave trash source files in source dir


Modified:
    compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh

Modified: compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh?rev=192700&r1=192699&r2=192700&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh (original)
+++ compiler-rt/trunk/lib/sanitizer_common/scripts/check_lint.sh Tue Oct 15 08:23:29 2013
@@ -94,7 +94,7 @@ run_lint ${LSAN_LIT_TEST_LINT_FILTER} ${
 FILES=${COMMON_RTL}/*.inc
 TMPFILES=""
 for FILE in $FILES; do
-    TMPFILE=$(mktemp -u ${FILE}.XXXXX).cc
+    TMPFILE=$(mktemp -u --tmpdir check_lint.XXXXX).cc
     cp -f $FILE $TMPFILE
     run_lint ${COMMON_RTL_INC_LINT_FILTER} $TMPFILE &
     TMPFILES="$TMPFILES $TMPFILE"





More information about the llvm-commits mailing list