dbghelp: Try to avoid crashing on unrecognized attributes.

oldstable
Alexandre Julliard 2009-05-29 12:30:28 +02:00
parent 7168b62323
commit bb2d643f49
1 changed files with 2 additions and 0 deletions

View File

@ -1334,6 +1334,8 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
switch (loc.kind)
{
case loc_error:
break;
case loc_absolute:
/* it's a global variable */
/* FIXME: we don't handle its scope yet */