[Lldb-commits] [lldb] [lldb-dap] Refactor variablesReference storage and scope management. (PR #179262)

LLVM Continuous Integration via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 17 04:56:47 PST 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu` running on `doug-worker-1a` while building `lldb` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/181/builds/37289

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
5.260 [159/8/44] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
5.344 [158/8/45] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/BreakpointBase.cpp.o
5.358 [157/8/46] Linking CXX executable bin/offload-arch
5.517 [156/8/47] Linking CXX executable bin/clang-offload-bundler
6.262 [155/8/48] Building CXX object tools/lldb/source/Version/CMakeFiles/lldbVersion.dir/Version.cpp.o
6.483 [154/8/49] Linking CXX executable bin/clang-diff
6.493 [153/8/50] Linking CXX static library lib/liblldbVersion.a
7.580 [152/8/51] Linking CXX executable bin/clang-refactor
7.593 [151/8/52] Linking CXX executable bin/clang-installapi
9.355 [150/8/53] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Breakpoint.cpp.o
FAILED: tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Breakpoint.cpp.o 
/opt/ccache/bin/g++ -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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/tools/lldb-dap -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include -I/usr/include/python3.8 -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/../clang/include -isystem /usr/include/libxml2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-stringop-truncation -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Breakpoint.cpp.o -MF tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Breakpoint.cpp.o.d -o tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/Breakpoint.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Breakpoint.cpp
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/DAP.h:24,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Breakpoint.cpp:10:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:61:3: error: invalid abstract return type ‘lldb_dap::VariableStore’
   61 |   VariableStore operator=(const VariableStore &) = delete;
      |   ^~~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:48:7: note:   because the following virtual functions are pure within ‘lldb_dap::VariableStore’:
   48 | class VariableStore {
      |       ^~~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:54:3: note: 	‘virtual std::vector<lldb_dap::protocol::Variable> lldb_dap::VariableStore::GetVariables(lldb_dap::VariableReferenceStorage&, const lldb_dap::protocol::Configuration&, const lldb_dap::protocol::VariablesArguments&)’
   54 |   GetVariables(VariableReferenceStorage &storage,
      |   ^~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:57:25: note: 	‘virtual lldb::SBValue lldb_dap::VariableStore::FindVariable(llvm::StringRef)’
   57 |   virtual lldb::SBValue FindVariable(llvm::StringRef name) = 0;
      |                         ^~~~~~~~~~~~
9.433 [150/7/54] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/CommandPlugins.cpp.o
FAILED: tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/CommandPlugins.cpp.o 
/opt/ccache/bin/g++ -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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/tools/lldb-dap -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include -I/usr/include/python3.8 -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/../clang/include -isystem /usr/include/libxml2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-stringop-truncation -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/CommandPlugins.cpp.o -MF tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/CommandPlugins.cpp.o.d -o tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/CommandPlugins.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/CommandPlugins.cpp
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/DAP.h:24,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/CommandPlugins.h:12,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/CommandPlugins.cpp:9:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:61:3: error: invalid abstract return type ‘lldb_dap::VariableStore’
   61 |   VariableStore operator=(const VariableStore &) = delete;
      |   ^~~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:48:7: note:   because the following virtual functions are pure within ‘lldb_dap::VariableStore’:
   48 | class VariableStore {
      |       ^~~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:54:3: note: 	‘virtual std::vector<lldb_dap::protocol::Variable> lldb_dap::VariableStore::GetVariables(lldb_dap::VariableReferenceStorage&, const lldb_dap::protocol::Configuration&, const lldb_dap::protocol::VariablesArguments&)’
   54 |   GetVariables(VariableReferenceStorage &storage,
      |   ^~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/Variables.h:57:25: note: 	‘virtual lldb::SBValue lldb_dap::VariableStore::FindVariable(llvm::StringRef)’
   57 |   virtual lldb::SBValue FindVariable(llvm::StringRef name) = 0;
      |                         ^~~~~~~~~~~~
10.235 [150/6/55] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/DAPSessionManager.cpp.o
FAILED: tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/DAPSessionManager.cpp.o 
/opt/ccache/bin/g++ -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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/tools/lldb-dap -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include -I/usr/include/python3.8 -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/lldb/../clang/include -isystem /usr/include/libxml2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-stringop-truncation -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/DAPSessionManager.cpp.o -MF tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/DAPSessionManager.cpp.o.d -o tools/lldb/tools/lldb-dap/CMakeFiles/lldbDAP.dir/DAPSessionManager.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/DAPSessionManager.cpp
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/DAP.h:24,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/lldb/tools/lldb-dap/DAPSessionManager.cpp:9:

```

</details>

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


More information about the lldb-commits mailing list