[PATCH] D11015: LLD: COFF: Check for incompatible machine types

Rui Ueyama ruiu at google.com
Tue Jul 7 16:13:08 PDT 2015


================
Comment at: test/COFF/machine.test:21
@@ +20,3 @@
+# RUN: not lld -flavor link2 /entry:main /subsystem:console /machine:x86 \
+# RUN:   /out:%t.exe %p/Inputs/ret42.obj >& %t.log
+# RUN: FileCheck -check-prefix=INCOMPAT %s < %t.log
----------------
pcc wrote:
> This test does not use `%t.obj`. Did you intend to add another test here for the non-`/machine` case?
That's a mistake. I intended to use %t.obj instead of ret42.obj.


http://reviews.llvm.org/D11015







More information about the llvm-commits mailing list