github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the
details.
<details>
<summary>[code=1]
tools/lldb/unittests/SymbolFile/PDB/CMakeFiles/SymbolFilePDBTests.dir/SymbolFilePDBTests.cpp.obj</summary>
```
FAILED: [code=1]
tools/lldb/unittests/SymbolFile/PDB/CMakeFiles/SymbolFilePDBTests.dir/SymbolFilePDBTests.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DLLVM_BUILD_STATIC
-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_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-IC:\_work\llvm-project\llvm-project\build\tools\lldb\unittests\SymbolFile\PDB
-IC:\_work\llvm-project\llvm-project\lldb\unittests\SymbolFile\PDB
-IC:\_work\llvm-project\llvm-project\lldb\include
-IC:\_work\llvm-project\llvm-project\build\tools\lldb\include
-IC:\_work\llvm-project\llvm-project\build\include
-IC:\_work\llvm-project\llvm-project\llvm\include
-IC:\_work\llvm-project\llvm-project\llvm\..\clang\include
-IC:\_work\llvm-project\llvm-project\build\tools\lldb\..\clang\include
-IC:\_work\llvm-project\llvm-project\lldb\source
-IC:\_work\llvm-project\llvm-project\lldb\unittests
-IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include
-IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include
-imsvc"C:\BuildTools\DIA SDK\include" /DWIN32 /D_WINDOWS /Zc:inline
/Zc:__cplusplus /Oi /Brepro /bigobj /permissive-
-Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw
-Wno-vla-extension /O2 /Ob2 -std:c++17 -MD -wd4018 -wd4068 -wd4150 -wd4201
-wd4251 -wd4521 -wd4530 -wd4589 -UNDEBUG -Wno-suggest-override
-Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- /showIncludes
/Fotools\lldb\unittests\SymbolFile\PDB\CMakeFiles\SymbolFilePDBTests.dir\SymbolFilePDBTests.cpp.obj
/Fdtools\lldb\unittests\SymbolFile\PDB\CMakeFiles\SymbolFilePDBTests.dir\ -c
--
C:\_work\llvm-project\llvm-project\lldb\unittests\SymbolFile\PDB\SymbolFilePDBTests.cpp
C:\_work\llvm-project\llvm-project\lldb\unittests\SymbolFile\PDB\SymbolFilePDBTests.cpp(97,9):
error: no viable conversion from 'llvm::StringRef' to 'bool'
97 | if (left.GetDirectory() && right.GetDirectory())
| ^~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h(249,13):
note: candidate function
249 | constexpr operator std::string_view() const {
| ^
C:\_work\llvm-project\llvm-project\lldb\unittests\SymbolFile\PDB\SymbolFilePDBTests.cpp(97,29):
error: invalid operands to binary expression ('llvm::StringRef' and
'llvm::StringRef')
97 | if (left.GetDirectory() && right.GetDirectory())
| ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
2 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/208815
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits