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:
Eric Pouech 2021-10-19 15:51:55 +02:00 committed by Alexandre Julliard
parent 8f272e25af
commit 7bc6eb9d25
1 changed files with 2 additions and 2 deletions

View File

@ -3689,10 +3689,10 @@ static BOOL compute_call_frame_cfa(struct module* module, ULONG_PTR ip, struct l
{
case RULE_EXPRESSION:
FIXME("Too complex expression for frame_CFA resolution (RULE_EXPRESSION)\n");
break;
return FALSE;
case RULE_VAL_EXPRESSION:
FIXME("Too complex expression for frame_CFA resolution (RULE_VAL_EXPRESSION)\n");
break;
return FALSE;
default:
frame->kind = loc_regrel;
frame->reg = dbghelp_current_cpu->map_dwarf_register(info.state.cfa_reg, module, TRUE);