summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2024-02-28 08:48:47 +0100
committerGitHub <noreply@github.com>2024-02-28 08:48:47 +0100
commitf81d5e549f0e02e1bfc5ccaf6341ad35d4ea8e98 (patch)
tree324c0a0d1d4e478bf50ceb7472da86fc6b1b3fe2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent28c29fbec3057692a7985819d799a9e5d47eb2d1 (diff)
[flang] Handle OPTIONAL polymorphic captured in internal procedures (#82042)
The current code was doing an unconditional `fir.store %optional_box to %host_link` which caused a crash when %optional_box is absent because is is attempting to copy a descriptor from a null address. Add code to conditionally do the copy at runtime. The polymorphic array case with lower bounds can be handled with the array case that already deals with descriptor argument with a few modifications, just use that.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions