r210294 - Provide fallback locations for backend remarks

Timur Iskhodzhanov timurrrr at google.com
Fri Jun 6 04:06:29 PDT 2014


2014-06-06 2:11 GMT+04:00 Alp Toker <alp at nuanti.com>:

> Modified: cfe/trunk/test/Frontend/optimization-remark.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/
> optimization-remark.c?rev=210294&r1=210293&r2=210294&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/Frontend/optimization-remark.c (original)
> +++ cfe/trunk/test/Frontend/optimization-remark.c Thu Jun  5 17:11:12 2014
> @@ -3,10 +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-obj -verify -S -o
> /dev/null 2> %t.err
> -
> -// RUN: %clang -c %s -Rpass=inline -O0 -S -o /dev/null 2> %t.err
> -// RUN: FileCheck < %t.err %s --check-prefix=INLINE-NO-LOC
> +// 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
>

The "-o /dev/null" was important, I believe?
It fails when run from a read-only checkout.
... or failed until r210323.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140606/2919164e/attachment.html>


More information about the cfe-commits mailing list