Commit 1acd89b
Update use of GetChildAtIndex to reflect changes in API for next version of LLDB
Summary:
The API for GetChildAtIndex was changed in llvm/llvm-project#140065. So that "True" at the end means something different now ("treat_as_array" rather than "can_create_synthetic"). This change will be present in the next version of LLDB used internally.
Happily it looks like there's a way to update things that both doesn't break the tests with the current version while updating it for the next version; otherwise we'd have to use something like [this](
https://www.internalfb.com/code/fbsource/[959f6221198f]/fbcode/sand/tests/lldb_test_case.py?lines=53) in order to gate things (leaving this as a note for future changes).
Reviewed By: zhyty
Differential Revision: D79487113
fbshipit-source-id: 946f0f6d8fee72cfaf85c710fb613dda89003c6f1 parent 6da7a31 commit 1acd89b
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments