1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

Fix test on non-x86 hosts

Summary:
This test is allowed to run on non-x86 hosts and thus must use
llvm-nm rather than nm.

Differential Revision: https://reviews.llvm.org/D25473

llvm-svn: 283901
This commit is contained in:
Bernard Ogden 2016-10-11 16:32:37 +00:00
parent 61a6f1d61e
commit 3ad1eb5426

View File

@ -1,6 +1,6 @@
; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %s -o %t.o
; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so %t.o ; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so %t.o
; RUN: nm %t2 | FileCheck %s ; RUN: llvm-nm %t2 | FileCheck %s
; CHECK: PrepareAndDispatch ; CHECK: PrepareAndDispatch
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"