[all-commits] [llvm/llvm-project] efe62b: [lldb/DWARF] Add support for DW_OP_implicit_value

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Thu Oct 22 09:03:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: efe62b637d51f6d622589132075320dd4f687478
      https://github.com/llvm/llvm-project/commit/efe62b637d51f6d622589132075320dd4f687478
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/unittests/Expression/DWARFExpressionTest.cpp

  Log Message:
  -----------
  [lldb/DWARF] Add support for DW_OP_implicit_value

This patch completes https://reviews.llvm.org/D83560. Now that the
compiler can emit `DW_OP_implicit_value` into DWARF expressions, lldb
needed to learn reading these opcodes for variable inspection and
expression evaluation.

This implicit location descriptor specifies an immediate value with two
operands: the length (ULEB128) followed by a block representing the value
in the target memory representation.

rdar://67406091

Differential revision: https://reviews.llvm.org/D89842

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list