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

后端 未结 5 984
面向向阳花
面向向阳花 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:28

    Have you tried using dumpbin.exe on your .obj files?

    Stuff to look for:

    • Using a lot of STL?
    • A lot of c++ classes with inline methods?
    • A lot of constants?

    If anything of the above applies to you. Check if they have a wide visibility, i.e. if they are used/seen in large parts of your application.

提交回复
热议问题