]> granicus.if.org Git - llvm/commitdiff
Use llvm-nm instead of nm in new test to unbreak Windows bot
authorTeresa Johnson <tejohnson@google.com>
Fri, 2 Aug 2019 15:49:39 +0000 (15:49 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 2 Aug 2019 15:49:39 +0000 (15:49 +0000)
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

test/ThinLTO/X86/devirt2.ll

index 513c5d3cc1d2849ca0568da91b0aa95808a42a37..9218f97ba17c3e7495d1b53a6e83abbbff198f88 100644 (file)
@@ -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.
 ; 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=. \
 ; 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$