[PATCH] D92565: [yaml2obj,obj2yaml] - Make Symbol::Section field to be optional.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 03:47:20 PST 2020


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

This is similar to what we did earlier for fields of the Section class.

When a field is optional we can use the =<none> syntax in macros.

This was splitted from D92478 <https://reviews.llvm.org/D92478>.


https://reviews.llvm.org/D92565

Files:
  llvm/include/llvm/ObjectYAML/ELFYAML.h
  llvm/lib/ObjectYAML/ELFEmitter.cpp
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/test/tools/yaml2obj/ELF/dynamic-symbols.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92565.309217.patch
Type: text/x-patch
Size: 3587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201203/a89da1f0/attachment.bin>


More information about the llvm-commits mailing list