llvm-project/libcxx/test/std/localization/locale.categories
Muiez Ahmed 049f6c29a6 [libc++] Resolve missing table_size symbol
The aim of this patch is to resolve the missing `table_size` symbol (see reduced test case). That const variable is declared and defined in //libcxx/include/locale//; however, the test case suggests that the symbol is missing. This is due to a C++ pitfall (highlighted [[ https://quuxplusone.github.io/blog/2020/09/19/value-or-pitfall/ | here ]]). In summary, assigning the reference of `table_size` doesn't enforce the const-ness and expects to find `table_size` in the DLL. The fix is to use `constexpr` or have an out-of-line definition in the src (for consistency).

Differential Revision: https://reviews.llvm.org/D110647
2021-11-18 15:49:45 -05:00
..
category.collate [libc++][CI] Add AIX pipeline config 2021-11-08 10:30:27 -05:00
category.ctype [libc++] Resolve missing table_size symbol 2021-11-18 15:49:45 -05:00
category.messages [libc++] Add an option to disable wide character support in libc++ 2021-10-12 06:08:23 -04:00
category.monetary [libcxx][AIX] XFAIL tests enabled by locale.fr_FR.UTF-8 2021-11-12 16:28:24 -05:00
category.numeric [libc++][CI] Add AIX pipeline config 2021-11-08 10:30:27 -05:00
category.time [libcxx][AIX] XFAIL tests enabled by locale.fr_FR.UTF-8 2021-11-12 16:28:24 -05:00
facet.numpunct [libcxx][AIX] XFAIL tests enabled by locale.fr_FR.UTF-8 2021-11-12 16:28:24 -05:00
facets.examples