[all-commits] [llvm/llvm-project] cfec20: [obj2yaml] Add -o to specify output filename

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jul 14 00:33:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfec2080b7a6ffb023044219630bcb44a1dad14b
      https://github.com/llvm/llvm-project/commit/cfec2080b7a6ffb023044219630bcb44a1dad14b
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M llvm/test/ObjectYAML/Offload/default.yaml
    M llvm/test/ObjectYAML/wasm/header.yaml
    M llvm/test/tools/obj2yaml/Archives/regular.yaml
    M llvm/test/tools/obj2yaml/COFF/test-1.test
    M llvm/test/tools/obj2yaml/DXContainer/DXILPart.yaml
    M llvm/test/tools/obj2yaml/Minidump/basic.yaml
    M llvm/test/tools/obj2yaml/XCOFF/aix.yaml
    A llvm/test/tools/obj2yaml/output-file.yaml
    M llvm/tools/obj2yaml/obj2yaml.cpp

  Log Message:
  -----------
  [obj2yaml] Add -o to specify output filename

-o is very common among tools. yaml2obj supports -o and it surprised me that
obj2yaml doesn't support -o. Just add it which doesn't take much code.

Differential Revision: https://reviews.llvm.org/D129713




More information about the All-commits mailing list