summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2021-06-08 16:32:03 -0400
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2021-06-14 23:28:04 -0400
commit79f9cfbc21e02555258523ea77c3dd389891cfb3 (patch)
tree57ad87ed6cecf4e742a3adfb6167edf1d7f0344a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent1b87573aaf8ad6a0e1edaac7ab7b34a28f8f41bb (diff)
Do not merge LocalInstantiationScope for template specialization
A lambda in a function template may be recursively instantiated. The recursive lambda will cause a lambda function instantiated multiple times, one inside another. The inner LocalInstantiationScope should not be marked as MergeWithParentScope since it already has references to locals properly substituted, otherwise it causes assertion due to the check for duplicate locals in merged LocalInstantiationScope. Reviewed by: Richard Smith Differential Revision: https://reviews.llvm.org/D98068
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions