aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-extensions.swig
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-09-25 10:10:39 +0000
committerJohn McCall <rjmccall@apple.com>2012-09-25 10:10:39 +0000
commit82fb892019bd1784153587a69d5bdfc72736d0ee (patch)
treec4f9f3b9512d8f2b045d115e43066a5985c499e2 /lldb/scripts/Python/python-extensions.swig
parent8b907e8acbacc4485b0c5cc4777d5d5844ece52d (diff)
downloadllvm-82fb892019bd1784153587a69d5bdfc72736d0ee.zip
llvm-82fb892019bd1784153587a69d5bdfc72736d0ee.tar.gz
llvm-82fb892019bd1784153587a69d5bdfc72736d0ee.tar.bz2
When performing a ::delete of an object with a virtual destructor,
be sure to delete the complete object pointer, not the original pointer. This is necessary if the base being deleted is at a non-zero offset in the complete object. This is only required for objects with virtual destructors because deleting an object via a base-class subobject when the base does not have a virtual destructor is undefined behavior. Noticed while reviewing the last four years of cxx-abi-dev activity. llvm-svn: 164597
Diffstat (limited to 'lldb/scripts/Python/python-extensions.swig')
0 files changed, 0 insertions, 0 deletions