[PATCH 1/6] dbghelp/dwarf: downgrade FIXME into WARN for empty range

Eric Pouech eric.pouech at gmail.com
Tue Sep 28 08:44:12 CDT 2021


it happens to be generated for some inline functions, that we badly
support yet

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/dbghelp/dwarf.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 0397ffe90b2..f05186eb9c0 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -1236,7 +1236,7 @@ static BOOL dwarf2_read_range(dwarf2_parse_context_t* ctx, const dwarf2_debug_in
             if (high > *phigh) *phigh = high;
         }
         if (*plow == UMAX || *phigh == 0) {FIXME("no entry found\n"); return FALSE;}
-        if (*plow == *phigh) {FIXME("entry found, but low=high\n"); return FALSE;}
+        if (*plow == *phigh) {WARN("entry found, but low=high %lx %lx\n", low, high); return FALSE;}
 
         return TRUE;
     }
@@ -2002,7 +2002,7 @@ static void dwarf2_parse_inlined_subroutine(dwarf2_subprogram_t* subpgm,
 
     if (!dwarf2_read_range(subpgm->ctx, di, &low_pc, &high_pc))
     {
-        FIXME("cannot read range\n");
+        WARN("cannot read range\n");
         return;
     }
 




More information about the wine-devel mailing list