[all-commits] [llvm/llvm-project] 0b2b0c: [obj2yaml] Migrate to OptTable (#224965)

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Sep 24 10:45:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b2b0cca1214db3f0e1d34033594cb36a3faed7f
      https://github.com/llvm/llvm-project/commit/0b2b0cca1214db3f0e1d34033594cb36a3faed7f
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/test/tools/obj2yaml/help.test
    M llvm/tools/obj2yaml/CMakeLists.txt
    A llvm/tools/obj2yaml/Opts.td
    M llvm/tools/obj2yaml/obj2yaml.cpp
    M llvm/utils/gn/secondary/llvm/tools/obj2yaml/BUILD.gn
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [obj2yaml] Migrate to OptTable (#224965)

obj2yaml is one of three tools that parse with
cl::ParseCommandLineOptions(LongOptionsUseDoubleDash=true). Parse its
options with an OptTable instead, so that the mode can be removed from
cl::. Spellings follow the other migrated tools: -o<file> and -o <file>,
--raw-segment=<segment> and --raw-segment <segment>, -h/--help and
--version. `--help` lists only obj2yaml's options.

LLM-aided



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list