[Lldb-commits] [PATCH] D61587: [lldb] Added support for dwarf expressions DW_OP_call2/DW_OP_call4
Chirag Patel via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon May 6 02:42:44 PDT 2019
Chirag created this revision.
Chirag added a project: LLDB.
Herald added subscribers: lldb-commits, aprantl.
Chirag added a reviewer: jingham.
dwarf expression DW_OP_call2/DW_OP_call4 performs dwarf procedure calls during evaluation of a dwarf expression or location description. The 2-byte unsigned offset for DW_OP_call2 (4-byte unsigned offset for DW_OP_call4) is a die entry in the current compilation unit. These operations transfer control of DWARF expression evaluation to the DW_AT_location attribute of the referenced die entry. If there is no such attribute present then there is no effect. the evaluation stack is shared between caller/callee and callee may add to/remove from the value on stack.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D61587
Files:
include/lldb/Expression/DWARFExpression.h
source/Expression/DWARFExpression.cpp
source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
source/Target/RegisterContext.cpp
unittests/Expression/DWARFExpressionTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61587.198240.patch
Type: text/x-patch
Size: 9959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190506/34499eff/attachment.bin>
More information about the lldb-commits
mailing list