From c39ac3a382c81c4b85e4a3a7277d22ca5938b8a9 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Fri, 16 Sep 2016 17:12:48 +0000 Subject: [PATCH] [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 --- test/LTO/Resolution/X86/mixed_lto.ll | 4 ++-- test/tools/gold/X86/mixed_lto.ll | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/LTO/Resolution/X86/mixed_lto.ll b/test/LTO/Resolution/X86/mixed_lto.ll index ea56a2a2c62..02e6186a3f5 100644 --- a/test/LTO/Resolution/X86/mixed_lto.ll +++ b/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/test/tools/gold/X86/mixed_lto.ll b/test/tools/gold/X86/mixed_lto.ll index 6a326e57f14..c7085940203 100644 --- a/test/tools/gold/X86/mixed_lto.ll +++ b/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