[PATCH] D67376: [DWARF] Evaluate DW_OP_entry_value

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 15:32:22 PDT 2019


vsk created this revision.
vsk added reviewers: aprantl, friss, jasonmolenda, jingham.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Add support for evaluating DW_OP_entry_value. This involves:

- Teaching clang to emit debug entry values when the debugger tuning is set to lldb.
- Parsing DW_TAG_call_site_parameter.
- Updating the expression evaluator.

rdar://54496008


https://reviews.llvm.org/D67376

Files:
  lldb/include/lldb/Symbol/Function.h
  lldb/packages/Python/lldbsuite/test/decorators.py
  lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values/Makefile
  lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values/TestEntryValsDumpLocationDescriptions1.py
  lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values/main.cpp
  lldb/packages/Python/lldbsuite/test/lldbtest.py
  lldb/source/Expression/DWARFExpression.cpp
  lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp
  lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  lldb/source/Symbol/Function.cpp
  lldb/source/Target/StackFrameList.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67376.219441.patch
Type: text/x-patch
Size: 28424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190909/040a62a4/attachment.bin>


More information about the llvm-commits mailing list