[llvm] r279426 - [ThinLTO][X86] Fix windows build

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 09:11:21 PDT 2016


Thanks Simon!

(I’ll try to keep in mind to avoid the wildcard)

— 
Mehdi

> On Aug 22, 2016, at 3:49 AM, Simon Pilgrim via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: rksimon
> Date: Mon Aug 22 05:49:37 2016
> New Revision: 279426
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=279426&view=rev
> Log:
> [ThinLTO][X86] Fix windows build
> 
> Windows 'rm' complains about non-existent files if a wildcard is used. Be more explicit about the files deleted to avoid this.
> 
> Modified:
>    llvm/trunk/test/ThinLTO/X86/emit_imports.ll
> 
> Modified: llvm/trunk/test/ThinLTO/X86/emit_imports.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/emit_imports.ll?rev=279426&r1=279425&r2=279426&view=diff
> ==============================================================================
> --- llvm/trunk/test/ThinLTO/X86/emit_imports.ll (original)
> +++ llvm/trunk/test/ThinLTO/X86/emit_imports.ll Mon Aug 22 05:49:37 2016
> @@ -12,7 +12,8 @@
> ; The imports file for Input/emit_imports.ll is empty as it does not import anything.
> ; RUN: cat %t2.bc.imports | count 0
> 
> -; RUN: rm -f %t*.thinlto.bc %t*.bc.imports
> +; RUN: rm -f %t1.thinlto.bc %t1.bc.imports
> +; RUN: rm -f %t2.thinlto.bc %t2.bc.imports
> ; RUN: llvm-lto2 %t1.bc %t2.bc -o %t.o \
> ; RUN:     -thinlto-distributed-indexes \
> ; RUN:     -r=%t1.bc,g, \
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list