[PATCH] D101125: [Debug-Info][NFC] add a wrapper for Die.addValue

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 19:16:40 PDT 2021


shchenz created this revision.
shchenz added reviewers: dblaikie, probinson, aprantl, echristo, jsji, Esme, PowerPC.
shchenz added a project: debug-info.
Herald added a subscriber: hiraditya.
shchenz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add a new wrapper function `addAttribute()` for `Die.addValue()` function, so we can do some attributes control in one single interface.
This is used for strict dwarf in patch D101024 <https://reviews.llvm.org/D101024>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101125

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101125.339841.patch
Type: text/x-patch
Size: 8605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/5dfe1ee0/attachment-0001.bin>


More information about the llvm-commits mailing list