[PATCH] D105613: [Debug-Info] [llvm-dwarfdump] Don't try to dump location list for attributes that don't have the loclist class.

Esme Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 8 01:38:50 PDT 2021


Esme created this revision.
Esme added reviewers: probinson, shchenz, dblaikie, aprantl, PowerPC.
Herald added subscribers: cmtice, hiraditya, emaste.
Herald added a reviewer: jhenderson.
Esme requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1, MaskRay.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.

As what we discussed in D105469 <https://reviews.llvm.org/D105469>, the overflow error occurs when we try to dump location list for those attributes that do not have the `loclist` class.
After re-reviewed the entire list, I sorted those attributes into two parts, one for dumping location list and one for dump location expression.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105613

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h
  llvm/lib/DWARFLinker/DWARFLinker.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
  llvm/test/tools/llvm-dwarfdump/ELF/formclass3.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105613.357156.patch
Type: text/x-patch
Size: 19943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210708/4fd9108d/attachment.bin>


More information about the llvm-commits mailing list