aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorMarkus Böck <markus.boeck02@gmail.com>2022-02-03 09:08:27 +0100
committerMarkus Böck <markus.boeck02@gmail.com>2022-02-03 09:08:27 +0100
commit7a9e3ef77a3c4dc1cffb8ae768db6207fdab1877 (patch)
treefaf1e0f67eea43d66c9be7bda4b4529867893d51 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parent67a9f82cc91a3440a11f6544e29df2fc6f4f96cf (diff)
downloadllvm-7a9e3ef77a3c4dc1cffb8ae768db6207fdab1877.zip
llvm-7a9e3ef77a3c4dc1cffb8ae768db6207fdab1877.tar.gz
llvm-7a9e3ef77a3c4dc1cffb8ae768db6207fdab1877.tar.bz2
[mlir] Fix crash in RewriterGen when a `TypeConstraint` is not given an argument
The code assumes that a TypeConstraint in the additional constraints list specifies precisely one argument. If the user were to not specify any, it'd result in a crash. If given more than one, the additional ones were ignored. This patch fixes the crash and disallows user errors by adding a check that a single argument is supplied to the TypeConstraint Differential Revision: https://reviews.llvm.org/D118763
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions