diff options
author | Troy Johnson <troyj@cray.com> | 2019-12-04 11:50:44 -0600 |
---|---|---|
committer | Troy Johnson <troyj@cray.com> | 2019-12-04 11:50:44 -0600 |
commit | a6febd53c94afea4fa88503328ad800d9c3ab1a2 (patch) | |
tree | 8d34ba344516398fce329ef82cff16ae44a1b643 /llvm | |
parent | e8a5c17211339a747d2bf5b0df708c8392121e6d (diff) | |
download | llvm-a6febd53c94afea4fa88503328ad800d9c3ab1a2.zip llvm-a6febd53c94afea4fa88503328ad800d9c3ab1a2.tar.gz llvm-a6febd53c94afea4fa88503328ad800d9c3ab1a2.tar.bz2 |
[Gold Tests] Add missing target flag to X86 test
This test was failing on non-X86 targets because the gold invocation did not
have the necessary -m flag.
Differential Revision: https://reviews.llvm.org/D70982
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll b/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll index 525bf2d..f8df943 100644 --- a/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll +++ b/llvm/test/tools/gold/X86/linkonce_odr_unnamed_addr.ll @@ -4,6 +4,7 @@ ; RUN: opt -module-summary %s -o %t.o ; RUN: opt -module-summary %p/Inputs/linkonce_odr_unnamed_addr.ll -o %t2.o ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ +; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t.o.1.promote.bc -o - | FileCheck %s @@ -12,6 +13,7 @@ ; conservative and not auto hide. ; RUN: llc %p/Inputs/linkonce_odr_unnamed_addr.ll -o %t2native.o -filetype=obj ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ +; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: %t.o %t2native.o -o %t3.o ; RUN: llvm-dis %t.o.1.promote.bc -o - | FileCheck %s --check-prefix=NOSUMMARY |