From 24dd016deb23c951df3fb7940fd67a9f1b8197e6 Mon Sep 17 00:00:00 2001 From: Ali Ijaz Sheikh Date: Fri, 24 Jul 2015 17:59:14 -0700 Subject: [PATCH] build: produce symbol map files on windows This produces map files as part of the build on windows. The existence of these files enable profiling and tick-processing using the --prof command line. See: https://github.com/nodejs/io.js/pull/2090#issuecomment-124746673 Map files are documented here: https://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx PR-URL: https://github.com/nodejs/io.js/pull/2243 Reviewed-By: Ben Noordhuis --- common.gypi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.gypi b/common.gypi index 4c1b90b29a..871b9b4091 100644 --- a/common.gypi +++ b/common.gypi @@ -163,6 +163,8 @@ }], ], 'GenerateDebugInformation': 'true', + 'GenerateMapFile': 'true', # /MAP + 'MapExports': 'true', # /MAPINFO:EXPORTS 'RandomizedBaseAddress': 2, # enable ASLR 'DataExecutionPrevention': 2, # enable DEP 'AllowIsolation': 'true',