[all-commits] [llvm/llvm-project] 6e3937: [DwarfExpression] Support entry values for indirec...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Tue May 26 14:35:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e39379bbbe1d8aba658f638dfc42f0ba0cbb926
      https://github.com/llvm/llvm-project/commit/6e39379bbbe1d8aba658f638dfc42f0ba0cbb926
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M lldb/test/API/functionalities/param_entry_vals/basic_entry_values/main.cpp
    M llvm/docs/LangRef.rst
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
    M llvm/lib/CodeGen/LiveDebugValues.cpp
    A llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-indirect-param-with-offset.mir
    A llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-indirect-param.mir

  Log Message:
  -----------
  [DwarfExpression] Support entry values for indirect parameters

Summary:
A struct argument can be passed-by-value to a callee via a pointer to a
temporary stack copy. Add support for emitting an entry value DBG_VALUE
when an indirect parameter DBG_VALUE becomes unavailable. This is done
by omitting DW_OP_stack_value from the entry value expression, to make
the expression describe the location of an object.

rdar://63373691

Reviewers: djtodoro, aprantl, dstenb

Subscribers: hiraditya, lldb-commits, llvm-commits

Tags: #lldb, #llvm

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




More information about the All-commits mailing list