diff options
author | Juan Hoyos <juan.hoyos@microsoft.com> | 2021-05-17 23:40:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 23:40:01 +0300 |
commit | 6f5ab2b939ccadef92341affdd089b0f7c003280 (patch) | |
tree | d52bf0fbd65b93d896a11ea090c9c6d81a6f44fe /src/coreclr/inc | |
parent | 64f5f0b31d9af2df199229e6e4ef3f4a876a05a5 (diff) |
SingleFile diagnostic support - Add export table and DotNetRuntimeInfo to dumps (#52731)
* DACize PEDecoder::GetExport
* Ensure export table and runtimeinfo export are always present in a minidump
Diffstat (limited to 'src/coreclr/inc')
-rw-r--r-- | src/coreclr/inc/daccess.h | 1 | ||||
-rw-r--r-- | src/coreclr/inc/pedecoder.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/coreclr/inc/daccess.h b/src/coreclr/inc/daccess.h index 399c5c57a74..71c5d2f3760 100644 --- a/src/coreclr/inc/daccess.h +++ b/src/coreclr/inc/daccess.h @@ -2387,6 +2387,7 @@ typedef DPTR(IMAGE_NT_HEADERS) PTR_IMAGE_NT_HEADERS; typedef DPTR(IMAGE_NT_HEADERS32) PTR_IMAGE_NT_HEADERS32; typedef DPTR(IMAGE_NT_HEADERS64) PTR_IMAGE_NT_HEADERS64; typedef DPTR(IMAGE_SECTION_HEADER) PTR_IMAGE_SECTION_HEADER; +typedef DPTR(IMAGE_EXPORT_DIRECTORY) PTR_IMAGE_EXPORT_DIRECTORY; typedef DPTR(IMAGE_TLS_DIRECTORY) PTR_IMAGE_TLS_DIRECTORY; #if defined(DACCESS_COMPILE) diff --git a/src/coreclr/inc/pedecoder.h b/src/coreclr/inc/pedecoder.h index d637835036d..b551bf02d62 100644 --- a/src/coreclr/inc/pedecoder.h +++ b/src/coreclr/inc/pedecoder.h @@ -353,7 +353,7 @@ class PEDecoder void *GetNativeEntryPoint() const; // Look up a named symbol in the export directory - void *GetExport(LPCSTR exportName) const; + PTR_VOID GetExport(LPCSTR exportName) const; #ifdef _DEBUG // Stress mode for relocations |