[PATCH] D101024: [Debug-Info] make DIE attributes generating under control of strict dwarf

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 00:15:10 PDT 2021


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

We added strict dwarf support in D100826 <https://reviews.llvm.org/D100826>.

This is a suggestion from @probinson and @dblaikie

Make use of this flag for attribute generating.

We should also guard other DWARF info(tags, forms, loc expressions) generating under strict dwarf flag, but currently, there is no obvious way. Leave for later improvement.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101024

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  llvm/test/DebugInfo/PowerPC/alignment.ll
  llvm/test/DebugInfo/PowerPC/noreturn.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101024.339495.patch
Type: text/x-patch
Size: 7252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/5db5359a/attachment-0001.bin>


More information about the llvm-commits mailing list