Eric Pouech : dbghelp/dwarf: Properly handle error cases while computing frame_cfa.
Alexandre Julliard
julliard at winehq.org
Tue Oct 19 16:07:48 CDT 2021
Module: wine
Branch: master
Commit: 7bc6eb9d255f13358cfd307a9e9129c09da65ce3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7bc6eb9d255f13358cfd307a9e9129c09da65ce3
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Tue Oct 19 15:51:55 2021 +0200
dbghelp/dwarf: Properly handle error cases while computing frame_cfa.
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 8b08799dce7..e1c77569622 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -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);
More information about the wine-cvs
mailing list