[PATCH] D86590: [DWARFYAML] Make the unit_length and header_length fields optional.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 23:57:17 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.

This patch makes the unit_length and header_length fields of line tables
optional. yaml2obj is able to infer them for us.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86590

Files:
  llvm/include/llvm/ObjectYAML/DWARFYAML.h
  llvm/lib/ObjectYAML/DWARFEmitter.cpp
  llvm/lib/ObjectYAML/DWARFYAML.cpp
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml
  llvm/tools/obj2yaml/dwarf2yaml.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86590.287843.patch
Type: text/x-patch
Size: 14773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/c6583297/attachment.bin>


More information about the llvm-commits mailing list