diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-04-12 17:17:20 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-04-12 22:38:31 +0100 |
commit | b2c007b87dcd5db5d59447de2081777aea66f35f (patch) | |
tree | 285fac827988c1854b25808b40f2dfea0c5429a0 /gcc | |
parent | 7cf88759957a7006e1e1d0a82a1a4de3c4db109e (diff) | |
download | gcc-b2c007b87dcd5db5d59447de2081777aea66f35f.zip gcc-b2c007b87dcd5db5d59447de2081777aea66f35f.tar.gz gcc-b2c007b87dcd5db5d59447de2081777aea66f35f.tar.bz2 |
libstdc++: shrink-to-fit in std::basic_stacktrace::current(skip, max)
If a large stacktrace is reduced to a max depth that is less than half
the capacity it will now be reallocated to remove the unused capacity.
libstdc++-v3/ChangeLog:
* include/std/stacktrace (basic_stacktrace::current): Reallocate
a smaller container if the unused capacity is larger than the
used size.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions