dwarf_expr: Add DW_OP_{implicit,stack}_value (#233)
authorWilliam Woodruff <william@yossarian.net>
Thu, 18 Jul 2019 13:28:23 +0000 (09:28 -0400)
committerEli Bendersky <eliben@users.noreply.github.com>
Thu, 18 Jul 2019 13:28:23 +0000 (06:28 -0700)
elftools/dwarf/dwarf_expr.py

index 270a78165b476b8bd67c729740fd553a0985ec93..6a63efbc1eab1f77a692c63b3bbc829ad56ad0c6 100644 (file)
@@ -68,6 +68,8 @@ DW_OP_name2opcode = dict(
     DW_OP_form_tls_address=0x9b,
     DW_OP_call_frame_cfa=0x9c,
     DW_OP_bit_piece=0x9d,
+    DW_OP_implicit_value=0x9e,
+    DW_OP_stack_value=0x9f,
 )
 
 def _generate_dynamic_values(map, prefix, index_start, index_end, value_start):