[PATCH] D94670: [DebugInfo][NFC] add a new DIE type to represent label + offset
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 14 04:13:00 PST 2021
shchenz created this revision.
shchenz added reviewers: ikudrin, MaskRay, hubert.reinterpretcast, jasonliu, PowerPC.
Herald added a subscriber: hiraditya.
shchenz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Add one more DIE type `DIELabelPlusOffset` to represent `label + offset`.
In `AsmPrinter` class, we already have `emitLabelPlusOffset` interface, so this new added class is some kind of a wrapper.
This new DIE type will be used in following patches which are going to support dwarf on XCOFF.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94670
Files:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/CodeGen/DIE.h
llvm/include/llvm/CodeGen/DIEValue.def
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94670.316616.patch
Type: text/x-patch
Size: 6578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/8dd97084/attachment.bin>
More information about the llvm-commits
mailing list