[lld] r333480 - ELF: Run the same test without --thinlto-jobs as we do with --thinlto-jobs.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 16:32:49 PDT 2018


Author: pcc
Date: Tue May 29 16:32:49 2018
New Revision: 333480

URL: http://llvm.org/viewvc/llvm-project?rev=333480&view=rev
Log:
ELF: Run the same test without --thinlto-jobs as we do with --thinlto-jobs.

The comment only made sense a long time ago, when --thinlto-jobs was
tied with --lto-partitions. That was changed in r283817, but the test
wasn't updated at the same time. This patch does so.

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=333480&r1=333479&r2=333480&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto.ll Tue May 29 16:32:49 2018
@@ -17,9 +17,9 @@
 ; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2
 
 ; Then check without --thinlto-jobs (which currently default to hardware_concurrency)
-; We just check that we don't crash or fail (as it's not sure which tests are
-; stable on the final output file itself.
-; RUN: ld.lld -shared %t1.o %t2.o -o %t2
+; RUN: ld.lld -shared %t1.o %t2.o -o %t3
+; RUN: llvm-nm %t31.lto.o | FileCheck %s --check-prefix=NM1
+; RUN: llvm-nm %t32.lto.o | FileCheck %s --check-prefix=NM2
 
 ; NM1: T f
 ; NM2: T g




More information about the llvm-commits mailing list