[PATCH 2/2] [DbgHelp]: silence DW_TAG_GNU_call_site objects

Eric Pouech eric.pouech at orange.fr
Thu Apr 14 14:27:59 CDT 2011


fix for #26718

A+
---

 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 f1c3ee5..7ca5ed4 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1795,6 +1795,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),
@@ -1852,9 +1855,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;
@@ -1983,6 +1989,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-patches mailing list