]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix std::any pretty printer [PR 68735]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 2 Dec 2020 21:39:08 +0000 (21:39 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 2 Dec 2020 21:39:08 +0000 (21:39 +0000)
commitdc2b372ed1b1e9af6db45051cff95478c7616807
treece0008f72deb04eb3f14f9c916dae310bebaf5d2
parent2847d7d28ea79e2f93049fad16f931b6705c9fff
libstdc++: Fix std::any pretty printer [PR 68735]

This fixes errors seen on powerpc64 (big endian only) due to the
printers for std::any and std::experimental::any being unable to find
the manager function.

libstdc++-v3/ChangeLog:

PR libstdc++/65480
PR libstdc++/68735
* python/libstdcxx/v6/printers.py (function_pointer_to_name):
New helper function to get the name of a function from its
address.
(StdExpAnyPrinter.__init__): Use it.
libstdc++-v3/python/libstdcxx/v6/printers.py
This page took 0.057215 seconds and 6 git commands to generate.