[all-commits] [llvm/llvm-project] 5bf42d: [lldb] Fix ubsan violation with plugin loading (#1...
Keith Smiley via All-commits
all-commits at lists.llvm.org
Tue Feb 11 08:05:16 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5bf42d3e2e83344db14fc0e33623840c53cebfc4
https://github.com/llvm/llvm-project/commit/5bf42d3e2e83344db14fc0e33623840c53cebfc4
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M lldb/source/API/SBDebugger.cpp
Log Message:
-----------
[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
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list