Don't assert on icc9 generated Dwarf3.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8696
This commit is contained in:
Julian Seward 2008-10-22 15:49:59 +00:00
parent 78116a4c41
commit 2d9f215985

View File

@ -3760,10 +3760,14 @@ void new_dwarf3_reader_wrk (
ML_(dinfo_free)( tyents_to_keep_cache );
tyents_to_keep_cache = NULL;
/* and the file name table (just the array, not the entries
themselves). */
vg_assert(varparser.filenameTable);
VG_(deleteXA)( varparser.filenameTable );
/* and the file name table (just the array, not the entries
themselves). (Apparently, 2008-Oct-23, varparser.filenameTable
can be NULL here, for icc9 generated Dwarf3. Not sure what that
signifies (a deeper problem with the reader?)) */
if (varparser.filenameTable) {
VG_(deleteXA)( varparser.filenameTable );
varparser.filenameTable = NULL;
}
/* record the GExprs in di so they can be freed later */
vg_assert(!di->admin_gexprs);