[lld] r249710 - Test that we handle empty archives.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 11:10:54 PDT 2015


Author: rafael
Date: Thu Oct  8 13:10:53 2015
New Revision: 249710

URL: http://llvm.org/viewvc/llvm-project?rev=249710&view=rev
Log:
Test that we handle empty archives.

This was failing before 249709.

Added:
    lld/trunk/test/elf2/empty-archive.s

Added: lld/trunk/test/elf2/empty-archive.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/empty-archive.s?rev=249710&view=auto
==============================================================================
--- lld/trunk/test/elf2/empty-archive.s (added)
+++ lld/trunk/test/elf2/empty-archive.s Thu Oct  8 13:10:53 2015
@@ -0,0 +1,3 @@
+// RUN: llvm-ar rc %t.a
+// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
+// RUN: ld.lld2 -shared %t.o %t.a -o t




More information about the llvm-commits mailing list