llvm-project
32c51ee2 - [lldb] Implement PluginInfo move constructor (#185137)

Commit
56 days ago
[lldb] Implement PluginInfo move constructor (#185137) The default move constructor wasn't nulling out the callbacks. Combined with the fact that llvm::sys::DynamicLibrary has no explicit move constructor and hence library.isValid() still returned true after having moved-from, we would end up calling plugin_term_callback() when destroying the moved-from PluginInfo, calling it prematurely.
Author
Parents
Loading