| commit | 9de0b35648f2ede749ef54adee302fd7afda0982 | [log] [tgz] |
|---|---|---|
| author | Howard Hinnant <hhinnant@apple.com> | Sat Apr 28 16:46:04 2012 +0000 |
| committer | Howard Hinnant <hhinnant@apple.com> | Sat Apr 28 16:46:04 2012 +0000 |
| tree | d50f629f9e61ece1695298eeeddf4c0277232630 | |
| parent | 70d4498899248bb1fff4ba9f9468cc08907d347d [diff] [blame] |
Make __cxa_new_handler un-mangled llvm-svn: 155763
diff --git a/libcxxabi/src/cxa_handlers.cpp b/libcxxabi/src/cxa_handlers.cpp index 100fc50..6c13fcd 100644 --- a/libcxxabi/src/cxa_handlers.cpp +++ b/libcxxabi/src/cxa_handlers.cpp
@@ -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);