开发者

Does Microsoft make available the .obj files for its CRT versions to enable whole program optimization on CRT codepaths?

Given the potential performance improvements from LTCG (link time code generation, or whole program optimization), which requires the availability of .obj files, does Microsoft make available the .obj files for the various flavors of its MSVCRT releases? One would think thi开发者_开发百科s would be a good place for some potential gain. Not sure what they have to lose since the IL that is generated in the .obj files is not documented and processor specific.


A static library is basically just a collection of .obj files mushed (that's a technical term) together into a single file, with a directory added so the linker can find each on easily. If you use the static library, it should be able to include them in the global optimization phase.


I don't think so, but considering they provide full source code to the CRT there's no reason you can't make your own.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜