hanchenye-llvm-project/libcxx/test
Petr Hosek 80ef4126b1 [libcxx] 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. This is a follow up to D56702 which addressed
one instance, this patch addresses all of the remaining ones.

Differential Revision: https://reviews.llvm.org/D88188
2020-10-07 17:59:16 -07:00
..
configs [libc++] Add a CMake option to control whether the debug mode is supported 2020-10-07 09:20:59 -04:00
libcxx [libc++] Add a CMake option to control whether the debug mode is supported 2020-10-07 09:20:59 -04:00
pretty_printers Desugar class type for iterator lookup. 2020-07-14 11:37:03 -07:00
std [libcxx] Use runtime rather then compile-time glibc version check 2020-10-07 17:59:16 -07:00
support [libcxx] Use runtime rather then compile-time glibc version check 2020-10-07 17:59:16 -07:00
CMakeLists.txt [libc++] Add a CMake option to control whether the debug mode is supported 2020-10-07 09:20:59 -04:00
lit.cfg.py [libc++] Allow specifying custom Lit config files 2020-06-18 10:06:04 -04:00