[all-commits] [llvm/llvm-project] 5aeabf: [XCOFF][obj2yaml] Support SymbolAlignmentAndType a...

stephenpeckham via All-commits all-commits at lists.llvm.org
Thu Feb 8 08:44:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5aeabf2df92b92c71b5dbdb9ae82a37431aa2ee4
      https://github.com/llvm/llvm-project/commit/5aeabf2df92b92c71b5dbdb9ae82a37431aa2ee4
  Author: stephenpeckham <118857872+stephenpeckham at users.noreply.github.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/XCOFFYAML.h
    M llvm/lib/ObjectYAML/XCOFFEmitter.cpp
    M llvm/lib/ObjectYAML/XCOFFYAML.cpp
    M llvm/test/tools/obj2yaml/XCOFF/aix.yaml
    M llvm/test/tools/obj2yaml/XCOFF/aux-symbols.yaml
    A llvm/test/tools/yaml2obj/XCOFF/aux-aligntype.yaml
    M llvm/test/tools/yaml2obj/XCOFF/aux-symbols.yaml
    M llvm/tools/obj2yaml/xcoff2yaml.cpp

  Log Message:
  -----------
  [XCOFF][obj2yaml] Support SymbolAlignmentAndType as 2 separate fields in YAML. (#76828)

XCOFF encodes a symbol type and alignment in a single 8-bit field. It is
easier to read and write YAML files if the fields can be specified
separately. This PR causes obj2yaml to write the fields separately and
allows yaml2obj to read either the single combined field or the separate
fields.




More information about the All-commits mailing list