summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorLuohao Wang <luohaothu@live.com>2025-01-28 21:40:47 +0800
committerGitHub <noreply@github.com>2025-01-28 14:40:47 +0100
commite84f6b6a88c1222d512edf0644c8f869dd12b8ef (patch)
treee806685034200210fff85ad6976ecec69591e9ba /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent13dcc95dcd4999ff99f2de89d881f1aed5b21709 (diff)
[mlir] Fix conflict of user defined reserved functions with internal prototypes (#123378)
On lowering from `memref` to LLVM, `malloc` and other intrinsic functions from `libc` will be declared in the current module. User's redefinition of these reserved functions will poison the internal analysis with wrong prototype. This patch adds assertion on the found function's type and reports if it mismatch with the intended type. Related to #120950 --------- Co-authored-by: Luohao Wang <Luohaothu@users.noreply.github.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions