Issue 157918
Summary [CodeGen][COFF] Forcing emit of CodeView compiler info can break MIPS NT targets
Labels new issue
Assignees
Reporter Wack0
    Since be5c96bfac328fed548c532bbe1710fe23460a85, CodeView compiler info is always emitted for Windows targets.

The problem here is for MIPS NT target: the expected linker to use here is from MSVC 4.x, and it is too old to handle the CodeView info emitted by LLVM - it errors when passing `/DEBUG`.

There is a workaround: MSVC 6's linker (with a binary patch to remove the check for requiring PE subsystem to equal Windows CE) works fine, but that's not the period-correct linker to use for linking MIPS NT binaries...
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to