[lld] r184037 - [PECOFF] Add a test for r184036.
Rui Ueyama
ruiu at google.com
Fri Jun 14 22:20:06 PDT 2013
Author: ruiu
Date: Sat Jun 15 00:20:05 2013
New Revision: 184037
URL: http://llvm.org/viewvc/llvm-project?rev=184037&view=rev
Log:
[PECOFF] Add a test for r184036.
Added:
lld/trunk/test/pecoff/lib.test
Added: lld/trunk/test/pecoff/lib.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/lib.test?rev=184037&view=auto
==============================================================================
--- lld/trunk/test/pecoff/lib.test (added)
+++ lld/trunk/test/pecoff/lib.test Sat Jun 15 00:20:05 2013
@@ -0,0 +1,11 @@
+# Verify that lld can handle a library file.
+#
+# RUN: lld -flavor link -out %t1 -subsystem console \
+# RUN: -- %p/Inputs/static-main.obj %p/Inputs/static.lib \
+# RUN: && llvm-objdump -d %t1 | FileCheck %s
+
+CHECK: Disassembly of section .text:
+CHECK: .text:
+CHECK: 1000: a1 00 00 00 00
+CHECK: 1005: 03 05 00 00 00 00
+CHECK: 100b: c3
More information about the llvm-commits
mailing list