From: Bernard Ogden Date: Tue, 11 Oct 2016 16:32:37 +0000 (+0000) Subject: Fix test on non-x86 hosts X-Git-Tag: llvmorg-4.0.0-rc1~7493 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cf7ca3f3527222c5a186af44c239dbcd01e3e21;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/llvm/test/tools/gold/X86/module_asm.ll b/llvm/test/tools/gold/X86/module_asm.ll index 83c8905..6aa591f 100644 --- a/llvm/test/tools/gold/X86/module_asm.ll +++ b/llvm/test/tools/gold/X86/module_asm.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %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 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"