summaryrefslogtreecommitdiff
path: root/libcxxabi/src
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-04-28 16:46:04 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-04-28 16:46:04 +0000
commit9de0b35648f2ede749ef54adee302fd7afda0982 (patch)
treed50f629f9e61ece1695298eeeddf4c0277232630 /libcxxabi/src
parent70d4498899248bb1fff4ba9f9468cc08907d347d (diff)
downloadllvm-9de0b35648f2ede749ef54adee302fd7afda0982.tar.gz
Make __cxa_new_handler un-mangled
llvm-svn: 155763
Diffstat (limited to 'libcxxabi/src')
-rw-r--r--libcxxabi/src/cxa_handlers.cpp2
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);