Open Quuxplusone opened 4 years ago
I think this has to do with DIA registration. It's very fragile and I forget how to make it work reliably. As a workaround you can pass LLVM_ENABLE_DIA_SDK=OFF to CMake to force it off, and the relevant tests will be disabled.
@Reid: Yes this workaround makes all tests pass. Thank you for the fast reply!
Should someone still look into fixing it permanently?
Windows 10 on amd64 with Visual Studio 2017:
About 20 tests fail during
ninja check-all
with the same error message: llvm-pdbutil: An unknown error has occurred. HRESULT: 0x8007007E: Calling NoRegCoCreateCMake flags: cmake.exe ..\llvm -G Ninja -DCMAKE_BUILD_TYPE=Release ^ -D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra;libcxx;libcxxabi;lld" ^ -D LLVM_ENABLE_ASSERTIONS=ON
The bug can be reproduced in this Windows docker container: https://github.com/google/llvm-premerge-checks/blob/windows_agent/containers/agent-windows/Dockerfile