Skip to content

Commit

Permalink
Add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Oct 30, 2024
1 parent 469a770 commit 869ebf8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libcxx/src/support/win32/locale_win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ decltype(MB_CUR_MAX) MB_CUR_MAX_L(locale_t __l) {
}

lconv* localeconv_l(locale_t& loc) {
std::fprintf(stderr, "Entering localeconv_l in locale_win32.cpp\n");

std::fprintf(stderr, "Creating locale_guard in locale_win32.cpp\n");
std::__locale_guard __current(loc);

std::fprintf(stderr, "Calling localeconv() in locale_win32.cpp\n");
lconv* lc = localeconv();
if (!lc)
return lc;
Expand Down

0 comments on commit 869ebf8

Please sign in to comment.