Commit b990eaa8 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Expose local static variables' address.

parent 99eb63bd
......@@ -192,7 +192,7 @@ struct symt_data
struct symt* type;
union /* depends on kind */
{
/* DataIs{Global, FileStatic}:
/* DataIs{Global, FileStatic, StaticLocal}:
* with loc.kind
* loc_absolute loc.offset is address
* loc_tlsrel loc.offset is TLS index address
......
......@@ -143,6 +143,7 @@ BOOL symt_get_address(const struct symt* type, ULONG64* addr)
{
case DataIsGlobal:
case DataIsFileStatic:
case DataIsStaticLocal:
*addr = ((const struct symt_data*)type)->u.var.offset;
break;
default: return FALSE;
......
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