[MS ABI] Clang doesn't generate local vftables with dllimport
#23923
Labels
bugzilla
Issues migrated from bugzilla
c++
clang:to-be-triaged
Should not be used for new issues
extension:microsoft
Extended Description
consider:
MSVC generates:
This calls
operator new
and the importedA
constructor. However, it also overwrites the VFPtr with a so-called "local vftable". I suspect this is to support overriding the globaloperator new
anddelete
.More information is available here:
https://groups.google.com/d/msg/microsoft.public.vc.language/atSh_2VSc2w/EgJ3r_7OzVUJ
The text was updated successfully, but these errors were encountered: