Make LOC_OPTIMIZED_OUT the default value for a symbol.
This commit is contained in:
parent
6fed56b401
commit
875dc2fc84
|
@ -6856,7 +6856,7 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu)
|
||||||
/* Default assumptions.
|
/* Default assumptions.
|
||||||
Use the passed type or decode it from the die. */
|
Use the passed type or decode it from the die. */
|
||||||
SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
|
SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
|
||||||
SYMBOL_CLASS (sym) = LOC_STATIC;
|
SYMBOL_CLASS (sym) = LOC_OPTIMIZED_OUT;
|
||||||
if (type != NULL)
|
if (type != NULL)
|
||||||
SYMBOL_TYPE (sym) = type;
|
SYMBOL_TYPE (sym) = type;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue