[lld] r295901 - ELF: Simplify the thinlto.ll test and verify that importing is working correctly.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 15:06:49 PST 2017


Author: pcc
Date: Wed Feb 22 17:06:49 2017
New Revision: 295901

URL: http://llvm.org/viewvc/llvm-project?rev=295901&view=rev
Log:
ELF: Simplify the thinlto.ll test and verify that importing is working correctly.

Modified:
    lld/trunk/test/ELF/lto/thinlto.ll

Modified: lld/trunk/test/ELF/lto/thinlto.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/thinlto.ll?rev=295901&r1=295900&r2=295901&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto.ll Wed Feb 22 17:06:49 2017
@@ -5,11 +5,8 @@
 ; First force single-threaded mode
 ; RUN: rm -f %t.lto.o %t1.lto.o
 ; RUN: ld.lld -save-temps --thinlto-jobs=1 -shared %t.o %t2.o -o %t
-; RUN: llvm-nm %t.lto.o | FileCheck %s --check-prefix=NM1-SINGLE
-; RUN: llvm-nm %t1.lto.o | FileCheck %s --check-prefix=NM2-SINGLE
-
-; NM1-SINGLE: T f
-; NM2-SINGLE: T g
+; RUN: llvm-nm %t.lto.o | FileCheck %s --check-prefix=NM1
+; RUN: llvm-nm %t1.lto.o | FileCheck %s --check-prefix=NM2
 
 ; Next force multi-threaded mode
 ; RUN: rm -f %t2.lto.o %t21.lto.o
@@ -18,6 +15,8 @@
 ; RUN: llvm-nm %t21.lto.o | FileCheck %s --check-prefix=NM2
 
 ; NM1: T f
+; NM1-NOT: U g
+
 ; NM2: T g
 
 ; Then check without --thinlto-jobs (which currently default to hardware_concurrency)




More information about the llvm-commits mailing list