|
From: <sv...@va...> - 2014-06-15 19:16:56
|
Author: philippe
Date: Sun Jun 15 19:16:46 2014
New Revision: 14040
Log:
When only reading inline info, no need to parse debug_types sections
Modified:
trunk/coregrind/m_debuginfo/readdwarf3.c
Modified: trunk/coregrind/m_debuginfo/readdwarf3.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readdwarf3.c (original)
+++ trunk/coregrind/m_debuginfo/readdwarf3.c Sun Jun 15 19:16:46 2014
@@ -4179,6 +4179,8 @@
} else {
if (!ML_(sli_is_valid)(escn_debug_types))
continue;
+ if (!VG_(clo_read_var_info))
+ continue; // Types not needed when only reading inline info.
init_Cursor( &info, escn_debug_types, 0, barf,
"Overrun whilst reading .debug_types section" );
section_size = escn_debug_types.szB;
|