[PATCH 4/4] [DbgHelp]: when handling a P augmentation in FDE/DIE parsing, throw away the DW_EH_indirect flag, as we don't handle the result
Eric Pouech
eric.pouech at orange.fr
Thu Apr 1 14:24:26 CDT 2010
(it's needed as long as we don't support DW_EH_indirect while reading encoded values)
A+
---
dlls/dbghelp/dwarf.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 68e322c..41e2397 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;
}
More information about the wine-patches
mailing list