[PATCH] D42641: [MinGW] Emit typeinfo locally for dllimported classes without key functions
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 1 14:06:10 PST 2018
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
This is actually consistent with what Microsoft does for dllimport classes. They don't have key functions, but they do import vftables when a class is dllimport and the constructor is inline. They never import RTTI and always emit it locally.
In any case, yes, this organization makes the most sense to me. Presumably GCC also exports its vtables so that we can import them and they don't need to be emitted locally, but we do need to emit RTTI locally.
https://reviews.llvm.org/D42641
More information about the cfe-commits
mailing list