llvm-project/libcxx/lib/abi
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
..
3.9 Fix handling of Apple target triple when checking the ABI lists. 2017-01-20 00:57:08 +00:00
4.0 Update ABI list for 4.0 release 2017-03-02 19:59:53 +00:00
5.0 Update ABI lists after change in r333467. 2018-05-29 23:52:14 +00:00
6.0 Update ABI lists after change in r333467. 2018-05-29 23:52:14 +00:00
8.0 Add ABI list directories for 8.0 2019-02-10 04:09:46 +00:00
CHANGELOG.TXT Fix -fsanitize=vptr badness in <__debug> 2019-03-05 02:10:31 +00:00
CMakeLists.txt [libcxx] Fix the definition of the check-cxx-abilist target on Darwin 2018-09-22 18:39:38 +00:00
README.TXT
x86_64-apple-darwin.v1.abilist Fix -fsanitize=vptr badness in <__debug> 2019-03-05 02:10:31 +00:00
x86_64-apple-darwin.v2.abilist Fix -fsanitize=vptr badness in <__debug> 2019-03-05 02:10:31 +00:00
x86_64-unknown-linux-gnu.v1.abilist Fix -fsanitize=vptr badness in <__debug> 2019-03-05 02:10:31 +00:00

README.TXT

This directory contains abi lists representing the symbols exported
by the libc++ library. The lists are generated using sym_extract.py.

Every time a symbol is added or removed from the libc++ library each of the
lists *MUST* be updated to reflect the changes.

TODO Add more documentation about generating and using the lists.
TODO Add more documentation about the build configuration the lists are generated against.