From 265dbe4666a85694bd3d9b013b5c62b13bfefb5f Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 3 Apr 2018 22:38:56 +0000 Subject: [PATCH] Inline a small test file. llvm-svn: 329124 --- lld/test/ELF/Inputs/weak-and-strong-undef.s | 1 - lld/test/ELF/weak-and-strong-undef.s | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 lld/test/ELF/Inputs/weak-and-strong-undef.s 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 -- 2.7.4