MAP file analysis - where's my code size comes from?

后端 未结 5 969
面向向阳花
面向向阳花 2020-12-30 08:45

I am looking for a tool to simplify analysing a linker map file for a large C++ project (VC6).

During maintenance, the binaries grow steadily and I want to figure o

5条回答
  •  悲&欢浪女
    2020-12-30 09:38

    No suggestion for a tool, but a guess as to a possible cause: do you have incremental linking enabled? This can cause expansion during subsequent builds...

    The linker will strip unused symbols if you're compiling with /opt:ref, so if you're using that and not using incremental linking, I would expect expansion of the binaries to be only a result of actual new code being added. That's as far as I know... hope it helps a little.

提交回复
热议问题