diff options
author | Brian Sullivan <briansul@microsoft.com> | 2017-06-29 15:57:40 -0700 |
---|---|---|
committer | Brian Sullivan <briansul@microsoft.com> | 2017-06-29 17:16:53 -0700 |
commit | 60e038191307535ea6c073b8fb249dce45b071f7 (patch) | |
tree | b70b440d3a5a5344309f160a836ab7447eb7beba /src/tools | |
parent | 88e0428caa33fd04bd8f5f8bc1a60b6a44b93622 (diff) | |
download | coreclr-60e038191307535ea6c073b8fb249dce45b071f7.tar.gz coreclr-60e038191307535ea6c073b8fb249dce45b071f7.tar.bz2 coreclr-60e038191307535ea6c073b8fb249dce45b071f7.zip |
Implement a /verbose flag to show the verbose output from crossgen
Added info on /verbose option to PrintUsageHelper()
Convert printf(ascii) to wide strings in methodtable.cpp
In build.cmd echo the crossgen /CreatePdb command line
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/crossgen/crossgen.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/crossgen/crossgen.cpp b/src/tools/crossgen/crossgen.cpp index 954f4a46a8..8c800e4cb6 100644 --- a/src/tools/crossgen/crossgen.cpp +++ b/src/tools/crossgen/crossgen.cpp @@ -109,6 +109,7 @@ void PrintUsageHelper() W(" /? or /help - Display this screen\n") W(" /nologo - Prevents displaying the logo\n") W(" /silent - Do not display completion message\n") + W(" /verbose - Display verbose information\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") @@ -484,6 +485,10 @@ int _cdecl wmain(int argc, __in_ecount(argc) WCHAR **argv) { dwFlags |= NGENWORKER_FLAGS_SILENT; } + else if (MatchParameter(*argv, W("verbose"))) + { + dwFlags |= NGENWORKER_FLAGS_VERBOSE; + } else if (MatchParameter(*argv, W("Tuning"))) { dwFlags |= NGENWORKER_FLAGS_TUNING; @@ -620,7 +625,7 @@ 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 any extra flags - using /CreatePDB fails if any of these are set. dwFlags = dwFlags & ~(NGENWORKER_FLAGS_FULLTRUSTDOMAIN | NGENWORKER_FLAGS_READYTORUN); // Parse: <directory to store PDB> |