[all-commits] [llvm/llvm-project] df42d6: [obj2yaml] Refactor command line parsing

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jul 18 00:14:08 PDT 2022


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

  Changed paths:
    A llvm/test/tools/obj2yaml/help.test
    M llvm/tools/obj2yaml/obj2yaml.cpp

  Log Message:
  -----------
  [obj2yaml] Refactor command line parsing

Similar to D73982 for yaml2obj.

* Hide unrelated options.
* Add an OVERVIEW: message.
* Disallow single-dash long options.

Reviewed By: jhenderson

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




More information about the All-commits mailing list