c++ - 什么是编译时生成的map文件

标签 c++ compiler-construction visual-c++-6

项目编译期间生成的信息映射文件包含哪些内容以及我如何在ma​​kefile 中启用/map 选项。

语言:c++

编译器:vc6

最佳答案

来自 Microsoft's documentation对于/MAP 链接器选项:

A mapfile is a text file that contains the following information about the program being linked:

  • The module name, which is the base name of the file
  • The timestamp from the program file header (not from the file system)
  • A list of groups in the program, with each group's start address (as section:offset), length, group name, and class
  • A list of public symbols, with each address (as section:offset), symbol name, flat address, and .obj file where the symbol is defined
  • The entry point (as section:offset)

关于c++ - 什么是编译时生成的map文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1537618/

相关文章:

azure - Azure 上的 Visual Studio 6.0 应用

c++ - 如何在 CMake 中使用 c++20 模块?

c++ - 具有普通 STL 接口(interface)的最大数组,类似于 boost::array

c++ - 使用 g++ 编译 C++ 文件时出错

compiler-construction - ANTLR 运算符优先级

compiler-construction - 可以自行编译的*概念上*最小的*编译器*是什么?

c++ - C++ 中的变量作用域

c++ - 通过引用将循环计数器或范围声明传递给线程有什么区别?

c++ - 3D C++ 任意网格三角剖分库?

c++ - 无法从 'const wchar_t *' 转换为 '_TCHAR *'