Eric Pouech : dbghelp: Silence DW_TAG_GNU_call_site objects.

Alexandre Julliard julliard at winehq.org
Fri Apr 15 10:19:24 CDT 2011


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

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Thu Apr 14 21:27:59 2011 +0200

dbghelp: Silence DW_TAG_GNU_call_site objects.

---

 dlls/dbghelp/dwarf.c |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 103bdbf..e0f1a90 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1751,6 +1751,9 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm,
         case DW_TAG_label:
             dwarf2_parse_subprogram_label(subpgm, child);
             break;
+        case DW_TAG_GNU_call_site:
+            /* this isn't properly supported by dbghelp interface. skip it for now */
+            break;
         default:
             FIXME("Unhandled Tag type 0x%lx at %s, for %s\n",
                   child->abbrev->tag, dwarf2_debug_ctx(subpgm->ctx),
@@ -1808,9 +1811,12 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
              * Skip it for now
              */
             break;
-            case DW_TAG_imported_module:
-                /* C++ stuff to be silenced (for now) */
-                break;
+        case DW_TAG_imported_module:
+            /* C++ stuff to be silenced (for now) */
+            break;
+        case DW_TAG_GNU_call_site:
+            /* this isn't properly supported by dbghelp interface. skip it for now */
+            break;
         case DW_TAG_label:
             dwarf2_parse_subprogram_label(subpgm, child);
             break;
@@ -1939,6 +1945,7 @@ static struct symt* dwarf2_parse_subprogram(dwarf2_parse_context_t* ctx,
         case DW_TAG_unspecified_parameters:
         case DW_TAG_template_type_param:
         case DW_TAG_template_value_param:
+        case DW_TAG_GNU_call_site:
             /* FIXME: no support in dbghelp's internals so far */
             break;
         default:




More information about the wine-cvs mailing list