]> 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>
Mon, 11 Jan 2021 15:03:35 +0000 (15:03 +0000)
commit4fd49da23bf579b84940bd96bf942bd99cfa187a
tree89ee2bb1e91303223cf08cac1ecb5289ea1f213e
parentf0e81957b2b5e0f2b832adf64d2c70fc601c3466
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.

(cherry picked from commit dc2b372ed1b1e9af6db45051cff95478c7616807)
libstdc++-v3/python/libstdcxx/v6/printers.py
This page took 0.056139 seconds and 5 git commands to generate.