[PATCH 1/2] dbghelp: Parse DW_TAG_pointer_type inside dwarf2_parse_subprogram_block.

Qian Hong qhong at codeweavers.com
Fri Oct 9 06:51:15 CDT 2015


This is found when debugging the staging version of Wine, caused by the 
"--patches" handling block in loader/main.c, which could be simplify to 
the below test case:

#include <stdio.h>

int main(void)
{
     if (1)
     {
         const struct
         {
             const int mem1;
         } var1;

         printf("haha\n");
     }
     return 0;
}

Ken, I CC you because you have done many nontrivial work on dwarf2 
support, would you mind sign off my patch? Thanks ;-)


Signed-off-by: Qian Hong <qhong at codeweavers.com>
---
  dlls/dbghelp/dwarf.c | 3 +++
  1 file changed, 3 insertions(+)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dbghelp-Parse-DW_TAG_pointer_type-inside-dwarf2_parse_.txt
Type: text/x-patch
Size: 583 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151009/bdf28e39/attachment.bin>


More information about the wine-patches mailing list