Option
/LI[[NENUMBERS]]
The /LINE option adds the line numbers and associated addresses from source files to the map file. The object file must contain line-number information for it to appear in the map file. If the object file has no line-number information, the /LINE option has no effect. (Use the /Zd or /Zi option with Microsoft compilers such as CL, FL, and ML to add line numbers to the object file.) If you also want to add public symbols to the map file, use the /MAP option.
The /LINE option causes a map file to be created even if you did not explicitly tell the linker to do so. By default, the map file is given the same base name as the executable file with the extension .MAP. You can override the default name by specifying a new map filename in the mapfile field or in response to the List File prompt.