summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-09-05 16:48:22 +0100
committerGitHub <noreply@github.com>2024-09-05 16:48:22 +0100
commit2f6e4ed389a6589f340d7efab2b0c7ee22c3d086 (patch)
treeff7c670e5dd7083d2571ea9119ba76f70f8f4e36 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent56b2be4a7608770bae5db9d467f50c232c3cf19a (diff)
[IR] Check parameters of target extension types on construction (#107268)
Since IR Types are immutable it makes sense to check them on construction instead of in the IR Verifier pass. This patch checks that some TargetExtTypes are well-formed in the sense that they have the expected number of type parameters and integer parameters. When called from LLParser it gives a diagnostic message. When called from anywhere else it just asserts that they are well-formed.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions