Index: test/tools/gold/X86/thinlto_archive.ll =================================================================== --- test/tools/gold/X86/thinlto_archive.ll +++ test/tools/gold/X86/thinlto_archive.ll @@ -4,6 +4,7 @@ ; RUN: opt -module-summary %p/Inputs/thinlto_archive2.ll -o %t3.o ; Generate the static library +; RUN: rm -f %t.a ; RUN: llvm-ar -format=gnu r %t.a %t2.o %t3.o ; Test importing from archive library via gold, using jobs=1 to ensure Index: test/tools/lto/no-bitcode.s =================================================================== --- test/tools/lto/no-bitcode.s +++ test/tools/lto/no-bitcode.s @@ -1,5 +1,6 @@ ; REQUIRES: arm-registered-target ; libLTO.dylib shouldn't assert on invalid inputs. ; RUN: llvm-mc -triple=arm64-apple-ios7.0.0 -filetype=obj -o %t.o +; RUN: rm -f %t.a ; RUN: llvm-ar r %t.a %t.o ; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O0 -o %t.dylib %t.a