aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-05-28 19:41:35 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-05-28 19:41:35 +0000
commit442b88b9ec50fe710b815776ecadfe2f509854a2 (patch)
tree2f772042381561b656dbd659885f9372b0e7958c /llvm/lib/Object/COFFObjectFile.cpp
parent78b0d72769b710ddc09cf5fab22d7b636a06ef84 (diff)
downloadllvm-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