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

Alexey Samsonov samsonov at google.com
Tue Oct 15 06:35:55 PDT 2013


On Tue, Oct 15, 2013 at 5:23 PM, Dmitry Vyukov <dvyukov at google.com> wrote:

> 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
>

There is no --tmpdir on Mac. Also, now you won't be able to understand the
original file name from lint error message.


>      cp -f $FILE $TMPFILE
>      run_lint ${COMMON_RTL_INC_LINT_FILTER} $TMPFILE &
>      TMPFILES="$TMPFILES $TMPFILE"
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131015/11bfe7c5/attachment.html>


More information about the llvm-commits mailing list