summaryrefslogtreecommitdiff
path: root/src/jit/emit.h
diff options
context:
space:
mode:
authorJohn Chen <jochen@microsoft.com>2016-09-21 06:50:03 -0700
committerJan Kotas <jkotas@microsoft.com>2016-09-21 06:50:03 -0700
commit96f474c67e83b178c3a27afc1540953948610c73 (patch)
tree0220366a075591eb136b6986c53632fb47188ff3 /src/jit/emit.h
parenteb98e3dd66f374be44f523099084e45163de5143 (diff)
downloadcoreclr-96f474c67e83b178c3a27afc1540953948610c73.tar.gz
coreclr-96f474c67e83b178c3a27afc1540953948610c73.tar.bz2
coreclr-96f474c67e83b178c3a27afc1540953948610c73.zip
Fix CrossGen error reporting when input is missing (#7287)
Currently, running "crossgen foo.dll" when foo.dll does not exist produces a misleading error message "The image being compiled is not a .NET assembly". The reason is CrossGen ignores the actual error code reported during initial asssembly load and verification, and always reports the error as NGEN_E_FILE_NOT_ASSEMBLY. This change removes that logic, since the original error code is much more likely to be useful.
Diffstat (limited to 'src/jit/emit.h')
0 files changed, 0 insertions, 0 deletions