diff options
| author | Dudeldu <mustermann.informatik@gmail.com> | 2023-10-20 15:27:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-20 15:27:11 +0200 |
| commit | 75d6f508f86026a0eb938ff9df5afc7a1dcf6ec3 (patch) | |
| tree | 28f1b5bfe8bb60879430a13a3abe58da6c88697c /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp | |
| parent | 97e06a0d83a55ff67e5fd0c7328233c44415de33 (diff) | |
[Interpreter] Add initialization of array members (#66172)
Currently, the interpreter does not initialize `undef` constants of
aggregate types correctly (with respect to arrays).
The initialization of the array elements is skipped although it is valid
to directly write to them. Instructions like
`insertvalue {i32, [4 x i32]} undef, i32 1, 1, 2` therefore lead to a
crash.
This is fixed by initializing array values just as fixed-size vectors or
structs.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
