summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-02-08 13:39:59 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-02-11 16:55:05 -0800
commitfc510998f7c287df2bc1304673e0cd8452d50b31 (patch)
tree23dd19181f66e904692b25244d8d00697d43f3cb /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
parentdafe4c0b5cd07fa97c1954e0cf21aa90d558578f (diff)
[flang] Fix edge case in USE-associated generics
It is generally an error when a USE-associated name clashes with a name defined locally, but not in all cases; a generic interface can be both USE-associated and locally defined. This works, but not when there is also a local subprogram with the same name, which is valid when that subprogram is a specific of the local generic. A bogus error issues at the point of the USE because name resolution will have already defined a symbol for the local subprogram. The solution is to collect the names of local generics when creating the program tree, and then create their symbols as well if their names are also local subprograms, prior to any USE association processing. Differential Revision: https://reviews.llvm.org/D119566
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions