[Lldb-commits] [lldb] [lldb][macOS] Don't fetch settings in Host, to keep layering (PR #181406)

via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 13 15:32:21 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeFiles/lldbPluginDynamicLoaderMacOSXDYLD.dir/DynamicLoaderDarwin.cpp.o</summary>

```
FAILED: tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeFiles/lldbPluginDynamicLoaderMacOSXDYLD.dir/DynamicLoaderDarwin.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/usr/include/python3.12 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-vla-extension -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeFiles/lldbPluginDynamicLoaderMacOSXDYLD.dir/DynamicLoaderDarwin.cpp.o -MF tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeFiles/lldbPluginDynamicLoaderMacOSXDYLD.dir/DynamicLoaderDarwin.cpp.o.d -o tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/CMakeFiles/lldbPluginDynamicLoaderMacOSXDYLD.dir/DynamicLoaderDarwin.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp:149:20: error: no matching function for call to 'GetSharedCacheImageInfo'
149 |       image_info = HostInfo::GetSharedCacheImageInfo(
|                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:208:3: note: candidate function not viable: no known conversion from 'SymbolSharedCacheUse' to 'lldb::SymbolDownload' for 3rd argument
208 |   GetSharedCacheImageInfo(llvm::StringRef image_name, const UUID &uuid,
|   ^
209 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:194:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
194 |   GetSharedCacheImageInfo(llvm::StringRef image_name,
|   ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
195 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp:152:20: error: no matching function for call to 'GetSharedCacheImageInfo'
152 |       image_info = HostInfo::GetSharedCacheImageInfo(
|                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:194:3: note: candidate function not viable: no known conversion from 'SymbolSharedCacheUse' to 'lldb::SymbolDownload' for 2nd argument
194 |   GetSharedCacheImageInfo(llvm::StringRef image_name,
|   ^
195 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:208:3: note: candidate function not viable: requires 3 arguments, but 2 were provided
208 |   GetSharedCacheImageInfo(llvm::StringRef image_name, const UUID &uuid,
|   ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
209 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
```
</details>
<details>
<summary>tools/lldb/source/Plugins/Platform/MacOSX/CMakeFiles/lldbPluginPlatformMacOSX.dir/PlatformDarwinDevice.cpp.o</summary>

```
FAILED: tools/lldb/source/Plugins/Platform/MacOSX/CMakeFiles/lldbPluginPlatformMacOSX.dir/PlatformDarwinDevice.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source/Plugins/Platform/MacOSX -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Platform/MacOSX -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/usr/include/python3.12 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-vla-extension -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/lldb/source/Plugins/Platform/MacOSX/CMakeFiles/lldbPluginPlatformMacOSX.dir/PlatformDarwinDevice.cpp.o -MF tools/lldb/source/Plugins/Platform/MacOSX/CMakeFiles/lldbPluginPlatformMacOSX.dir/PlatformDarwinDevice.cpp.o.d -o tools/lldb/source/Plugins/Platform/MacOSX/CMakeFiles/lldbPluginPlatformMacOSX.dir/PlatformDarwinDevice.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp:332:22: error: no matching function for call to 'GetSharedCacheImageInfo'
332 |         image_info = HostInfo::GetSharedCacheImageInfo(
|                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:208:3: note: candidate function not viable: no known conversion from 'SymbolSharedCacheUse' to 'lldb::SymbolDownload' for 3rd argument
208 |   GetSharedCacheImageInfo(llvm::StringRef image_name, const UUID &uuid,
|   ^
209 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:194:3: note: candidate function not viable: requires 2 arguments, but 3 were provided
194 |   GetSharedCacheImageInfo(llvm::StringRef image_name,
|   ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
195 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp:337:20: error: no matching function for call to 'GetSharedCacheImageInfo'
337 |       image_info = HostInfo::GetSharedCacheImageInfo(
|                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:194:3: note: candidate function not viable: no known conversion from 'SymbolSharedCacheUse' to 'lldb::SymbolDownload' for 2nd argument
194 |   GetSharedCacheImageInfo(llvm::StringRef image_name,
|   ^
195 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:208:3: note: candidate function not viable: requires 3 arguments, but 2 were provided
208 |   GetSharedCacheImageInfo(llvm::StringRef image_name, const UUID &uuid,
|   ^                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
209 |                           lldb::SymbolDownload sc_mode) {
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
```
</details>
<details>
<summary>tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/ProcessGDBRemote.cpp.o</summary>

```
FAILED: tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/ProcessGDBRemote.cpp.o
sccache /opt/llvm/bin/clang++ -DHAVE_ROUND -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source/Plugins/Process/gdb-remote -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/gdb-remote -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/usr/include/python3.12 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/../clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/source -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-vla-extension -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/ProcessGDBRemote.cpp.o -MF tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/ProcessGDBRemote.cpp.o.d -o tools/lldb/source/Plugins/Process/gdb-remote/CMakeFiles/lldbPluginProcessGDBRemote.dir/ProcessGDBRemote.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp:4382:13: error: cannot initialize a parameter of type 'lldb::SymbolDownload' with an rvalue of type 'lldb::SymbolSharedCacheUse'
4382 |             ModuleList::GetGlobalModuleListProperties()
|             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4383 |                 .GetSharedCacheBinaryLoading());
|                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/include/lldb/Host/HostInfoBase.h:218:58: note: passing argument to parameter 'sc_mode' here
218 |                                     lldb::SymbolDownload sc_mode) {
|                                                          ^
1 error 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/181406


More information about the lldb-commits mailing list