summaryrefslogtreecommitdiff
path: root/src/zap
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-03-21 13:01:52 -0700
committerJan Kotas <jkotas@microsoft.com>2017-03-21 13:01:52 -0700
commit40e64db3861284708676f3e46302e32a54e846ec (patch)
tree883d4e35f045cc518713bc0a4c49ba289947339b /src/zap
parent12ef04c22b07f1e4ec5a63009298e4537a2c8e1a (diff)
downloadcoreclr-40e64db3861284708676f3e46302e32a54e846ec.tar.gz
coreclr-40e64db3861284708676f3e46302e32a54e846ec.tar.bz2
coreclr-40e64db3861284708676f3e46302e32a54e846ec.zip
Add /silent option to crossgen (#10350)
This sets the NGenOptions.fSilent flag, which prevents displaying the final output message. This is useful for JIT asm diff generation.
Diffstat (limited to 'src/zap')
-rw-r--r--src/zap/zapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp
index 50e86db435..4d1330ee1f 100644
--- a/src/zap/zapper.cpp
+++ b/src/zap/zapper.cpp
@@ -105,7 +105,7 @@ STDAPI NGenWorker(LPCWSTR pwzFilename, DWORD dwFlags, LPCWSTR pwzPlatformAssembl
ngo.fDebug = false;
ngo.fDebugOpt = false;
ngo.fProf = false;
- ngo.fSilent = false;
+ ngo.fSilent = (dwFlags & NGENWORKER_FLAGS_SILENT) != 0;
ngo.lpszExecutableFileName = pwzFilename;
// V2 (Whidbey)