[Lldb-commits] [lldb] [lldb] Move DemangledNameInfo cache out of Mangled class (PR #225332)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 7 02:58:41 PDT 2026


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/Core/CMakeFiles/LLDBCoreTests.dir/MangledTest.cpp.obj</summary>

```
FAILED: [code=1] tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/MangledTest.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\Core -IC:\_work\llvm-project\llvm-project\lldb\unittests\Core -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 /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 -wd4250 -wd4251 -wd4521 -wd4530 -wd4589 -UNDEBUG /Brepro -Wno-suggest-override -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- /showIncludes /Fotools\lldb\unittests\Core\CMakeFiles\LLDBCoreTests.dir\MangledTest.cpp.obj /Fdtools\lldb\unittests\Core\CMakeFiles\LLDBCoreTests.dir\ -c -- C:\_work\llvm-project\llvm-project\lldb\unittests\Core\MangledTest.cpp
C:\_work\llvm-project\llvm-project\lldb\unittests\Core\MangledTest.cpp(473,26): error: no matching constructor for initialization of 'DemangledNameInfoCache'
473 |   DemangledNameInfoCache cache(/*max_entries=*/4);
|                          ^                     ~
C:\_work\llvm-project\llvm-project\lldb\include\lldb/Core/DemangledNameInfo.h(144,7): note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const DemangledNameInfoCache' for 1st argument
144 | class DemangledNameInfoCache {
|       ^~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\lldb\include\lldb/Core/DemangledNameInfo.h(144,7): note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
C:\_work\llvm-project\llvm-project\lldb\unittests\Core\MangledTest.cpp(498,26): error: no matching constructor for initialization of 'DemangledNameInfoCache'
498 |   DemangledNameInfoCache cache(/*max_entries=*/4);
|                          ^                     ~
C:\_work\llvm-project\llvm-project\lldb\include\lldb/Core/DemangledNameInfo.h(144,7): note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const DemangledNameInfoCache' for 1st argument
144 | class DemangledNameInfoCache {
|       ^~~~~~~~~~~~~~~~~~~~~~
C:\_work\llvm-project\llvm-project\lldb\include\lldb/Core/DemangledNameInfo.h(144,7): note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
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/225332


More information about the lldb-commits mailing list