[all-commits] [llvm/llvm-project] 2c6710: Teach DWARFExpression about DWARF 4+ Location Desc...

adrian-prantl via All-commits all-commits at lists.llvm.org
Tue Mar 23 10:30:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c6710a5e10021387e47cf133a9929209c8e0415
      https://github.com/llvm/llvm-project/commit/2c6710a5e10021387e47cf133a9929209c8e0415
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

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

  Log Message:
  -----------
  Teach DWARFExpression about DWARF 4+ Location Descriptions

DWARFExpression implements the DWARF2 expression model that left
ambiguity on whether the result of an expression was a value or an
address. This patch implements the DWARF location description model
introduces in DWARF 4 and sets the result Value's kind accordingly, if
the expression comes from a DWARF v4+ compile unit. The nomenclature
is taken from DWARF 5, chapter 2.6 "Location Descriptions".

Differential Revision: https://reviews.llvm.org/D98996




More information about the All-commits mailing list