[lld] r283826 - [ThinLTO] Attempt to fix the test (and the bots).

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 16:56:14 PDT 2016


Author: davide
Date: Mon Oct 10 18:56:13 2016
New Revision: 283826

URL: http://llvm.org/viewvc/llvm-project?rev=283826&view=rev
Log:
[ThinLTO] Attempt to fix the test (and the bots).

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=283826&r1=283825&r2=283826&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto.ll Mon Oct 10 18:56:13 2016
@@ -1,6 +1,6 @@
 ; Basic ThinLTO tests.
-; RUN: llvm-as %s -o %t.o
-; RUN: llvm-as %p/Inputs/thinlto.ll -o %t2.o
+; RUN: opt -module-summary %s -o %t.o
+; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o
 
 ; First force single-threaded mode
 ; RUN: ld.lld -save-temps --thinlto-jobs=1 -shared %t.o %t2.o -o %t
@@ -14,8 +14,8 @@
 ; RUN: llvm-nm %t20.lto.o | FileCheck %s --check-prefix=NM1
 ; RUN: llvm-nm %t21.lto.o | FileCheck %s --check-prefix=NM2
 
-; NM1: T g
-; NM2: T f
+; NM1: T f
+; NM2: T g
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"




More information about the llvm-commits mailing list