summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorGabor Marton <martongabesz@gmail.com>2018-07-12 11:50:21 +0000
committerGabor Marton <martongabesz@gmail.com>2018-07-12 11:50:21 +0000
commit6e1510cfeb2e797d7414aa95dac5b62538bfb148 (patch)
treeaed04fd91e6648216a290bcf43e977b65e47cfca /lldb/source/Plugins/ScriptInterpreter/Python
parent2557e437fd8bb393fd1b7394cce3d77cbe2501eb (diff)
downloadbcm5719-llvm-6e1510cfeb2e797d7414aa95dac5b62538bfb148.tar.gz
bcm5719-llvm-6e1510cfeb2e797d7414aa95dac5b62538bfb148.zip
[ASTImporter] Fix infinite recursion on function import with struct definition in parameters
Summary: Importing a function having a struct definition in the parameter list causes a crash in the importer via infinite recursion. This patch avoids the crash and reports such functions as not supported. Unit tests make sure that normal struct definitions inside function bodies work normally on the other hand and LLDB-like type imports also do. Reviewers: a.sidorin, martong Differential Revision: https://reviews.llvm.org/D47946 Patch by Zoltan Gera! llvm-svn: 336898
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud