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

Dmitry Vyukov dvyukov at google.com
Tue Oct 15 07:10:18 PDT 2013


On Tue, Oct 15, 2013 at 5:35 PM, Alexey Samsonov <samsonov at google.com> wrote:
>
> 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.


Is $TMPDIR available there?



More information about the llvm-commits mailing list