aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-04-13 00:16:34 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-04-13 00:16:34 +0000
commit504dae1d379c8f2488bb9d1aa68af27177e714d8 (patch)
treecc92def0b58ee75f830123b6a288a43edc2d60bf /libstdc++-v3
parent3c742621ed28540cf42d4cfbc2bf03433cd26738 (diff)
downloadgcc-504dae1d379c8f2488bb9d1aa68af27177e714d8.zip
gcc-504dae1d379c8f2488bb9d1aa68af27177e714d8.tar.gz
gcc-504dae1d379c8f2488bb9d1aa68af27177e714d8.tar.bz2
Daily bump.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog49
1 files changed, 49 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f0299ad..d5dcded 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,52 @@
+2022-04-12 Jonathan Wakely <jwakely@redhat.com>
+
+ * acinclude.m4 (GLIBCXX_ENABLE_BACKTRACE): Check for mmap.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+2022-04-12 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/stacktrace (basic_stacktrace::current): Reallocate
+ a smaller container if the unused capacity is larger than the
+ used size.
+
+2022-04-12 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/stacktrace (basic_stacktrace): Use _Impl::_M_clone
+ or _Impl::_M_assign to initialize elements in allocated storage.
+ (basic_stacktrace::_M_clear()): Use _Impl::_M_resize instead of
+ _Impl::_M_destroy.
+ (basic_stacktrace::_Impl::_M_destroy()): Replace with ...
+ (basic_stacktrace::_Impl::_M_resize(size_type, allocator&)): New
+ function.
+ (basic_stacktrace::_Impl::_M_push_back): Use _M_xclone. Construct
+ new element using allocator.
+ (basic_stacktrace::_Impl::_M_clone): New function.
+ (basic_stacktrace::_Impl::_M_xclone): New function.
+ (basic_stacktrace::_Impl::_M_assign): New function.
+
+2022-04-12 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/stacktrace (basic_stacktrace::_Impl::_M_allocate):
+ Use nothrow new instead of try block for std::allocator.
+ (basic_stacktrace::_Impl::_M_deallocate): Use delete for
+ std::allocator.
+
+2022-04-12 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/stacktrace (basic_stacktrace::current): Replace
+ calls to _M_reserve and _S_curr_cb with call to _M_prepare.
+ Check return value of backtrace_simple when max depth given.
+ (basic_stacktrace::_M_reserve): Remove.
+ (basic_stacktrace::_S_curr_cb): Remove.
+ (basic_stacktrace::_M_prepare(size_type)): New function to
+ reserve initial capacity and return callback.
+ (basic_stacktrace::_Impl::_M_allocate): Remove check for 0 < n
+ and remove redundant zeroing of _M_frames and _M_capacity.
+ (basic_stacktrace::_Impl::_M_push_back): Add [[unlikely]]
+ attribute. Assign _Impl instead of swapping.
+ * testsuite/19_diagnostics/stacktrace/current.cc: New test.
+
2022-04-11 Jonathan Wakely <jwakely@redhat.com>
* include/std/stacktrace (basic_stacktrace::_Impl::_M_allocate):