[lld] r329124 - Inline a small test file.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 15:38:56 PDT 2018


Author: ruiu
Date: Tue Apr  3 15:38:56 2018
New Revision: 329124

URL: http://llvm.org/viewvc/llvm-project?rev=329124&view=rev
Log:
Inline a small test file.

Removed:
    lld/trunk/test/ELF/Inputs/weak-and-strong-undef.s
Modified:
    lld/trunk/test/ELF/weak-and-strong-undef.s

Removed: lld/trunk/test/ELF/Inputs/weak-and-strong-undef.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/weak-and-strong-undef.s?rev=329123&view=auto
==============================================================================
--- lld/trunk/test/ELF/Inputs/weak-and-strong-undef.s (original)
+++ lld/trunk/test/ELF/Inputs/weak-and-strong-undef.s (removed)
@@ -1 +0,0 @@
-        .weak foo

Modified: lld/trunk/test/ELF/weak-and-strong-undef.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/weak-and-strong-undef.s?rev=329124&r1=329123&r2=329124&view=diff
==============================================================================
--- lld/trunk/test/ELF/weak-and-strong-undef.s (original)
+++ lld/trunk/test/ELF/weak-and-strong-undef.s Tue Apr  3 15:38:56 2018
@@ -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
 




More information about the llvm-commits mailing list