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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 03:49:38 PDT 2016


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, \




More information about the llvm-commits mailing list