r210323 - Add -o /dev/null to one of the tests as it fails when run from a read-only checkout
Richard Smith
richard at metafoo.co.uk
Fri Jun 6 10:03:29 PDT 2014
On Fri, Jun 6, 2014 at 10:01 AM, Richard Smith <richard at metafoo.co.uk>
wrote:
> On Fri, Jun 6, 2014 at 3:58 AM, Timur Iskhodzhanov <timurrrr at google.com>
> wrote:
>
>> Author: timurrrr
>> Date: Fri Jun 6 05:58:21 2014
>> New Revision: 210323
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=210323&view=rev
>> Log:
>> Add -o /dev/null to one of the tests as it fails when run from a
>> read-only checkout
>>
>> Modified:
>> cfe/trunk/test/Frontend/optimization-remark.c
>>
>> Modified: cfe/trunk/test/Frontend/optimization-remark.c
>> URL:
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/optimization-remark.c?rev=210323&r1=210322&r2=210323&view=diff
>>
>> ==============================================================================
>> --- cfe/trunk/test/Frontend/optimization-remark.c (original)
>> +++ cfe/trunk/test/Frontend/optimization-remark.c Fri Jun 6 05:58:21 2014
>> @@ -3,8 +3,8 @@
>> // always trigger the inliner, so it should be independent of the
>> // optimization level.
>>
>> -// RUN: %clang_cc1 %s -Rpass=inline -Rpass-analysis=inline
>> -Rpass-missed=inline -O0 -gline-tables-only -emit-llvm-only -verify -S
>> -// RUN: %clang_cc1 %s -DNDEBUG -Rpass=inline -emit-llvm-only -verify -S
>> +// RUN: %clang_cc1 %s -Rpass=inline -Rpass-analysis=inline
>> -Rpass-missed=inline -O0 -gline-tables-only -emit-llvm-only -verify -S -o
>> /dev/null
>> +// RUN: %clang_cc1 %s -DNDEBUG -Rpass=inline -emit-llvm-only -verify -S
>> -o /dev/null
>>
>
> Why does this say *both* -emit-llvm-only *and* -S? Which is it trying to
> emit?
>
> Can you remove the "-S -o /dev/null" instead?
>
Oh, I see Alp has already fixed this in r210326. Thanks, Alp!
int foo(int x, int y) __attribute__((always_inline));
>> int foo(int x, int y) { return x + y; }
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140606/c0d42542/attachment.html>
More information about the cfe-commits
mailing list