[libcxx-commits] [PATCH] D110494: [libc++][format][1/6] Reduce binary size.
Victor Zverovich via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 21 09:10:12 PST 2021
vitaut added inline comments.
================
Comment at: libcxx/include/format:519
_LIBCPP_HIDE_FROM_ABI _LIBCPP_AVAILABILITY_FORMAT _OutIt
-vformat_to(_OutIt __out_it, string_view __fmt,
- format_args_t<type_identity_t<_OutIt>, char> __args) {
+vformat_to(_OutIt __out_it, string_view __fmt, format_args __args) {
return _VSTD::__vformat_to(_VSTD::move(__out_it), __fmt, __args);
----------------
vitaut wrote:
> Maybe force inline `format_to*` / `vformat_to*` to make debug codegen less horrible (https://godbolt.org/z/Kah4sqY5z) and since they are just trivial wrappers around `__vformat_to*`?
Note that without this code bloat prevention isn't working even with -O2 right now which is quite worrying: https://godbolt.org/z/1dn836jzG.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110494/new/
https://reviews.llvm.org/D110494
More information about the libcxx-commits
mailing list