exclude_from_explicit_instantiation
doesn't seem to exclude virtual methods, causing problems after 84216d1
#66909
Labels
clang:codegen
IR generation bugs: mangling, exceptions, etc.
Consider:
It seems that despite the
exclude_from_explicit_instantiation
attribute onFruit<>::draw
, the explicit instantiation decl prevents the definition from being emitted when referenced by the vtable. Instead the definition ofFruit<>::draw
will only get emitted once there's an explicit instantiation definition.However, after 84216d1 that stopped working across DLL boundaries, since the method will no longer be dllimport/export.
It seems the exclusion from explicit instantiation is not working completely.
The text was updated successfully, but these errors were encountered: