[llvm] r283901 - Fix test on non-x86 hosts
Bernard Ogden via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 11 09:32:38 PDT 2016
Author: bogden
Date: Tue Oct 11 11:32:37 2016
New Revision: 283901
URL: http://llvm.org/viewvc/llvm-project?rev=283901&view=rev
Log:
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
Modified:
llvm/trunk/test/tools/gold/X86/module_asm.ll
Modified: llvm/trunk/test/tools/gold/X86/module_asm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/module_asm.ll?rev=283901&r1=283900&r2=283901&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/module_asm.ll (original)
+++ llvm/trunk/test/tools/gold/X86/module_asm.ll Tue Oct 11 11:32:37 2016
@@ -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"
More information about the llvm-commits
mailing list