diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-04-27 14:29:34 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-04-27 15:48:32 +0100 |
commit | a849584587c317e47f7581df2181efabb948d08f (patch) | |
tree | 25e717b9a3eecc1afebb29cbe0aee70ee9967a54 /libstdc++-v3/config/abi/post/i486-linux-gnu/baseline_symbols.txt | |
parent | e07ea03fce26197d31a9654f4ba217e842049d65 (diff) | |
download | gcc-a849584587c317e47f7581df2181efabb948d08f.zip gcc-a849584587c317e47f7581df2181efabb948d08f.tar.gz gcc-a849584587c317e47f7581df2181efabb948d08f.tar.bz2 |
libstdc++: Add pretty printer for std::atomic
For the atomic specializations for shared_ptr and weak_ptr we can reuse
the existing SharedPointerPrinter, with a small tweak.
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py (SharedPointerPrinter): Add
support for atomic<shared_ptr<T>> and atomic<weak_ptr<T>>.
(StdAtomicPrinter): New printer.
(build_libstdcxx_dictionary): Register new printer.
* testsuite/libstdc++-prettyprinters/cxx11.cc: Test std::atomic.
* testsuite/libstdc++-prettyprinters/cxx20.cc: Test atomic smart
pointers.
Diffstat (limited to 'libstdc++-v3/config/abi/post/i486-linux-gnu/baseline_symbols.txt')
0 files changed, 0 insertions, 0 deletions