[lld] What can SVN lld link on Windows?

Hi,

I have tried using SVN lld to link a simple C++ file compiled with clang -target i686-pc-mingw32 but failed with an assert

Assertion failed: ret, file …..........\tools\lld\lib\ReaderWriter\PECOFF\ReaderCOFF.cpp, line 706

Is this supposed to work?

What can SVN lld link on Windows 32/64 bit?

Yaron

Rui has reported that he can successfully self-link lld on Windows, but I believe he is using cl.exe as the compiler.

That’s right. LLD is now able to link itself on Windows 32 bit but I used cl.exe as the compiler. I usually build LLD normally and replace the final linker command line by s/link/lld -flavor link/.