[Lldb-commits] [lldb] [lldb] Guard DW_OP_convert against null DWARF unit and empty stack (PR #207008)

via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 2 15:55:47 PDT 2026


github-actions[bot] wrote:

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

* 33753 tests passed
* 544 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### lldb-unit
<details>
<summary>lldb-unit.Expression/_/ExpressionTests/DWARFExpression/DW_OP_convert</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Expression/./ExpressionTests --gtest_filter=DWARFExpression.DW_OP_convert
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/DWARFExpressionTest.cpp:588
Value of: llvm::detail::TakeError(Evaluate({DW_OP_convert, 0x00}, nullptr, nullptr).takeError())
Expected: failed with Error whose message has 1 element that is equal to "DW_OP_convert needs an argument"
  Actual: failed  (DW_OP_convert needs at least 1 stack entries (stack has 0 entries)), whose element #0 doesn't match


```
</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/207008


More information about the lldb-commits mailing list