llvm-project/libcxx/lib
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
..
abi [libc++] Resolve missing table_size symbol 2021-11-18 15:49:45 -05:00
libc++abi.v1.exp [libc++] Fix the no-exceptions build of libc++ on Apple 2020-04-20 10:45:14 -04:00
libc++abi.v2.exp [libc++] Fix the no-exceptions build of libc++ on Apple 2020-04-20 10:45:14 -04:00
libc++unexp.exp
notweak.exp
weak.exp [libc++/abi] Revert "[libc++] Move the weak symbols list to libc++abi" 2020-10-05 11:42:13 -04:00