summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2022-03-03 10:07:34 +0100
committerJean Perier <jperier@nvidia.com>2022-03-03 10:08:18 +0100
commit013160f6e26c840140cfcf0b1e8735a2d04e379e (patch)
treed11e96728c309a6763df90d3f8b86d179c01090e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent9404d4429921f568fd60eee8f1975a94b8c3f67a (diff)
[flang] Support PDT type descriptors in codegen
This change updates the mapping of derived types and type descriptor object names to support kind parametrized derived types (PDT). It moves the custom name mapping to the internal name utility. To improve robustness and error reporting, type descriptors are also now required to be generated in all compilation unit that manipulates derived types. The previous codegen relied on the fact that descriptors not defined in the current FIR module were available externally. Errors with missing type descriptors were only caught at link time. This patch makes derived type definition mandatory, except if the derived types are expected to not have derived type descriptors (builtin types), or if the newly added debug switch `--ignore-missing-type-desc` is set. In those cases, a null pointer is used as type descriptor pointer. The debug switch intends to help testing FIR to LLVM passes without having to bother providing type descriptor data structures that are normally built by the front-end. Differential Revision: https://reviews.llvm.org/D120804
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions