Make LOC_OPTIMIZED_OUT the default value for a symbol.

This commit is contained in:
Nick Roberts 2006-05-06 00:14:03 +00:00
parent 6fed56b401
commit 875dc2fc84
1 changed files with 1 additions and 1 deletions

View File

@ -6856,7 +6856,7 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu)
/* Default assumptions.
Use the passed type or decode it from the die. */
SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
SYMBOL_CLASS (sym) = LOC_STATIC;
SYMBOL_CLASS (sym) = LOC_OPTIMIZED_OUT;
if (type != NULL)
SYMBOL_TYPE (sym) = type;
else