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@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f5fef036fd
commit
0de0a80940
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue