Go to file
Eric Fiselier 5464421608 Expect DLL builds on Windows by default and require a custom __config for static
builds.

On Windows the __declspec(dllimport) and __declspec(dllexport) attributes
require linking to a DLL, not a static library. Previously these annotations
were disabled by default unless _LIBCPP_DLL was defined. However the DLL
configuration is probably the more common one, so it should be supported by
default.

This patch enables import/export attributes by default and adds a
_LIBCPP_DISABLE_DLL_IMPORT_EXPORT macro which can be used to disable this
behavior. If libc++ is built as a static library on Windows then a custom __config
header will be generated that predefines this macro.

This patch is based off work by Shoaib Meenai.

llvm-svn: 282449
2016-09-26 22:19:41 +00:00
clang [clang-format] Don't allow newline after uppercase Obj-C block return types 2016-09-26 22:19:08 +00:00
clang-tools-extra Silence a false positive with the cert-err58-cpp check; now allows objects with static or thread storage duration at function block scope. 2016-09-26 15:00:45 +00:00
compiler-rt tsan: relaxed check in CheckShadowMapping 2016-09-26 14:23:34 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Expect DLL builds on Windows by default and require a custom __config for static 2016-09-26 22:19:41 +00:00
libcxxabi annotate more function visibility 2016-09-23 21:36:24 +00:00
libunwind Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00
lld Non alloca sections should not keep other sections live. 2016-09-26 21:34:34 +00:00
lldb Fix an issue where LLDB would not accept the --description-verbosity option to 'po' without an argument after the StringRef refactoring 2016-09-26 21:36:17 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [WebAssembly] Use the frame pointer instead of the stack pointer 2016-09-26 21:18:03 +00:00
openmp Fix respecting LIBOMP_LLVM_LIT_EXECUTABLE as full path 2016-09-19 06:55:56 +00:00
parallel-libs [SE] Fix config bug with CUDA tests 2016-09-15 20:26:28 +00:00
polly www: add new code coverage link to Polly website 2016-09-25 08:03:38 +00:00