[cfe-commits] [libcxxabi] r155763 - /libcxxabi/trunk/src/cxa_handlers.cpp
Howard Hinnant
hhinnant at apple.com
Sat Apr 28 09:46:04 PDT 2012
Author: hhinnant
Date: Sat Apr 28 11:46:04 2012
New Revision: 155763
URL: http://llvm.org/viewvc/llvm-project?rev=155763&view=rev
Log:
Make __cxa_new_handler un-mangled
Modified:
libcxxabi/trunk/src/cxa_handlers.cpp
Modified: libcxxabi/trunk/src/cxa_handlers.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_handlers.cpp?rev=155763&r1=155762&r2=155763&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_handlers.cpp (original)
+++ libcxxabi/trunk/src/cxa_handlers.cpp Sat Apr 28 11:46:04 2012
@@ -101,7 +101,7 @@
__terminate(get_terminate());
}
-new_handler __cxa_new_handler = 0;
+extern "C" new_handler __cxa_new_handler = 0;
// In the future these will become:
// std::atomic<std::new_handler> __cxa_new_handler(0);
More information about the cfe-commits
mailing list