dbghelp: Try to avoid crashing on unrecognized attributes.
This commit is contained in:
parent
7168b62323
commit
bb2d643f49
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue