diff options
| author | Keith Smiley <keithbsmiley@gmail.com> | 2025-02-11 08:04:51 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-11 08:04:51 -0800 |
| commit | 5bf42d3e2e83344db14fc0e33623840c53cebfc4 (patch) | |
| tree | e2a493ab9102f9913b7df51ec1657308fe4fe778 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ab93bd6959d6d2df1b44c1654938452dc30898b0 (diff) | |
[lldb] Fix ubsan violation with plugin loading (#126652)
This typedef doesn't match the signature below, specifically the
signature takes a `lldb:SBDebugger` vs this was defined as
`lldb:SBDebugger&`.
```
lldb/source/API/SBDebugger.cpp:199:13: runtime error: call to function lldb::PluginInitialize(lldb::SBDebugger) through pointer to incorrect function type 'bool (*)(lldb::SBDebugger &)'
.../CustomPlugin.cpp:134: note: lldb::PluginInitialize(lldb::SBDebugger) defined here
```
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
