]> granicus.if.org Git - clang/commit
CodeGen: support dll{ex,im}port on WoA
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 11 May 2014 01:31:57 +0000 (01:31 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 11 May 2014 01:31:57 +0000 (01:31 +0000)
commit18512f3e519046e7b500f1a0fc070e0f50fb7e42
treeb1a2b35266e96252f479272b12efb552dea80838
parentc2b54ef6c98dde8d8c9cdb35951e0a44d4daa095
CodeGen: support dll{ex,im}port on WoA

Add ARM support for dllexport and dllimport attributes.  This is a relatively
conservative change.  The alternative is to entirely drop the architecture
requirement.  The dllimport and dllexport attributes are not restricted to any
architecture, simply to platforms that support this attribute (currently
Windows).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208486 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
test/CodeGen/windows-on-arm-dllimport-dllexport.c [new file with mode: 0644]