[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
This commit is contained in:
Amine Khaldi
2015-01-22 21:13:57 +00:00
parent 1adc737644
commit 57febf6ccf

View File

@@ -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)
{