CodeGen: export typeinfo and typeinfo name on itanium
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 2 Dec 2016 22:46:18 +0000 (22:46 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 2 Dec 2016 22:46:18 +0000 (22:46 +0000)
commit1882002c91fe37fa76d7379697cee4275a5bcc3a
tree33bcb08867907c008035a11065f9366be3a2276d
parentf881267db9a9bfb13a9690323e46873b4e902b37
CodeGen: export typeinfo and typeinfo name on itanium

When a C++ record is marked with dllexport mark both the typeinfo and the
typeinfo name as being exported.  Handle dllimport as the inverse.  This applies
to the itanium environment and not the MinGW environment.

llvm-svn: 288546
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/test/CodeGenCXX/windows-itanium-type-info.cpp