[lld] r292799 - [ELF] - Committed missing ld.ldd invocation to constructor.s

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 08:55:13 PST 2017


Author: grimar
Date: Mon Jan 23 10:55:13 2017
New Revision: 292799

URL: http://llvm.org/viewvc/llvm-project?rev=292799&view=rev
Log:
[ELF] - Committed missing ld.ldd invocation to constructor.s

Thanks to Meador Ingle for noticing.

Modified:
    lld/trunk/test/ELF/linkerscript/constructor.s

Modified: lld/trunk/test/ELF/linkerscript/constructor.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/constructor.s?rev=292799&r1=292798&r2=292799&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/constructor.s (original)
+++ lld/trunk/test/ELF/linkerscript/constructor.s Mon Jan 23 10:55:13 2017
@@ -1,6 +1,7 @@
 # REQUIRES: x86
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
 # RUN: echo "SECTIONS { foo : { *(.foo) CONSTRUCTORS } }" > %t.script
+# RUN: ld.lld -o %t1 --script %t.script %t.o
 
 # RUN: llvm-objdump -section-headers %t1 | FileCheck %s
 # CHECK:      Sections:




More information about the llvm-commits mailing list