From 57febf6ccf285fe2f7fd8eeba87d9a73bc6ab216 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 22 Jan 2015 21:13:57 +0000 Subject: [PATCH] [DBGHELP] Restrict the Clang workaround in r64203. Fixes CORE-9084. Many thanks to David Quintana and The Arty for their help. Dedicated to Jim ;) svn path=/trunk/; revision=66076 --- reactos/dll/win32/dbghelp/dwarf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/dbghelp/dwarf.c b/reactos/dll/win32/dbghelp/dwarf.c index a64cba64446..13262bec951 100644 --- a/reactos/dll/win32/dbghelp/dwarf.c +++ b/reactos/dll/win32/dbghelp/dwarf.c @@ -2381,7 +2381,7 @@ static BOOL dwarf2_parse_compilation_unit(const dwarf2_section_t* sections, } if (dwarf2_find_attribute(&ctx, di, DW_AT_stmt_list, &stmt_list)) { -#ifdef __REACTOS__ +#if defined(__REACTOS__) && defined(__clang__) unsigned long stmt_list_val = stmt_list.u.uvalue; if (stmt_list_val > module->module.BaseOfImage) {