summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorAbid Qadeer <haqadeer@amd.com>2024-09-18 13:52:23 +0100
committerGitHub <noreply@github.com>2024-09-18 13:52:23 +0100
commit76347ee9584bfcdaceb4ee48d39441c29aeb2124 (patch)
tree167754eb98d883b79a630f9df90bb13eb7417246 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent9690b30ba9acc3deb1068deb37f3b507826b27fe (diff)
[flang][debug] Improve handling of dummy character arguments. (#108283)
As described in #107998, we were not handling the case well when length of the character is not part of the type. This PR handles one of the case when the length can be calculated by looking at the result of corresponding `fir.unboxchar`. The DIStringTypeAttr have a `stringLength` field that can be a variable. We create an artificial variable that will hold the length and used as value of `stringLength` field. The variable is then attached with a `DbgValueOp`. Fixes #107998.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions