Qian Hong : dbghelp: Parse DW_TAG_const_type inside dwarf2_parse_subprogram.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 12 09:51:13 CDT 2015


Module: wine
Branch: master
Commit: fd9d4b6232b8ba39fb1f0a25a17fa841449caa84
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fd9d4b6232b8ba39fb1f0a25a17fa841449caa84

Author: Qian Hong <qhong at codeweavers.com>
Date:   Fri Oct  9 19:59:58 2015 +0800

dbghelp: Parse DW_TAG_const_type inside dwarf2_parse_subprogram.

Signed-off-by: Qian Hong <qhong at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dbghelp/dwarf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 4c093a3..655c586 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1978,6 +1978,9 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
         case DW_TAG_pointer_type:
             dwarf2_parse_pointer_type(subpgm.ctx, di);
             break;
+        case DW_TAG_const_type:
+            dwarf2_parse_const_type(subpgm.ctx, di);
+            break;
         case DW_TAG_subprogram:
             /* FIXME: likely a declaration (to be checked)
              * skip it for now




More information about the wine-cvs mailing list