-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read: add Evaluation::value_result (#676)
DWARF expressions can be used to either compute a value or a location description, depending on context. Currently a value computation will result in a location description that contains one `Piece` whose `location` is set to `Location::Address`, and this address is the computed value. `Evaluation::value_result` makes it easier to obtain this value, supports results that are typed values, and checks there were no operations that only valid for location descriptions.
- Loading branch information
Showing
1 changed file
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters