@@ -151,8 +151,6 @@ class _LIBCPP_HIDDEN locale::__imp : public facet {
151151 template <class F >
152152 void install (F* f) {
153153 std::fprintf (stderr, " Entering install(Facet*)\n " );
154-
155- std::fprintf (stderr, " Getting id for locale\n " );
156154 long id = f->id .__get ();
157155
158156 std::fprintf (stderr, " Calling install(Facet*, long id)\n " );
@@ -229,10 +227,8 @@ locale::__imp::__imp(const string& name, size_t refs) : facet(refs), facets_(N),
229227#if _LIBCPP_HAS_EXCEPTIONS
230228 try {
231229#endif // _LIBCPP_HAS_EXCEPTIONS
232- std::fprintf (stderr, " Calling locale::classic()\n " );
233230 facets_ = locale::classic ().__locale_ ->facets_ ;
234231
235- std::fprintf (stderr, " Calling __add_shared() on facets\n " );
236232 for (unsigned i = 0 ; i < facets_.size (); ++i)
237233 if (facets_[i])
238234 facets_[i]->__add_shared ();
@@ -298,7 +294,7 @@ locale::__imp::__imp(const string& name, size_t refs) : facet(refs), facets_(N),
298294 }
299295#endif // _LIBCPP_HAS_EXCEPTIONS
300296
301- std::fprintf (stderr, " Done installing locales \n " );
297+ std::fprintf (stderr, " Done installing facets \n " );
302298}
303299
304300locale::__imp::__imp (const __imp& other) : facets_ (max<size_t >(N, other.facets_ .size ())), name_ (other.name_ ) {
@@ -4097,6 +4093,7 @@ numpunct_byname<char>::~numpunct_byname() {}
40974093void numpunct_byname<char >::__init (const char * nm) {
40984094 typedef numpunct<char > base;
40994095 if (strcmp (nm, " C" ) != 0 ) {
4096+ std::fprintf (stderr, " Creating __libcpp_unique_locale\n " );
41004097 __libcpp_unique_locale loc (nm);
41014098 if (!loc)
41024099 __throw_runtime_error (
@@ -4105,6 +4102,7 @@ void numpunct_byname<char>::__init(const char* nm) {
41054102 string (nm))
41064103 .c_str ());
41074104
4105+ std::fprintf (stderr, " Calling __libcpp_localeconv_l()\n " );
41084106 lconv* lc = __libcpp_localeconv_l (loc.get ());
41094107 if (!checked_string_to_char_convert (__decimal_point_, lc->decimal_point , loc.get ()))
41104108 __decimal_point_ = base::do_decimal_point ();
0 commit comments