What's the use of .map files the linker produces?

后端 未结 5 1335
悲哀的现实
悲哀的现实 2020-12-08 00:31

What is the use of .map files VC++ linker produces when /MAP parameter or \"Generate map file\" project setting is used? When do I need them and how do I benefit from them?<

5条回答
  •  一向
    一向 (楼主)
    2020-12-08 01:02

    You need them rarely, but they can be handy debugging some problems because they give information on the location of functions and data.

    For example:

    • detailed information on all segments (code, data and other).
    • link line numbers to code

    You can use map files for debugging tools.

提交回复
热议问题