From 0d2fc0820d147193588f9188697b0cebb9177a12 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 --- common.gypi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.gypi b/common.gypi index 4c1b90b29ad2ca..871b9b40918e3d 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',