From bb33c30ad89e28d5ff9f4d8073d4f9ee068f484d Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 8 Mar 2025 01:50:15 -0700 Subject: libfmt: Add %v for libobj to implement --- build-aux/measurestack/app_plugins.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'build-aux/measurestack') diff --git a/build-aux/measurestack/app_plugins.py b/build-aux/measurestack/app_plugins.py index 064ea06..1155098 100644 --- a/build-aux/measurestack/app_plugins.py +++ b/build-aux/measurestack/app_plugins.py @@ -507,6 +507,7 @@ class PicoFmtPlugin: return [x.as_qname() for x in self.known_fct.values()], False if "specifier_table" in line: return [ + # pico-fmt QName("conv_sint"), QName("conv_uint"), # QName("conv_double"), @@ -514,6 +515,8 @@ class PicoFmtPlugin: QName("conv_str"), QName("conv_ptr"), QName("conv_pct"), + # libfmt + QName("libfmt_conv_formatter"), ], False return None @@ -548,7 +551,7 @@ class PicoSDKPlugin: *, get_init_array: typing.Callable[[], typing.Collection[QName]], ) -> None: - # grep for '__attribute__((constructor))'. + # grep for '__attribute__((constructor))' / '[[gnu::constructor]]'. self.get_init_array = get_init_array self.app_init_array = None @@ -952,7 +955,9 @@ class LibGCCPlugin: return False def init_array(self) -> typing.Collection[QName]: - return [] + return [ + QName("libfmt_install_formatter"), + ] def extra_includes(self) -> typing.Collection[BaseName]: return [] -- cgit v1.2.3-2-g168b