[libcxx-commits] [PATCH] D110866: [libc++abi] Mark __cxa_new_handler with _LIBCPP_SAFE_STATIC

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 5 11:30:00 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd9346f525595: [libc++abi] Mark __cxa_new_handler with _LIBCPP_SAFE_STATIC (authored by ldionne).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110866/new/

https://reviews.llvm.org/D110866

Files:
  libcxxabi/src/cxa_default_handlers.cpp


Index: libcxxabi/src/cxa_default_handlers.cpp
===================================================================
--- libcxxabi/src/cxa_default_handlers.cpp
+++ libcxxabi/src/cxa_default_handlers.cpp
@@ -105,7 +105,8 @@
 _LIBCXXABI_DATA_VIS
 _LIBCPP_SAFE_STATIC std::unexpected_handler __cxa_unexpected_handler = default_unexpected_handler;
 
-std::new_handler __cxa_new_handler = 0;
+_LIBCXXABI_DATA_VIS
+_LIBCPP_SAFE_STATIC std::new_handler __cxa_new_handler = 0;
 
 namespace std
 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110866.377315.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211005/5fefeeb9/attachment.bin>


More information about the libcxx-commits mailing list