From: Rui Ueyama Date: Tue, 3 Apr 2018 22:38:56 +0000 (+0000) Subject: Inline a small test file. X-Git-Tag: llvmorg-7.0.0-rc1~9068 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=265dbe4666a85694bd3d9b013b5c62b13bfefb5f;p=platform%2Fupstream%2Fllvm.git Inline a small test file. llvm-svn: 329124 --- diff --git a/lld/test/ELF/Inputs/weak-and-strong-undef.s b/lld/test/ELF/Inputs/weak-and-strong-undef.s deleted file mode 100644 index a5e476d..0000000 --- a/lld/test/ELF/Inputs/weak-and-strong-undef.s +++ /dev/null @@ -1 +0,0 @@ - .weak foo diff --git a/lld/test/ELF/weak-and-strong-undef.s b/lld/test/ELF/weak-and-strong-undef.s index db93470..32ce649 100644 --- a/lld/test/ELF/weak-and-strong-undef.s +++ b/lld/test/ELF/weak-and-strong-undef.s @@ -1,6 +1,6 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o -# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/weak-and-strong-undef.s -o %t2.o +# RUN: echo ".weak foo" | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t2.o # RUN: not ld.lld %t1.o %t2.o -o %t 2>&1 | FileCheck %s # RUN: not ld.lld %t2.o %t1.o -o %t 2>&1 | FileCheck %s