On Fri, Jun 6, 2014 at 3:58 AM, Timur Iskhodzhanov <[email protected]>
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?


>
>  int foo(int x, int y) __attribute__((always_inline));
>  int foo(int x, int y) { return x + y; }
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to