[all-commits] [llvm/llvm-project] 376c7b: Fix DW_OP_convert to resolve the CU relative offse...

Greg Clayton via All-commits all-commits at lists.llvm.org
Mon Sep 12 16:53:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 376c7bd92aff0e4256b2842400936a9b29343045
      https://github.com/llvm/llvm-project/commit/376c7bd92aff0e4256b2842400936a9b29343045
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/unittests/Expression/DWARFExpressionTest.cpp
    M lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp
    M lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h

  Log Message:
  -----------
  Fix DW_OP_convert to resolve the CU relative offset correctly.

Debugging some DWARF5 binaries was causing errors to appear when DWARFExpression::Evaluate was called:

    error: GetDIE for DIE 0x31 is outside of its CU 0x123450

The issue is in the DWARF expression evaluator. Fixed with this.

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




More information about the All-commits mailing list