Blame valgrind-3.7.0-debug-leak2.patch
|
Jakub Jelinek |
b750ff |
--- valgrind-3.7.0/coregrind/m_debuginfo/readdwarf3.c (revision 12418)
|
|
Jakub Jelinek |
b750ff |
+++ valgrind-3.7.0/coregrind/m_debuginfo/readdwarf3.c (revision 12419)
|
|
Jakub Jelinek |
b750ff |
@@ -3644,9 +3644,6 @@ void new_dwarf3_reader_wrk (
|
|
Jakub Jelinek |
b750ff |
cu_amount_used = cu_offset_now - cc.cu_start_offset;
|
|
Jakub Jelinek |
b750ff |
}
|
|
Jakub Jelinek |
b750ff |
|
|
Jakub Jelinek |
b750ff |
- if (cu_offset_now == debug_info_sz)
|
|
Jakub Jelinek |
b750ff |
- break;
|
|
Jakub Jelinek |
b750ff |
-
|
|
Jakub Jelinek |
b750ff |
/* Preen to level -2. DIEs have level >= 0 so -2 cannot occur
|
|
Jakub Jelinek |
b750ff |
anywhere else at all. Our fake the-entire-address-space
|
|
Jakub Jelinek |
b750ff |
range is at level -1, so preening to -2 should completely
|
|
Jakub Jelinek |
b750ff |
@@ -3655,6 +3652,9 @@ void new_dwarf3_reader_wrk (
|
|
Jakub Jelinek |
b750ff |
varstack_preen( &varparser, td3, -2 );
|
|
Jakub Jelinek |
b750ff |
/* Similarly, empty the type stack out. */
|
|
Jakub Jelinek |
b750ff |
typestack_preen( &typarser, td3, -2 );
|
|
Jakub Jelinek |
b750ff |
+
|
|
Jakub Jelinek |
b750ff |
+ if (cu_offset_now == debug_info_sz)
|
|
Jakub Jelinek |
b750ff |
+ break;
|
|
Jakub Jelinek |
b750ff |
/* else keep going */
|
|
Jakub Jelinek |
b750ff |
|
|
Jakub Jelinek |
b750ff |
TRACE_D3("set_abbv_Cursor cache: %lu queries, %lu misses\n",
|