[all-commits] [llvm/llvm-project] 8c2cf8: [yaml2obj/obj2yaml] - Make Value/Size fields of Sy...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Dec 16 03:00:59 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c2cf89834c3496be343525b9f9c6aecc9182117
      https://github.com/llvm/llvm-project/commit/8c2cf89834c3496be343525b9f9c6aecc9182117
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/ELFYAML.h
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    A llvm/test/tools/obj2yaml/ELF/symbol.yaml
    A llvm/test/tools/yaml2obj/ELF/symbol-size.yaml
    A llvm/test/tools/yaml2obj/ELF/symbol-value.yaml
    M llvm/tools/obj2yaml/elf2yaml.cpp

  Log Message:
  -----------
  [yaml2obj/obj2yaml] - Make Value/Size fields of Symbol optional.

When a field is optional we can use the `=<none>` syntax in macros.
This patch makes `Value`/`Size` fields of `Symbol` optional
and adds test cases for them.

Differential revision: https://reviews.llvm.org/D93010




More information about the All-commits mailing list