Add ability to report when a variable's value is uninitialized,

based on information provided by the compiler.  Also add new
DWARF OP, DW_OP_GNU_uninit, for this purpose.
This commit is contained in:
Caroline Tice
2007-05-18 19:42:42 +00:00
parent a7c569c8f0
commit 42be36b328
8 changed files with 70 additions and 1 deletions

View File

@ -76,6 +76,10 @@ struct dwarf_expr_context
will be on the expression stack. */
int in_reg;
/* Initialization status of variable: Non-zero if variable has been
initialized; zero otherwise. */
int initialized;
/* An array of pieces. PIECES points to its first element;
NUM_PIECES is its length.