From 81d9e0909047ed5147b7a50c82532d5d63e3a9fa Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 7 Nov 2014 01:45:32 +0000 Subject: [PATCH] Add missing -target triple to ELF tests. llvm-svn: 221505 --- lld/test/elf/mergeglobalatoms.test | 2 +- lld/test/elf/stripped-empty.test | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lld/test/elf/mergeglobalatoms.test b/lld/test/elf/mergeglobalatoms.test index 06c0e07..e71dca5 100644 --- a/lld/test/elf/mergeglobalatoms.test +++ b/lld/test/elf/mergeglobalatoms.test @@ -1,7 +1,7 @@ # ELF files can have mergeable strings which are global!, treat them as global # defined atoms RUN: lld -flavor gnu --output-filetype=yaml %p/Inputs/globalconst.o.x86-64 \ -RUN: --noinhibit-exec | FileCheck -check-prefix=globalatoms %s +RUN: --noinhibit-exec -target x86_64 | FileCheck -check-prefix=globalatoms %s globalatoms: - name: mystr globalatoms: scope: global diff --git a/lld/test/elf/stripped-empty.test b/lld/test/elf/stripped-empty.test index 1794161..0403808 100644 --- a/lld/test/elf/stripped-empty.test +++ b/lld/test/elf/stripped-empty.test @@ -1,3 +1,4 @@ -RUN: lld -flavor gnu -shared -o test.so %p/Inputs/stripped-empty.x86_64 +RUN: lld -flavor gnu -shared -o test.so \ +RUN: -target x86_64 %p/Inputs/stripped-empty.x86_64 test that we handle files without a symbol table. -- 2.7.4