aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 1a01e00..86bf2cb 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -1014,6 +1014,19 @@ decode_location_expression (unsigned char * data,
data += bytes_read;
break;
+ /* DWARF 4 extensions. */
+ case DW_OP_stack_value:
+ printf ("DW_OP_stack_value");
+ break;
+
+ case DW_OP_implicit_value:
+ printf ("DW_OP_implicit_value");
+ uvalue = read_leb128 (data, &bytes_read, 0);
+ data += bytes_read;
+ display_block (data, uvalue);
+ data += uvalue;
+ break;
+
/* GNU extensions. */
case DW_OP_GNU_push_tls_address:
printf ("DW_OP_GNU_push_tls_address or DW_OP_HP_unknown");