[clang] [llvm] Enable LLDB tests in pre-merge CI (PR #94208)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 04:25:22 PDT 2024


Endilll wrote:

First Windows CI results: LLDB unit tests do not even build.
```
FAILED: tools/lldb/unittests/Process/gdb-remote/CMakeFiles/ProcessGdbRemoteTests.dir/GDBRemoteCommunicationClientTest.cpp.obj 
sccache C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DBUILD_EXAMPLES -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\lldb\unittests\Process\gdb-remote -IC:\ws\src\lldb\unittests\Process\gdb-remote -IC:\ws\src\lldb\include -Itools\lldb\include -Iinclude -IC:\ws\src\llvm\include -IC:\ws\src\llvm\..\clang\include -Itools\lldb\..\clang\include -IC:\ws\src\lldb\source -IC:\ws\src\lldb\unittests -IC:\ws\src\third-party\unittest\googletest\include -IC:\ws\src\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2  -MD   -wd4018 -wd4068 -wd4150 -wd4201 -wd4251 -wd4521 -wd4530 -wd4589  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\lldb\unittests\Process\gdb-remote\CMakeFiles\ProcessGdbRemoteTests.dir\GDBRemoteCommunicationClientTest.cpp.obj /Fdtools\lldb\unittests\Process\gdb-remote\CMakeFiles\ProcessGdbRemoteTests.dir\ /FS -c C:\ws\src\lldb\unittests\Process\gdb-remote\GDBRemoteCommunicationClientTest.cpp
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\future(196): error C2512: 'llvm::ErrorOr<llvm::MD5::MD5Result>': no appropriate default constructor available
C:\ws\src\llvm\include\llvm/Support/FileSystem.h(432): note: see declaration of 'llvm::ErrorOr<llvm::MD5::MD5Result>'
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\future(193): note: while compiling class template member function 'std::_Associated_state<_Ty>::_Associated_state(std::_Deleter_base<_Ty> *)'
        with
        [
            _Ty=llvm::ErrorOr<llvm::MD5::MD5Result>
        ]
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\future(464): note: see reference to function template instantiation 'std::_Associated_state<_Ty>::_Associated_state(std::_Deleter_base<_Ty> *)' being compiled
        with
        [
            _Ty=llvm::ErrorOr<llvm::MD5::MD5Result>
        ]
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\future(774): note: see reference to class template instantiation 'std::_Associated_state<_Ty>' being compiled
        with
        [
            _Ty=llvm::ErrorOr<llvm::MD5::MD5Result>
        ]
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\future(769): note: while compiling class template member function '_Ty &std::_State_manager<_Ty>::_Get_value(void) const'
        with
        [
            _Ty=llvm::ErrorOr<llvm::MD5::MD5Result>
        ]
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\future(884): note: see reference to function template instantiation '_Ty &std::_State_manager<_Ty>::_Get_value(void) const' being compiled
        with
        [
            _Ty=llvm::ErrorOr<llvm::MD5::MD5Result>
        ]
C:\BuildTools\VC\Tools\MSVC\14.29.30133\include\future(860): note: see reference to class template instantiation 'std::_State_manager<_Ty>' being compiled
        with
        [
            _Ty=llvm::ErrorOr<llvm::MD5::MD5Result>
        ]
C:\ws\src\lldb\unittests\Process\gdb-remote\GDBRemoteCommunicationClientTest.cpp(598): note: see reference to class template instantiation 'std::future<llvm::ErrorOr<llvm::MD5::MD5Result>>' being compiled
```

https://github.com/llvm/llvm-project/pull/94208


More information about the cfe-commits mailing list