diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-28 19:41:35 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-28 19:41:35 +0000 |
commit | 442b88b9ec50fe710b815776ecadfe2f509854a2 (patch) | |
tree | 2f772042381561b656dbd659885f9372b0e7958c /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 78b0d72769b710ddc09cf5fab22d7b636a06ef84 (diff) | |
download | llvm-442b88b9ec50fe710b815776ecadfe2f509854a2.zip llvm-442b88b9ec50fe710b815776ecadfe2f509854a2.tar.gz llvm-442b88b9ec50fe710b815776ecadfe2f509854a2.tar.bz2 |
CodeGen: support blocks on COFF targets in DLLs
This extends the blocks support to support blocks with a dynamically linked
blocks runtime. The previous code generation would work only for static builds
of the blocks runtime. Mark the block "isa" pointers and functions as dllimport
if no explicit declaration marked with __declspec(dllexport) is found. This
additional check allows for the use of the functionality in the runtime library
if desired.
llvm-svn: 271138
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions