链接器生成的 .map 文件有什么用?

2021-12-22 00:00:00 visual-c++ linker c++

当使用/MAP 参数或生成映射文件"项目设置时,VC++ 链接器生成的 .map 文件有何用途?我什么时候需要它们,我如何从它们中受益?

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?

推荐答案

一篇关于如何使用地图文件查找崩溃的好文章.

A nice article on how to use map files for finding crashes.

http://www.codeproject.com/KB/debug/mapfile.aspx

手动完成所有这些工作非常无趣.

Manually doing all this is very uninteresting.

我不知道有任何工具可以读取地图文件并帮助查找崩溃位置.如果有人知道请更新我们.

I am not aware of any tools which can read map file and help in finding the crash location. If anybody knows please update us.

相关文章