[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
Mon Oct 4 15:35:45 PDT 2021


ldionne updated this revision to Diff 377042.
ldionne added a comment.

Poke CI


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.377042.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211004/c904e57e/attachment-0001.bin>


More information about the libcxx-commits mailing list