mercredi 8 mars 2017

Find duplicated template instantiations in object files

I want to optimize the compilation/linkage time of the project by defining as much as possible templates as extern and instantiating them only once.

I order to achieve that I would like to know which template instantiations are created more that once.

Due to the fact that linkers mostly throw away such duplicates I think that the information about what exactly happened on linkage would be very useful.

Is there any flag for MSVC linker that would show me such information?

Aucun commentaire:

Enregistrer un commentaire