Open llvmbot opened 7 years ago
Zachary, does this work as desired now?
Was just about to post that I just tested x64 clang + lld and that doesn't exhibit the same problem. I will test out the suggested fix tomorrow, thanks!
If this only happens on 32-bit, it could be the same issue as llvm/llvm-project#33654 . Does it help if you patch in the fix linked from that bug?
Extended Description
Because clang-cl uses the default target triple based on its bitness, in order to build and link an x86 binary with clang-cl + lld, the compiler has to be built x86, and the linker has to be built x64 (or it runs out of memory). This is really lame and the compiler should detect the MSVC environment that is configured, but that isn't the way it works today.
So, continuing...
Run tblgen.
Print the value of ERRORLEVEL
This corresponds to 0xFFFFFFFFC0000005 which is access violation.