[PATCH] D53879: Make libc++'s versioning namespace customizable

Kristina Brooks via Phabricator reviews at reviews.llvm.org
Tue Oct 30 12:44:43 PDT 2018


kristina added a comment.

LG, one suggestion, would it be possible to request the `std::` namespace (disable inline namespaces altogether) by supplying a blank string?

Being able to avoid versioning is useful on embedded systems or any other systems that have a more controlled environment where only one libc++ is pretty much guaranteed? (this allows for compact mangling of certain types like std::string, which in turn saves a very significant amount of space as the full mangled name for it otherwise is fairly long and it appears in symbol tables and debug data for many kinds of template instantiations). Same applies to streams and some other types that have shorthand reserved mangled forms, at least with IA64 ABI.


Repository:
  rCXX libc++

https://reviews.llvm.org/D53879





More information about the libcxx-commits mailing list