diff options
author | Woongsuk Cho <ws77.cho@samsung.com> | 2018-12-19 08:50:43 +0900 |
---|---|---|
committer | Woongsuk Cho <ws77.cho@samsung.com> | 2018-12-19 08:52:52 +0900 |
commit | 76d2d2dd465ab9beb50786793876608279983885 (patch) | |
tree | f621f81fadd164e3c28a6b09094b451b774444be /src/vm/dllimport.cpp | |
parent | 3e574d9432e5d9d2dca42699bff4bf0967300004 (diff) | |
download | coreclr-76d2d2dd465ab9beb50786793876608279983885.tar.gz coreclr-76d2d2dd465ab9beb50786793876608279983885.tar.bz2 coreclr-76d2d2dd465ab9beb50786793876608279983885.zip |
Add an error log to determine where to throw BadImageFormatExceptionsubmit/tizen_5.0_base/20181219.005417accepted/tizen/5.0/base/20181221.113757
Change-Id: I0231e9c5209ce39acfe37c54cfcda934b4f773db
Diffstat (limited to 'src/vm/dllimport.cpp')
-rw-r--r-- | src/vm/dllimport.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/dllimport.cpp b/src/vm/dllimport.cpp index d0196317f0..7cfb5cb11c 100644 --- a/src/vm/dllimport.cpp +++ b/src/vm/dllimport.cpp @@ -5786,6 +5786,7 @@ public: HRESULT theHRESULT = GetHR(); if (theHRESULT == HRESULT_FROM_WIN32(ERROR_BAD_EXE_FORMAT)) { + fprintf(stderr, "@@[SR] %s:%d, exception number(%ld)\n", __FILE__, __LINE__, theHRESULT); COMPlusThrow(kBadImageFormatException); } else |