Skip to content

Commit

Permalink
Fix test on non-x86 hosts
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Bernard Ogden committed Oct 11, 2016
1 parent 8384703 commit 2cf7ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/test/tools/gold/X86/module_asm.ll
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 2cf7ca3

Please sign in to comment.