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
5 lines
162 B
Plaintext
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
|