Files
clang-p2996/lld/test/COFF/cl-gl.test
Rui Ueyama f83806a8ad Identify object files compiled with cl.exe /GL.
Object files compiled with cl.exe /GL contain intermediate code for LTO.
We can't (and don't want to) interpret such code, but we should print
out a user-friendly error message.

Differential Revision: https://reviews.llvm.org/D26647

llvm-svn: 286921
2016-11-15 01:01:51 +00:00

5 lines
162 B
Plaintext

# RUN: not lld-link /out:%t.exe /entry:main %S/Inputs/cl-gl.obj >& %t.log
# RUN: FileCheck %s < %t.log
# CHECK: is not a native COFF file. Recompile without /GL