diff options
author | Kyungwoo Lee <kyulee@microsoft.com> | 2016-02-02 06:40:42 -0800 |
---|---|---|
committer | Kyungwoo Lee <kyulee@microsoft.com> | 2016-02-02 06:46:14 -0800 |
commit | 340bb9548ea2cbcde7b4c88a08e4d5e96fd5df4b (patch) | |
tree | 99cf1c2193d1214ce01ffe4bc4feb0b2b6c89dbb /src/ilasm | |
parent | d876143bc87775b6c38eac4312cfc2dcbe5c0f3a (diff) | |
download | coreclr-340bb9548ea2cbcde7b4c88a08e4d5e96fd5df4b.tar.gz coreclr-340bb9548ea2cbcde7b4c88a08e4d5e96fd5df4b.tar.bz2 coreclr-340bb9548ea2cbcde7b4c88a08e4d5e96fd5df4b.zip |
Delete spurious ilasm warning message under DEBUG flag
When test population, most il tests turn on DEBUG flag, which
caused spurious warnings on ilasm/CoreCLR since PDB is not yet supported.
This changes the warning display to a comment that is linked to a GH issue.
Diffstat (limited to 'src/ilasm')
-rw-r--r-- | src/ilasm/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ilasm/main.cpp b/src/ilasm/main.cpp index f52cf3f215..50131b2b01 100644 --- a/src/ilasm/main.cpp +++ b/src/ilasm/main.cpp @@ -249,7 +249,8 @@ extern "C" int _cdecl wmain(int argc, __in WCHAR **argv) { pAsm->m_dwIncludeDebugInfo = 0x101; #ifdef FEATURE_CORECLR - printf("Warning: PDB is ignored under 'DEB' option for ilasm on CoreCLR.\n"); + // PDB is ignored under 'DEB' option for ilasm on CoreCLR. + // https://github.com/dotnet/coreclr/issues/2982 #else pAsm->m_fGeneratePDB = TRUE; #endif @@ -281,7 +282,8 @@ extern "C" int _cdecl wmain(int argc, __in WCHAR **argv) else if (!_stricmp(szOpt, "PDB")) { #ifdef FEATURE_CORECLR - printf("Warning: 'PDB' option is ignored for ilasm on CoreCLR.\n"); + // 'PDB' option is ignored for ilasm on CoreCLR. + // https://github.com/dotnet/coreclr/issues/2982 #else pAsm->m_fGeneratePDB = TRUE; #endif |