Update crossgen /CreatePerfMap to clear NGENWORKER_FLAGS_READYTORUN.
authorBrian Robbins <brianrob@microsoft.com>
Tue, 23 Feb 2016 22:01:12 +0000 (14:01 -0800)
committerBrian Robbins <brianrob@microsoft.com>
Tue, 23 Feb 2016 22:01:24 +0000 (14:01 -0800)
src/tools/crossgen/crossgen.cpp

index 93d5266..973e775 100644 (file)
@@ -766,9 +766,12 @@ int _cdecl wmain(int argc, __in_ecount(argc) WCHAR **argv)
             argv++;
             argc--;
 
-            // Clear the /fulltrust flag - /CreatePDB does not work with any other flags.
+            // Clear the /fulltrust flag - /CreatePerfMap does not work with any other flags.
             dwFlags = dwFlags & ~NGENWORKER_FLAGS_FULLTRUSTDOMAIN;
 
+            // Clear the /ready to run flag - /CreatePerfmap does not work with any other flags.
+            dwFlags = dwFlags & ~NGENWORKER_FLAGS_READYTORUN;
+
             // Parse: <directory to store PDB>
             if (wcscpy_s(
                 wzDirectoryToStorePDB,