]> granicus.if.org Git - llvm/commitdiff
gold-plugin: Fix test case.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 26 Jan 2017 02:15:08 +0000 (02:15 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 26 Jan 2017 02:15:08 +0000 (02:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293137 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/gold/X86/thinlto.ll

index aee7268dfb961f71120f7964d92a7e49346b6b69..5e1d913eb09e7278139d824165cf49f5f1acf002 100644 (file)
 ; RUN: llvm-nm %t4 | FileCheck %s --check-prefix=NM
 
 ; Test --plugin-opt=obj-path to ensure unique object files generated.
+; RUN: rm -f %t5.o %t5.o1
 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
 ; RUN:    -m elf_x86_64 \
 ; RUN:    --plugin-opt=thinlto \
 ; RUN:    --plugin-opt=jobs=2 \
 ; RUN:    --plugin-opt=obj-path=%t5.o \
 ; RUN:    -shared %t.o %t2.o -o %t4
-; RUN: llvm-nm %t5.o0 | FileCheck %s --check-prefix=NM2
+; RUN: llvm-nm %t5.o | FileCheck %s --check-prefix=NM2
 ; RUN: llvm-nm %t5.o1 | FileCheck %s --check-prefix=NM2
 
 ; NM: T f