Eric Pouech : dbghelp/dwarf: Don't recompute location when said location is complex.

Alexandre Julliard julliard at winehq.org
Tue Sep 14 16:00:13 CDT 2021


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Sat Sep 11 10:58:47 2021 +0200

dbghelp/dwarf: Don't recompute location when said location is complex.

This was generating a global symbol instead of a local symbol.

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

---

 dlls/dbghelp/dwarf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 13f1c0e7d9c..476061a62a5 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -947,7 +947,6 @@ static BOOL dwarf2_compute_location_attr(dwarf2_parse_context_t* ctx,
             *ptr = xloc.u.block.size;
             memcpy(ptr + 1, xloc.u.block.ptr, xloc.u.block.size);
             loc->offset = (ULONG_PTR)ptr;
-            compute_location(ctx->module, &ctx->head, &lctx, loc, NULL, frame);
         }
     }
     return TRUE;




More information about the wine-cvs mailing list