-map

On Windows platforms only, produces a storage allocation map at the end of the listing file and/or generates a linker map for a specified filename.

Syntax

Format 1
-map
Format 2
-map:filename
Format 3
-map -map:filename

Parameter

filename
The filename of a linker map file.

Behavior

Format 1
Produces a storage allocation map at the end of the listing file.
Format 2
Passes to ldpli and generates a linker map for the specified filename.
Format 3
Produces a storage allocation map at the end of the listing file, passes to ldpli, and generates a linker map for the specified filename.