This option controls how dynamic symbols are exported in C++.
Use the option --export_all_vtbl to export all virtual table functions and RunTime Type Information (RTTI) for classes with a key function. A key function is the first virtual function of a class, in declaration order, that is not inline, and is not pure virtual.
Note
You can disable export for specific classes by using __declspec(notshared).