diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-04-28 16:46:04 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-04-28 16:46:04 +0000 |
commit | 9de0b35648f2ede749ef54adee302fd7afda0982 (patch) | |
tree | d50f629f9e61ece1695298eeeddf4c0277232630 /libcxxabi/src | |
parent | 70d4498899248bb1fff4ba9f9468cc08907d347d (diff) | |
download | llvm-9de0b35648f2ede749ef54adee302fd7afda0982.tar.gz |
Make __cxa_new_handler un-mangled
llvm-svn: 155763
Diffstat (limited to 'libcxxabi/src')
-rw-r--r-- | libcxxabi/src/cxa_handlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_handlers.cpp b/libcxxabi/src/cxa_handlers.cpp index 100fc50c7bcb..6c13fcd2c3cf 100644 --- a/libcxxabi/src/cxa_handlers.cpp +++ b/libcxxabi/src/cxa_handlers.cpp @@ -101,7 +101,7 @@ terminate() _NOEXCEPT __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); |