[PATCH] D85006: [DWARFYAML] Offsets should be omitted when the OffsetEntryCount is 0.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 00:40:57 PDT 2020


Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
Higuoxing requested review of this revision.

The offsets field should be omitted when the 'OffsetEntryCount' entry is
specified to be 0.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85006

Files:
  llvm/lib/ObjectYAML/DWARFEmitter.cpp
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-rnglists.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85006.282149.patch
Type: text/x-patch
Size: 4889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200731/61f24713/attachment.bin>


More information about the llvm-commits mailing list