proc,service: export declaration line of variables

Adds a field, DeclLine, to Variable containing the declaration line
number of the variable.
This commit is contained in:
aarzilli
2018-06-28 11:23:39 +02:00
committed by Derek Parker
parent 9a216211d3
commit 5cd86b1587
3 changed files with 5 additions and 0 deletions

View File

@ -227,6 +227,8 @@ type Variable struct {
// LocationExpr describes the location expression of this variable's address
LocationExpr string
// DeclLine is the line number of this variable's declaration
DeclLine int64
}
// LoadConfig describes how to load values from target's memory