summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-04-18 12:48:33 -0700
committerGitHub <noreply@github.com>2025-04-18 12:48:33 -0700
commit21a406c92c6cd79116a03443bccc47c1700d73db (patch)
tree107d7f8adff87a181713b497dc5764c2781f6945 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent34f34665ac11a6bbbc641696ffd869cce5b90920 (diff)
[flang] Improve runtime SAME_TYPE_AS() (#135670)
The present implementation of the intrinsic function SAME_TYPE_AS() yields false positive .TRUE. results for distinct derived types that happen to have the same name. Replace with an implementation that can now depend on derived type information records being the same type if and only if they are at the same location, or are PDT instantiations of the same uninstantiated derived type. And ensure that the derived type information includes references from instantiated PDTs to their original types. (The derived type information format supports these references already, but they were not being set, perhaps because the current faulty SAME_TYPE_AS implementation didn't need them, and nothing else does.) Fixes https://github.com/llvm/llvm-project/issues/135580.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions