Go to file
Alex Lorenz a8fbef44fe [CodeGen] Emit a CoreFoundation link guard when @available is used
After r297760, __isOSVersionAtLeast in compiler-rt loads the CoreFoundation
symbols at runtime. This means that `@available` will always fail when used in a
binary without a linked CoreFoundation.

This commit forces Clang to emit a reference to a CoreFoundation symbol when
`@available` is used to ensure that linking will fail when CoreFoundation isn't
linked with the build product.

rdar://31039592

Differential Revision: https://reviews.llvm.org/D30977

llvm-svn: 298588
2017-03-23 11:14:27 +00:00
clang [CodeGen] Emit a CoreFoundation link guard when @available is used 2017-03-23 11:14:27 +00:00
clang-tools-extra [clang-tidy] Tests should not rely on STL headers being available. 2017-03-22 12:50:10 +00:00
compiler-rt Use lld-link /nopdb to suppress PDB generation when DWARF is required 2017-03-22 19:49:29 +00:00
debuginfo-tests
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Silence a couple of 'unused variable' warnings in c++03 tests. No functional change 2017-03-23 06:25:26 +00:00
libcxxabi Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
libunwind DarwinParser: include limits 2017-03-14 15:17:55 +00:00
lld [ELF] Allow references to reserved symbols in linker scripts 2017-03-23 03:52:34 +00:00
lldb Fix warnings from clang build on macOS. 2017-03-23 09:52:26 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [X86][TD][vpmovm2 ] New TD pattern for the vpmovm2 instruction 2017-03-23 09:57:01 +00:00
openmp [OpenMP] CUDA plugin: More descriptive error messages 2017-03-22 17:36:22 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [DeLICM] Add const qualifiers. NFC. 2017-03-22 20:09:58 +00:00