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