[lld] r231769 - Don't write output to 'a.out', write it to a temporary file. This fixes

David Blaikie dblaikie at gmail.com
Tue Mar 10 09:34:05 PDT 2015


On Tue, Mar 10, 2015 at 1:06 AM, Chandler Carruth <chandlerc at gmail.com>
wrote:

> Author: chandlerc
> Date: Tue Mar 10 03:06:49 2015
> New Revision: 231769
>
> URL: http://llvm.org/viewvc/llvm-project?rev=231769&view=rev
> Log:
> Don't write output to 'a.out', write it to a temporary file. This fixes
> the test when run frem a read-only checkout of the source tree.
>
> Modified:
>     lld/trunk/test/mach-o/use-simple-dylib.yaml
>
> Modified: lld/trunk/test/mach-o/use-simple-dylib.yaml
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/use-simple-dylib.yaml?rev=231769&r1=231768&r2=231769&view=diff
>
> ==============================================================================
> --- lld/trunk/test/mach-o/use-simple-dylib.yaml (original)
> +++ lld/trunk/test/mach-o/use-simple-dylib.yaml Tue Mar 10 03:06:49 2015
> @@ -1,4 +1,4 @@
> -# RUN: lld -flavor darwin -arch x86_64 -print_atoms -r %s | FileCheck %s
> +# RUN: lld -flavor darwin -arch x86_64 -print_atoms -r %s -o %t |
> FileCheck %s
>

I think FileCheck supports the fictitious (on some platforms) /dev/null, if
you're not interested in using the output, as it seems is the case here.


>
>
>  --- !mach-o
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150310/99130c29/attachment.html>


More information about the llvm-commits mailing list