summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-09-16 17:12:48 +0000
committerTeresa Johnson <tejohnson@google.com>2016-09-16 17:12:48 +0000
commita8f6520c13846239d34bbf78a6bf78535af5c36e (patch)
treede7fa6c92dfd5649bc33e09015e09f6028ae155b
parentb0ee4e04b33c9689e8eb6885e6c93e20e06934e0 (diff)
downloadbcm5719-llvm-a8f6520c13846239d34bbf78a6bf78535af5c36e.tar.gz
bcm5719-llvm-a8f6520c13846239d34bbf78a6bf78535af5c36e.zip
[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. llvm-svn: 281750
-rw-r--r--llvm/test/LTO/Resolution/X86/mixed_lto.ll4
-rw-r--r--llvm/test/tools/gold/X86/mixed_lto.ll2
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/LTO/Resolution/X86/mixed_lto.ll b/llvm/test/LTO/Resolution/X86/mixed_lto.ll
index ea56a2a2c62..02e6186a3f5 100644
--- a/llvm/test/LTO/Resolution/X86/mixed_lto.ll
+++ b/llvm/test/LTO/Resolution/X86/mixed_lto.ll
@@ -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
diff --git a/llvm/test/tools/gold/X86/mixed_lto.ll b/llvm/test/tools/gold/X86/mixed_lto.ll
index 6a326e57f14..c7085940203 100644
--- a/llvm/test/tools/gold/X86/mixed_lto.ll
+++ b/llvm/test/tools/gold/X86/mixed_lto.ll
@@ -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
OpenPOWER on IntegriCloud