[llvm] r281750 - [LTO] Use llvm-nm instead of nm in new tests

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 10:12:48 PDT 2016


Author: tejohnson
Date: Fri Sep 16 12:12:48 2016
New Revision: 281750

URL: http://llvm.org/viewvc/llvm-project?rev=281750&view=rev
Log:
[LTO] Use llvm-nm instead of nm in new tests

The use of nm in the new tests added with r281725 caused a couple
of bot failures:
http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/15701
http://bb.pgr.jp/builders/ninja-clang-i686-msc19-R/builds/6939

Use llvm-nm instead.

Modified:
    llvm/trunk/test/LTO/Resolution/X86/mixed_lto.ll
    llvm/trunk/test/tools/gold/X86/mixed_lto.ll

Modified: llvm/trunk/test/LTO/Resolution/X86/mixed_lto.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LTO/Resolution/X86/mixed_lto.ll?rev=281750&r1=281749&r2=281750&view=diff
==============================================================================
--- llvm/trunk/test/LTO/Resolution/X86/mixed_lto.ll (original)
+++ llvm/trunk/test/LTO/Resolution/X86/mixed_lto.ll Fri Sep 16 12:12:48 2016
@@ -5,11 +5,11 @@
 ; RUN: llvm-lto2 -o %t3.o %t2.o %t1.o -r %t2.o,main,px -r %t2.o,g, -r %t1.o,g,px
 
 ; Task 0 is the regular LTO file (this file)
-; RUN: nm %t3.o.0 | FileCheck %s --check-prefix=NM0
+; RUN: llvm-nm %t3.o.0 | FileCheck %s --check-prefix=NM0
 ; NM0: T g
 
 ; Task 1 is the (first) ThinLTO file (Inputs/mixed_lto.ll)
-; RUN: nm %t3.o.1 | FileCheck %s --check-prefix=NM1
+; RUN: llvm-nm %t3.o.1 | FileCheck %s --check-prefix=NM1
 ; NM1-DAG: T main
 ; NM1-DAG: U g
 

Modified: llvm/trunk/test/tools/gold/X86/mixed_lto.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/mixed_lto.ll?rev=281750&r1=281749&r2=281750&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/mixed_lto.ll (original)
+++ llvm/trunk/test/tools/gold/X86/mixed_lto.ll Fri Sep 16 12:12:48 2016
@@ -7,7 +7,7 @@
 ; RUN:     --plugin-opt=thinlto \
 ; RUN:     --plugin-opt=-import-instr-limit=0 \
 ; RUN:     -o %t3.o %t2.o %t.o
-; RUN: nm %t3.o | FileCheck %s
+; RUN: llvm-nm %t3.o | FileCheck %s
 
 ; CHECK-DAG: T main
 ; CHECK-DAG: T g




More information about the llvm-commits mailing list