[PATCH] D25811: [libcxx] Fix toupper/tolower tests for UTF-8 locale

Krzysztof Parzyszek via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 10:39:38 PDT 2016


kparzysz added a comment.

In https://reviews.llvm.org/D25811#586000, @arphaman wrote:

> I've tested this patch on OS X and these 4 tests that you've changed now fail.
>
> The `XFAIL: with_system_cxx_lib` lines don't have any effect on my system - these tests get invoked as expected by lit. Let me know if there's anything else I can do to help you.


That's surprising.  Seems like something is different on OS X.
Could you try compiling/running this small program?

  #include <locale>
  #include <iostream>
  
  int main() {
    std::locale x("en_US.UTF-8");
    std::cout << x.name() << std::endl;
  }

If it prints "en_US.UTF-8", then I'm out of ideas... :)


Repository:
  rL LLVM

https://reviews.llvm.org/D25811





More information about the cfe-commits mailing list