From: Teresa Johnson Date: Fri, 2 Aug 2019 15:49:39 +0000 (+0000) Subject: Use llvm-nm instead of nm in new test to unbreak Windows bot X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32ca76eac23fd3e217f93edb74f9cef05abead67;p=llvm Use llvm-nm instead of nm in new test to unbreak Windows bot New test added in r367679 used nm and should use llvm-nm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367688 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ThinLTO/X86/devirt2.ll b/test/ThinLTO/X86/devirt2.ll index 513c5d3cc1d..9218f97ba17 100644 --- a/test/ThinLTO/X86/devirt2.ll +++ b/test/ThinLTO/X86/devirt2.ll @@ -54,8 +54,8 @@ ; RUN: -r=%t4.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK --check-prefix=PRINT ; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 ; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 -; RUN: nm %t5.1 | FileCheck %s --check-prefix=NM-INDEX1 -; RUN: nm %t5.2 | FileCheck %s --check-prefix=NM-INDEX2 +; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-INDEX1 +; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-INDEX2 ; New PM, Index based WPD ; RUN: llvm-lto2 run %t3.o %t4.o -save-temps -use-new-pm -pass-remarks=. \ @@ -77,8 +77,8 @@ ; RUN: -r=%t4.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK --check-prefix=PRINT ; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 ; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 -; RUN: nm %t5.1 | FileCheck %s --check-prefix=NM-INDEX1 -; RUN: nm %t5.2 | FileCheck %s --check-prefix=NM-INDEX2 +; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-INDEX1 +; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-INDEX2 ; NM-INDEX1-DAG: U _ZN1A1nEi.llvm. ; NM-INDEX1-DAG: U _ZN1E1mEi.llvm. @@ -145,8 +145,8 @@ ; RUN: -r=%t2.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK ; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 ; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 -; RUN: nm %t5.1 | FileCheck %s --check-prefix=NM-HYBRID1 -; RUN: nm %t5.2 | FileCheck %s --check-prefix=NM-HYBRID2 +; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-HYBRID1 +; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-HYBRID2 ; New PM ; RUN: llvm-lto2 run %t1.o %t2.o -save-temps -use-new-pm -pass-remarks=. \ @@ -180,8 +180,8 @@ ; RUN: -r=%t2.o,_ZTV1E,px 2>&1 | FileCheck %s --check-prefix=REMARK ; RUN: llvm-dis %t5.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR1 ; RUN: llvm-dis %t5.2.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR2 -; RUN: nm %t5.1 | FileCheck %s --check-prefix=NM-HYBRID1 -; RUN: nm %t5.2 | FileCheck %s --check-prefix=NM-HYBRID2 +; RUN: llvm-nm %t5.1 | FileCheck %s --check-prefix=NM-HYBRID1 +; RUN: llvm-nm %t5.2 | FileCheck %s --check-prefix=NM-HYBRID2 ; NM-HYBRID1-DAG: U _ZN1A1nEi$ ; NM-HYBRID1-DAG: U _ZN1E1mEi$