[Lldb-commits] [lldb] [lldb][test] Fix flaky DIL array subscript test by reducing array indexes (PR #141738)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed May 28 08:19:36 PDT 2025
================
@@ -19,8 +19,6 @@ def expect_var_path(self, expr, compare_to_framevar=False, value=None, type=None
self.runCmd("settings set target.experimental.use-DIL true")
self.assertEqual(value_dil.GetValue(), value_frv.GetValue())
- # int_arr[100] sometimes points to above the stack region, fix coming soon.
----------------
DavidSpickett wrote:
> Does frame var suffer from the same problem?
```
(lldb) frame var int_arr[200]
(int) int_arr[200] = <read memory from 0xc812500160 failed (0 of 4 bytes read)>
```
With DIL on:
```
(lldb) settings set target.experimental.use-DIL true
(lldb) frame var int_arr[200]
(int) int_arr[200] = <read memory from 0xc812500160 failed (0 of 4 bytes read)>
```
Which I think means both are reporting it the same way, and that way seems fine to me.
https://github.com/llvm/llvm-project/pull/141738
More information about the lldb-commits
mailing list