]> granicus.if.org Git - llvm/commitdiff
[LTO] Use llvm-nm instead of nm in new tests
authorTeresa Johnson <tejohnson@google.com>
Fri, 16 Sep 2016 17:12:48 +0000 (17:12 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 16 Sep 2016 17:12:48 +0000 (17:12 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281750 91177308-0d34-0410-b5e6-96231b3b80d8

test/LTO/Resolution/X86/mixed_lto.ll
test/tools/gold/X86/mixed_lto.ll

index ea56a2a2c62541fb12666e44cdcd47eb0d739945..02e6186a3f56124e9ac2e331107832984b4f88f0 100644 (file)
@@ -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
 
index 6a326e57f1465d24a4844c350630aed9e6d6e956..c7085940203e97e2893c20575b2a75c95593a0e2 100644 (file)
@@ -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