gcc/libstdc++-v3/include
Jeff Chapman II ea63396f6b libstdc++: add experimental Contracts support
This patch adds the library support for the experimental C++ Contracts
implementation.  This now consists only of a default definition of the
violation handler, which users can override through defining their own
version.  To avoid ABI stability problems with libstdc++.so this is added to
a separate -lstdc++exp static library, which the driver knows to add when it
sees -fcontracts.

Co-authored-by: Andrew Marmaduke <amarmaduke@lock3software.com>
Co-authored-by: Jason Merrill  <jason@redhat.com>

libstdc++-v3/ChangeLog:

	* acinclude.m4 (glibcxx_SUBDIRS): Add src/experimental.
	* include/Makefile.am (experimental_headers): Add contract.
	* include/Makefile.in: Regenerate.
	* src/Makefile.am (SUBDIRS): Add experimental.
	* src/Makefile.in: Regenerate.
	* configure: Regenerate.
	* src/experimental/contract.cc: New file.
	* src/experimental/Makefile.am: New file.
	* src/experimental/Makefile.in: New file.
	* include/experimental/contract: New file.
2022-11-18 21:40:29 -05:00
..
backward libstdc++: Add preprocessor conditions for freestanding [PR106953] 2022-09-16 21:47:19 +01:00
bits libstdc++: Allow std::to_chars for 128-bit integers in strict mode 2022-11-13 01:10:44 +00:00
c Update copyright years. 2022-01-03 10:42:10 +01:00
c_compatibility libstdc++: Add _Exit to <stdlib.h> for freestanding 2022-09-21 08:44:21 +01:00
c_global libstdc++: Small extended float support tweaks 2022-10-31 16:49:04 +01:00
c_std libstdc++: Declare std::c8rtomb and std::mbrtoc8 if provided by the C library 2022-01-18 16:31:02 +00:00
debug libstdc++: Add __gnu_debug::basic_string<>::compare overloads 2022-10-12 21:50:21 +02:00
decimal Update copyright years. 2022-01-03 10:42:10 +01:00
experimental libstdc++: add experimental Contracts support 2022-11-18 21:40:29 -05:00
ext libstdc++: Fix -Wsystem-headers warnings 2022-11-08 17:35:15 +00:00
parallel Update copyright years. 2022-01-03 10:42:10 +01:00
precompiled libstdc++: Implement C++20 <format> [PR104166] 2022-11-13 01:10:44 +00:00
pstl libstdc++: Declare const global variables inline 2022-11-06 11:30:47 -05:00
std libstdc++: Ensure std::to_chars overloads all declared in <format> [PR107720] 2022-11-17 00:34:42 +00:00
tr1 libstdc++: Mark headers that must be hosted as such [PR103626] 2022-10-03 15:43:48 +01:00
tr2 Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.am libstdc++: add experimental Contracts support 2022-11-18 21:40:29 -05:00
Makefile.in libstdc++: add experimental Contracts support 2022-11-18 21:40:29 -05:00