summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-02-18 14:58:12 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-03-02 13:07:16 -0800
commit396865576f9fabfd03d03249d0e1a97e3b49798d (patch)
treec044acbd5e9b439799d740f606b2d1f34d160835 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent2cd13e8b0000657dcba8f5fb178a4c4b143495bc (diff)
[flang] Accommodate module subprograms defined in the same module
The symbol table, name resolution, and semantic checks for module subprograms -- esp. for MODULE FUNCTION and MODULE SUBROUTINE, but also MODULE PROCEDURE -- essentially assumed that the subprogram would be defined in a submodule of the (sub)module containing its interface. However, it is conforming to instead declare a module subprogram in the *same* (sub)module as its interface, and we need to handle that case. Since this case involves two symbols in the same scope with the same name, the symbol table details for subprograms have been extended with a pointer to the original module interface, rather than relying on searching in scopes. Differential Revision: https://reviews.llvm.org/D120839
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions