This sets the NGenOptions.fSilent flag, which prevents displaying
the final output message.
This is useful for JIT asm diff generation.
Commit migrated from https://github.com/dotnet/coreclr/commit/
40e64db3861284708676f3e46302e32a54e846ec
#define NGENWORKER_FLAGS_WINMD_RESILIENT 0x1000
#define NGENWORKER_FLAGS_READYTORUN 0x2000
#define NGENWORKER_FLAGS_NO_METADATA 0x4000
+#define NGENWORKER_FLAGS_SILENT 0x8000
#endif // _NGENCOMMON_H_
W("\n")
W(" /? or /help - Display this screen\n")
W(" /nologo - Prevents displaying the logo\n")
+ W(" /silent - Do not display completion message\n")
W(" @response.rsp - Process command line arguments from specified\n")
W(" response file\n")
W(" /partialtrust - Assembly will be run in a partial trust domain.\n")
{
fDisplayLogo = false;
}
+ else if (MatchParameter(*argv, W("silent")))
+ {
+ dwFlags |= NGENWORKER_FLAGS_SILENT;
+ }
else if (MatchParameter(*argv, W("Tuning")))
{
dwFlags |= NGENWORKER_FLAGS_TUNING;
ngo.fDebug = false;
ngo.fDebugOpt = false;
ngo.fProf = false;
- ngo.fSilent = false;
+ ngo.fSilent = (dwFlags & NGENWORKER_FLAGS_SILENT) != 0;
ngo.lpszExecutableFileName = pwzFilename;
// V2 (Whidbey)