[lld] r198074 - [PECOFF] Add a test for /noentry.

Rui Ueyama ruiu at google.com
Fri Dec 27 00:19:21 PST 2013


Author: ruiu
Date: Fri Dec 27 02:19:21 2013
New Revision: 198074

URL: http://llvm.org/viewvc/llvm-project?rev=198074&view=rev
Log:
[PECOFF] Add a test for /noentry.

Added:
    lld/trunk/test/pecoff/noentry.test

Added: lld/trunk/test/pecoff/noentry.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/noentry.test?rev=198074&view=auto
==============================================================================
--- lld/trunk/test/pecoff/noentry.test (added)
+++ lld/trunk/test/pecoff/noentry.test Fri Dec 27 02:19:21 2013
@@ -0,0 +1,5 @@
+# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
+# RUN: lld -flavor link /out:%t.exe /noentry /dll -- %t.obj
+# RUN: llvm-readobj -file-headers %t.exe | FileCheck %s
+
+CHECK: AddressOfEntryPoint: 0x0





More information about the llvm-commits mailing list