[Lldb-commits] [lldb] [lldb/Target] Track originating StackFrameList to avoid circular dependencies (PR #170226)

via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 1 15:53:31 PST 2025


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/Target/CMakeFiles/lldbTarget.dir/StackFrameList.cpp.o</summary>

```
FAILED: tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/StackFrameList.cpp.o
sccache /opt/llvm/bin/clang++ -DGTEST_HAS_RTTI=0 -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/Target -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target -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  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/StackFrameList.cpp.o -MF tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/StackFrameList.cpp.o.d -o tools/lldb/source/Target/CMakeFiles/lldbTarget.dir/StackFrameList.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/StackFrameList.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/StackFrameList.cpp:333:36: error: use of undeclared identifier 'shared_from_this'
333 |     synth_frame->m_frame_list_wp = shared_from_this();
|                                    ^~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/StackFrameList.cpp:449:46: error: use of undeclared identifier 'shared_from_this'
449 |           unwind_frame_sp->m_frame_list_wp = shared_from_this();
|                                              ^~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/StackFrameList.cpp:484:42: error: use of undeclared identifier 'shared_from_this'
484 |       unwind_frame_sp->m_frame_list_wp = shared_from_this();
|                                          ^~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/StackFrameList.cpp:509:37: error: use of undeclared identifier 'shared_from_this'
509 |         frame_sp->m_frame_list_wp = shared_from_this();
|                                     ^~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/source/Target/StackFrameList.cpp:566:40: error: use of undeclared identifier 'shared_from_this'
566 |       prev_frame_sp->m_frame_list_wp = shared_from_this();
|                                        ^~~~~~~~~~~~~~~~
5 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/170226


More information about the lldb-commits mailing list