diff options
Diffstat (limited to 'src/binder/assemblybinder.cpp')
-rw-r--r-- | src/binder/assemblybinder.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/binder/assemblybinder.cpp b/src/binder/assemblybinder.cpp index 7c0aa8077e..89f4a06eb0 100644 --- a/src/binder/assemblybinder.cpp +++ b/src/binder/assemblybinder.cpp @@ -517,6 +517,7 @@ namespace BINDER_SPACE { // Not a PE. Shouldn't ever get here. BINDER_LOG(W("Not a PE!")); + fprintf(stderr, "@@[SR] %s:%d, Not a PE\n", __FILE__, __LINE__); IF_FAIL_GO(HRESULT_FROM_WIN32(ERROR_BAD_FORMAT)); } else @@ -535,6 +536,7 @@ namespace BINDER_SPACE { // Invalid BINDER_LOG(W("CLRPeKind & pe32BitRequired is true")); + fprintf(stderr, "@@[SR] %s:%d, Not a PE\n", __FILE__, __LINE__); IF_FAIL_GO(HRESULT_FROM_WIN32(ERROR_BAD_FORMAT)); } @@ -548,6 +550,7 @@ namespace BINDER_SPACE { // We don't support other architectures BINDER_LOG(W("Unknown architecture")); + fprintf(stderr, "@@[SR] %s:%d, Not a PE\n", __FILE__, __LINE__); IF_FAIL_GO(HRESULT_FROM_WIN32(ERROR_BAD_FORMAT)); } } @@ -562,6 +565,7 @@ namespace BINDER_SPACE { // Not supported BINDER_LOG(W("32-bit, non-agnostic")); + fprintf(stderr, "@@[SR] %s:%d, Not a PE\n", __FILE__, __LINE__); IF_FAIL_GO(HRESULT_FROM_WIN32(ERROR_BAD_FORMAT)); } } @@ -852,6 +856,7 @@ namespace BINDER_SPACE // Validate architecture if (!fInspectionOnly && !Assembly::IsValidArchitecture(pAssemblyName->GetArchitecture())) { + fprintf(stderr, "@@[SR] %s:%d, Not a PE\n", __FILE__, __LINE__); IF_FAIL_GO(HRESULT_FROM_WIN32(ERROR_BAD_FORMAT)); } |