Eric Pouech : dbghelp/dwarf: Downgrade FIXME into WARN for empty range.

Alexandre Julliard julliard at winehq.org
Tue Sep 28 16:01:57 CDT 2021


Module: wine
Branch: master
Commit: 0de0a80940ac02dbe8838fb9658eaf361ca86315
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0de0a80940ac02dbe8838fb9658eaf361ca86315

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue Sep 28 17:21:18 2021 +0200

dbghelp/dwarf: Downgrade FIXME into WARN for empty range.

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

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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-cvs mailing list