]> granicus.if.org Git - clang/commit
CodeGen: inherit DLLExport attribute in Windows Itanium
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Sep 2016 23:11:05 +0000 (23:11 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Sep 2016 23:11:05 +0000 (23:11 +0000)
commit9a911fde4ec01a07aa6936f1d38b191f5f0b60c9
tree1ab9fe37f2daed66f657a3d122961cfe433b4018
parent0b21f892bff121dab14eed6d6eb643bbc09bb6b0
CodeGen: inherit DLLExport attribute in Windows Itanium

When emitting the fundamental type information constants, inherit the
DLLExportAttr from `__fundamental_type_info`.  We would previously not
honor the `__declspec(dllexport)` on the type information.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282980 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/windows-itanium-type-info.cpp [new file with mode: 0644]