[PATCH] D81220: [DWARFYAML][debug_ranges] Make the "Offset" field optional.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 21:28:44 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 added a parent revision: D81217: [ObjectYAML][DWARF] Support emitting .debug_ranges section in ELFYAML..

Before this patch, we have to calculate the offset for the current range list entry. This patch helps make the "Offset" field optional.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81220

Files:
  llvm/include/llvm/ObjectYAML/DWARFYAML.h
  llvm/lib/ObjectYAML/DWARFEmitter.cpp
  llvm/lib/ObjectYAML/DWARFYAML.cpp
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-ranges.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81220.268657.patch
Type: text/x-patch
Size: 5826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/2df0189f/attachment.bin>


More information about the llvm-commits mailing list