[all-commits] [llvm/llvm-project] 0de3d0: [lldb][asan] Mark destructor as virtual to allow s...
Jordan Rupprecht via All-commits
all-commits at lists.llvm.org
Thu Aug 20 09:25:22 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0de3d0c61266675cd5e688a09e02124518e01935
https://github.com/llvm/llvm-project/commit/0de3d0c61266675cd5e688a09e02124518e01935
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2020-08-20 (Thu, 20 Aug 2020)
Changed paths:
M lldb/include/lldb/Breakpoint/BreakpointOptions.h
Log Message:
-----------
[lldb][asan] Mark destructor as virtual to allow subclasses.
`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.
More information about the All-commits
mailing list