[llvm] r293137 - gold-plugin: Fix test case.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 18:15:08 PST 2017


Author: pcc
Date: Wed Jan 25 20:15:08 2017
New Revision: 293137

URL: http://llvm.org/viewvc/llvm-project?rev=293137&view=rev
Log:
gold-plugin: Fix test case.

Modified:
    llvm/trunk/test/tools/gold/X86/thinlto.ll

Modified: llvm/trunk/test/tools/gold/X86/thinlto.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/thinlto.ll?rev=293137&r1=293136&r2=293137&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/thinlto.ll (original)
+++ llvm/trunk/test/tools/gold/X86/thinlto.ll Wed Jan 25 20:15:08 2017
@@ -61,13 +61,14 @@
 ; 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




More information about the llvm-commits mailing list