[Lldb-commits] [lldb] Fix #168467 (r598213) (PR #169232)

via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 23 12:40:00 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/unittests/Expression/CMakeFiles/ExpressionTests.dir/DWARFExpressionTest.cpp.o</summary>

```
FAILED: tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/DWARFExpressionTest.cpp.o
sccache /opt/llvm/bin/clang++ -DARCH_AARCH64 -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLLVM_BUILD_STATIC -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/unittests/Expression -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression -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/lldb/unittests -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include -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  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/DWARFExpressionTest.cpp.o -MF tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/DWARFExpressionTest.cpp.o.d -o tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/DWARFExpressionTest.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:71:34: error: use of undeclared identifier 'req'
71 |     for ([[maybe_unused]] auto [&req, &byes] : m_memory) {
|                                  ^~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:71:46: error: expected unqualified-id
71 |     for ([[maybe_unused]] auto [&req, &byes] : m_memory) {
|                                              ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:74:3: error: expected ';' in 'for' statement specifier
74 |   }
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:74:3: error: expected expression
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:74:3: error: expected ';' in 'for' statement specifier
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:74:4: error: expected expression
74 |   }
|    ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:74:4: error: expected ')'
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:71:9: note: to match this '('
71 |     for ([[maybe_unused]] auto [&req, &byes] : m_memory) {
|         ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:74:4: error: expected expression
74 |   }
|    ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:74:4: error: expected '}'
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:69:56: note: to match this '{'
69 |   MockMemory(Map memory) : m_memory(std::move(memory)) {
|                                                        ^
9 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/169232


More information about the lldb-commits mailing list