diff options
author | David Stenberg <david.stenberg@ericsson.com> | 2020-03-16 10:53:17 +0100 |
---|---|---|
committer | David Stenberg <david.stenberg@ericsson.com> | 2020-03-16 11:24:01 +0100 |
commit | c93652517c810a3afafe6d2a57b528bf2692a165 (patch) | |
tree | 3759fd9ed7332727fc7a9d6eece748a34fa9c527 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | b1a7a245ec24ba3a1bc482897a8f735785ea5983 (diff) | |
download | llvm-c93652517c810a3afafe6d2a57b528bf2692a165.zip llvm-c93652517c810a3afafe6d2a57b528bf2692a165.tar.gz llvm-c93652517c810a3afafe6d2a57b528bf2692a165.tar.bz2 |
[DebugInfo] Handle generic type DW_OP_convert ops in llvm-dwarfdump
Summary:
This is a preparatory change for allowing LLVM to 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.
Reviewers: aprantl, markus, jdoerfert, jhenderson
Reviewed By: aprantl
Subscribers: hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D76141
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions