[libcxx] r321664 - Un-inline a few more variables that are exported from the dylib.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 2 11:01:45 PST 2018


Author: marshall
Date: Tue Jan  2 11:01:45 2018
New Revision: 321664

URL: http://llvm.org/viewvc/llvm-project?rev=321664&view=rev
Log:
Un-inline a few more variables that are exported from the dylib.

Modified:
    libcxx/trunk/include/__functional_base
    libcxx/trunk/include/functional

Modified: libcxx/trunk/include/__functional_base
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__functional_base?rev=321664&r1=321663&r2=321664&view=diff
==============================================================================
--- libcxx/trunk/include/__functional_base (original)
+++ libcxx/trunk/include/__functional_base Tue Jan  2 11:01:45 2018
@@ -564,7 +564,7 @@ struct _LIBCPP_TEMPLATE_VIS allocator_ar
 #if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_MEMORY)
 extern const allocator_arg_t allocator_arg;
 #else
-_LIBCPP_INLINE_VAR constexpr allocator_arg_t allocator_arg = allocator_arg_t();
+/* _LIBCPP_INLINE_VAR */ constexpr allocator_arg_t allocator_arg = allocator_arg_t();
 #endif
 
 // uses_allocator

Modified: libcxx/trunk/include/functional
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/functional?rev=321664&r1=321663&r2=321664&view=diff
==============================================================================
--- libcxx/trunk/include/functional (original)
+++ libcxx/trunk/include/functional Tue Jan  2 11:01:45 2018
@@ -2020,16 +2020,16 @@ _LIBCPP_FUNC_VIS extern const __ph<8>
 _LIBCPP_FUNC_VIS extern const __ph<9>   _9;
 _LIBCPP_FUNC_VIS extern const __ph<10> _10;
 #else
-_LIBCPP_INLINE_VAR constexpr __ph<1>   _1{};
-_LIBCPP_INLINE_VAR constexpr __ph<2>   _2{};
-_LIBCPP_INLINE_VAR constexpr __ph<3>   _3{};
-_LIBCPP_INLINE_VAR constexpr __ph<4>   _4{};
-_LIBCPP_INLINE_VAR constexpr __ph<5>   _5{};
-_LIBCPP_INLINE_VAR constexpr __ph<6>   _6{};
-_LIBCPP_INLINE_VAR constexpr __ph<7>   _7{};
-_LIBCPP_INLINE_VAR constexpr __ph<8>   _8{};
-_LIBCPP_INLINE_VAR constexpr __ph<9>   _9{};
-_LIBCPP_INLINE_VAR constexpr __ph<10> _10{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<1>   _1{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<2>   _2{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<3>   _3{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<4>   _4{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<5>   _5{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<6>   _6{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<7>   _7{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<8>   _8{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<9>   _9{};
+/* _LIBCPP_INLINE_VAR */ constexpr __ph<10> _10{};
 #endif // defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_BIND)
 
 }  // placeholders




More information about the cfe-commits mailing list