dbghelp/dwarf: Properly handle error cases while computing frame_cfa.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8f272e25af
commit
7bc6eb9d25
|
@ -3689,10 +3689,10 @@ static BOOL compute_call_frame_cfa(struct module* module, ULONG_PTR ip, struct l
|
||||||
{
|
{
|
||||||
case RULE_EXPRESSION:
|
case RULE_EXPRESSION:
|
||||||
FIXME("Too complex expression for frame_CFA resolution (RULE_EXPRESSION)\n");
|
FIXME("Too complex expression for frame_CFA resolution (RULE_EXPRESSION)\n");
|
||||||
break;
|
return FALSE;
|
||||||
case RULE_VAL_EXPRESSION:
|
case RULE_VAL_EXPRESSION:
|
||||||
FIXME("Too complex expression for frame_CFA resolution (RULE_VAL_EXPRESSION)\n");
|
FIXME("Too complex expression for frame_CFA resolution (RULE_VAL_EXPRESSION)\n");
|
||||||
break;
|
return FALSE;
|
||||||
default:
|
default:
|
||||||
frame->kind = loc_regrel;
|
frame->kind = loc_regrel;
|
||||||
frame->reg = dbghelp_current_cpu->map_dwarf_register(info.state.cfa_reg, module, TRUE);
|
frame->reg = dbghelp_current_cpu->map_dwarf_register(info.state.cfa_reg, module, TRUE);
|
||||||
|
|
Loading…
Reference in New Issue