Author: akhaldi
Date: Thu Jan 22 21:13:57 2015
New Revision: 66076
URL:
http://svn.reactos.org/svn/reactos?rev=66076&view=rev
Log:
[DBGHELP] Restrict the Clang workaround in r64203. Fixes CORE-9084. Many thanks to David
Quintana and The Arty for their help. Dedicated to Jim ;)
Modified:
trunk/reactos/dll/win32/dbghelp/dwarf.c
Modified: trunk/reactos/dll/win32/dbghelp/dwarf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dbghelp/dwarf.c?…
==============================================================================
--- trunk/reactos/dll/win32/dbghelp/dwarf.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dbghelp/dwarf.c [iso-8859-1] Thu Jan 22 21:13:57 2015
@@ -2381,7 +2381,7 @@
}
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)
{