Commit 48a74277 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

dbghelp: Support S_HEAPALLOCSITE entry.

parent e87322e9
...@@ -2011,6 +2011,11 @@ static BOOL codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* roo ...@@ -2011,6 +2011,11 @@ static BOOL codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* roo
case S_ALIGN_V1: case S_ALIGN_V1:
TRACE("S-Align V1\n"); TRACE("S-Align V1\n");
break; break;
case S_HEAPALLOCSITE:
TRACE("heap site: offset=0x%08x at sect_idx 0x%04x, inst_len 0x%08x, index 0x%08x\n",
sym->heap_alloc_site.offset, sym->heap_alloc_site.sect_idx,
sym->heap_alloc_site.inst_len, sym->heap_alloc_site.index);
break;
/* the symbols we can safely ignore for now */ /* the symbols we can safely ignore for now */
case S_TRAMPOLINE: case S_TRAMPOLINE:
......
...@@ -1644,6 +1644,16 @@ union codeview_symbol ...@@ -1644,6 +1644,16 @@ union codeview_symbol
unsigned short eh_sect; /* section for exception handler */ unsigned short eh_sect; /* section for exception handler */
unsigned int flags; unsigned int flags;
} frame_info_v2; } frame_info_v2;
struct
{
unsigned short len;
unsigned short id;
unsigned int offset;
unsigned short sect_idx;
unsigned short inst_len;
unsigned int index;
} heap_alloc_site;
}; };
#define S_COMPILAND_V1 0x0001 #define S_COMPILAND_V1 0x0001
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment