gcc/libstdc++-v3
Jonathan Wakely d574c8aafe libstdc++: Define memory resource key functions non-inline (PR93208)
This prevents the vtables and RTTI from being emitted in every object
file that uses memory_resource and monotonic_buffer_resource.

Objects compiled by GCC 9.1 or 9.2 will contain inline definitions of
the destructors, vtable and RTTI, but this is harmless. The inline
definitions have identical effects to the ones that are now defined in
libstdc++.so so it doesn't matter if the inline ones are used instead of
calling the symbols exported from the runtime library.

	PR libstdc++/93208
	* config/abi/pre/gnu.ver: Add new exports.
	* include/std/memory_resource (memory_resource::~memory_resource()):
	Do not define inline.
	(monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise.
	* src/c++17/memory_resource.cc (memory_resource::~memory_resource()):
	Define.
	(monotonic_buffer_resource::~monotonic_buffer_resource()): Define.
	* testsuite/20_util/monotonic_buffer_resource/93208.cc: New test.

From-SVN: r280044
2020-01-09 13:18:20 +00:00
..
config libstdc++: Define memory resource key functions non-inline (PR93208) 2020-01-09 13:18:20 +00:00
doc Update copyright years. 2020-01-01 12:51:42 +01:00
include libstdc++: Define memory resource key functions non-inline (PR93208) 2020-01-09 13:18:20 +00:00
libsupc++ libstdc++: Define __cpp_lib_three_way_comparison conditionally 2020-01-06 12:06:41 +00:00
po Update copyright years. 2020-01-01 12:51:42 +01:00
python Update copyright years. 2020-01-01 12:51:42 +01:00
scripts Update copyright years. 2020-01-01 12:51:42 +01:00
src libstdc++: Define memory resource key functions non-inline (PR93208) 2020-01-09 13:18:20 +00:00
testsuite libstdc++: Define memory resource key functions non-inline (PR93208) 2020-01-09 13:18:20 +00:00
ChangeLog libstdc++: Define memory resource key functions non-inline (PR93208) 2020-01-09 13:18:20 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016 Update copyright years. 2017-01-01 13:07:43 +01:00
ChangeLog-2017 Update copyright years. 2018-01-03 11:03:58 +01:00
ChangeLog-2018 Update copyright years. 2019-01-01 13:31:55 +01:00
ChangeLog-2019 Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.am Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.in PR libstdc++/89466 avoid slow xsltproc command in configure 2019-02-27 11:25:44 +00:00
README
acinclude.m4 VxWorks has_nanosleep for libstdc++ enable-libstdcxx-time auto 2019-12-30 22:36:14 +00:00
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
config.h.in libstdc++: Add full steady_clock support to shared_timed_mutex 2019-12-02 16:23:10 +00:00
configure VxWorks has_nanosleep for libstdc++ enable-libstdcxx-time auto 2019-12-30 22:36:14 +00:00
configure.ac libstdc++: Add full steady_clock support to shared_timed_mutex 2019-12-02 16:23:10 +00:00
configure.host [ARM/FDPIC v6 24/24] [ARM] FDPIC: Handle arm*-*-uclinuxfdpiceabi in libstdc++ configure scripts 2019-09-10 10:13:20 +02:00
crossconfig.m4 Define HAVE_ for math long double functions declared in vxworks headers 2019-12-25 06:43:22 +00:00
fragment.am PR libstdc++/86450 use -Wabi=2 and simplify -Werror use 2018-07-17 14:18:47 +01:00
linkage.m4

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.