From a185435243b863066ba6f65032e7e3fc3b395704 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Thu, 1 Apr 2010 21:24:26 +0200 Subject: [PATCH] dbghelp: When handling a P augmentation in FDE/DIE parsing, throw away the DW_EH_indirect flag, as we don't handle the result. It's needed as long as we don't support DW_EH_indirect while reading encoded values. --- dlls/dbghelp/dwarf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c index 68e322cbeca..41e23974ea7 100644 --- a/dlls/dbghelp/dwarf.c +++ b/dlls/dbghelp/dwarf.c @@ -2383,6 +2383,8 @@ static BOOL parse_cie_details(dwarf2_traverse_context_t* ctx, struct frame_info* case 'P': { unsigned char encoding = dwarf2_parse_byte(ctx); + /* throw away the indirect bit, as we don't care for the result */ + encoding &= ~DW_EH_PE_indirect; dwarf2_parse_augmentation_ptr(ctx, encoding); /* handler */ continue; } -- 2.11.4.GIT