[all-commits] [llvm/llvm-project] 4ebb19: [yaml2obj] Migrate to OptTable (#224964)
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Sep 24 11:25:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4ebb19efe952ded7f9d937731418baf3b28babd0
https://github.com/llvm/llvm-project/commit/4ebb19efe952ded7f9d937731418baf3b28babd0
Author: Fangrui Song <i at maskray.me>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M llvm/test/tools/yaml2obj/help.test
M llvm/tools/yaml2obj/CMakeLists.txt
A llvm/tools/yaml2obj/Opts.td
M llvm/tools/yaml2obj/yaml2obj.cpp
M llvm/utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[yaml2obj] Migrate to OptTable (#224964)
yaml2obj 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: -D<macro>=<v> and
-D <macro>=<v>, -o<file> and -o <file>, --docnum=<n> and --docnum <n>,
--max-size likewise, -E, -h/--help and --version. `-o=<file>` is no
longer accepted; the tests that used it are updated. `--help` lists
only yaml2obj'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