[PATCH] D76141: [DebugInfo] Handle generic type DW_OP_convert ops in llvm-dwarfdump
David Stenberg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 13 10:11:57 PDT 2020
dstenb created this revision.
dstenb added reviewers: aprantl, markus.
dstenb added a project: debug-info.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
dstenb added a child revision: D76142: [DebugInfo] Handle generic type DW_OP_convert ops in dsymutil.
This is a preparatory change for introducing a new operation that'll let
us emit DW_OP_convert operations converting to the generic type.
If DW_OP_convert's operand is 0, it converts the top of stack to the
generic type, as specified by DWARFv5 section 2.5.1.6:
"[...] takes one operand, which is an unsigned LEB128 integer that
represents the offset of a debugging information entry in the current
compilation unit, or value 0 which represents the generic type."
This adds support for such operations to llvm-dwarfdump.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76141
Files:
llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
llvm/test/tools/llvm-dwarfdump/X86/debug_expr_convert_generic.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76141.250239.patch
Type: text/x-patch
Size: 9233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200313/ca6653b8/attachment.bin>
More information about the llvm-commits
mailing list