llvm-project/libcxx/lib
Eric Fiselier 1c014d75b4 Fix -fsanitize=vptr badness in <__debug>
Summary:

This patch fixes a lifetime bug when inserting a new container into the debug database. It is
diagnosed by UBSAN when debug mode is enabled. This patch corrects how nodes are constructed
during insertion.

The fix requires unconditionally breaking the debug mode ABI. Users should not expect ABI
stability from debug mode.

Reviewers: ldionne, serge-sans-paille, EricWF

Reviewed By: EricWF

Subscribers: mclow.lists, christof, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D58011

llvm-svn: 355367
2019-03-05 02:10:31 +00:00
..
abi Fix -fsanitize=vptr badness in <__debug> 2019-03-05 02:10:31 +00:00
CMakeLists.txt [libc++] Remove old CMake workaround 2019-03-04 20:52:14 +00:00
libc++abi-new-delete.exp [libcxx] Fix check-cxx-abilist on OS X 2017-04-15 05:41:45 +00:00
libc++abi.exp ABI: Fix for undefined "___cxa_deleted_virtual" symbol in MacOSX 2017-09-17 20:59:43 +00:00
libc++abi2.exp [libcxx] Remove bad_array_length 2018-11-29 19:44:57 +00:00
libc++sjlj-abi.exp ABI: Fix for undefined "___cxa_deleted_virtual" symbol in MacOSX 2017-09-17 20:59:43 +00:00
libc++unexp.exp
notweak.exp
weak.exp