[all-commits] [llvm/llvm-project] 6583f0: [LLDB] Fixing DWARFExpression handling of ValueTyp...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Tue Mar 15 09:36:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6583f01707211ed14d8e35f2183a8805a301b6f9
      https://github.com/llvm/llvm-project/commit/6583f01707211ed14d8e35f2183a8805a301b6f9
  Author: Shafik Yaghmour <syaghmour at apple.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M lldb/source/Expression/DWARFExpression.cpp
    A lldb/test/Shell/SymbolFile/DWARF/x86/DW_OP_deref_size_static_var.s

  Log Message:
  -----------
  [LLDB] Fixing DWARFExpression handling of ValueType::FileAddress case for DW_OP_deref_size

Currently DW_OP_deref_size just drops the ValueType::FileAddress case and does
not attempt to handle it. This adds support for this case and a test that
verifies this support.

I did a little refactoring since DW_OP_deref and DW_OP_deref_size have some
overlap in code.

Also see: rdar://66870821

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




More information about the All-commits mailing list