diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-08-29 20:56:53 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-08-29 20:56:53 +0000 |
commit | 393068bb042c360d16805c847f7f46d310d07642 (patch) | |
tree | 21f409cff1595f393646cf0634ad475e62cdd780 /libcxx/src/algorithm.cpp | |
parent | f801f808ba8a5933c8321c6f7295312b394c664b (diff) | |
download | bcm5719-llvm-393068bb042c360d16805c847f7f46d310d07642.tar.gz bcm5719-llvm-393068bb042c360d16805c847f7f46d310d07642.zip |
Turn off extern templates for most uses. It is causing more problems than it is worth. The extern templates will still be built into the dylib, mainly for ABI stability purposes. And the client can still turn these back on with a #define if desire. This fixes http://llvm.org/bugs/show_bug.cgi?id=17027. However there's no associated test for the test suite because http://llvm.org/bugs/show_bug.cgi?id=17027 needs mismatched dylib and headers to fire.
llvm-svn: 189610
Diffstat (limited to 'libcxx/src/algorithm.cpp')
-rw-r--r-- | libcxx/src/algorithm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/src/algorithm.cpp b/libcxx/src/algorithm.cpp index 6d5cf7c0bc8..10c4c331259 100644 --- a/libcxx/src/algorithm.cpp +++ b/libcxx/src/algorithm.cpp @@ -7,6 +7,7 @@ // //===----------------------------------------------------------------------===// +#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; #include "algorithm" #include "random" #include "mutex" |