llvm-project/libcxx/test/std/localization
Petr Hosek 4155e78912 [libc++] Use runtime rather then compile-time glibc version check
glibc supports versioning, so it's possible to build against older
version and run against newer version. This is sometimes relied on
in practice, e.g. in Fuchsia build we build against older sysroot
(equivalent to Ubuntu Trusty) to cover the broadest possible range
of host systems, but that doesn't necessarily match the system that
binary is going to run on which may have newer version, in which case
the compile test used in curr_symbol is going to fail. Using runtime
check is more reliable.

Differential Revision: https://reviews.llvm.org/D56702

llvm-svn: 352425
2019-01-28 20:39:50 +00:00
..
c.locales Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
locale.categories [libc++] Use runtime rather then compile-time glibc version check 2019-01-28 20:39:50 +00:00
locale.stdcvt Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
locale.syn Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
locales Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
localization.general Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00