libstdc++: std::stacktrace tweaks
commitcbd0fe22a5ced9751d2450dc4fd6fe3525c2fc02
authorJonathan Wakely <jwakely@redhat.com>
Wed, 15 Nov 2023 09:17:49 +0000 (15 09:17 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 15 Nov 2023 11:16:49 +0000 (15 11:16 +0000)
tree704e6e0d360ad4fd2f46a137b974a2477b1d9d10
parent7c16f7a154f91d61f902e2c9e63b00656156016f
libstdc++: std::stacktrace tweaks

Fix a typo in a string literal and make the new hash.cc test gracefully
handle missing stacktrace data (see PR 112541).

libstdc++-v3/ChangeLog:

* include/std/stacktrace (basic_stacktrace::at): Fix class name
in exception message.
* testsuite/19_diagnostics/stacktrace/hash.cc: Do not fail if
current() returns a non-empty stacktrace.
libstdc++-v3/include/std/stacktrace
libstdc++-v3/testsuite/19_diagnostics/stacktrace/hash.cc