`lldb_private::ScriptInterpreterPython::CommandDataPython` inherits from `lldb_private::BreakpointOptions::CommandData`, but the latter does not have a virtual destructor. This leads to a new-delete-type-mismatch error when running certain tests (such as `functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py`) under asan.
: user_source(user_source), script_source(), interpreter(interp),
stop_on_error(true) {}
- ~CommandData() = default;
+ virtual ~CommandData() = default;
static const char *GetSerializationKey() { return "BKPTCMDData"; }