[PATCH] D151667: [NFC][llvm-debuginfod] Switch to OptTable

Andres Villegas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 29 16:40:46 PDT 2023


avillega created this revision.
Herald added a project: All.
avillega requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This change moves llvm-debuginfod from llvm::cl
to OptTable for the parsing of the command line arguments.

This is a reland of https://reviews.llvm.org/D151273 which
had to be reverted because size_t type is implementation
dependant and the original change was assuming `unsigned long`
for the default value of one the command line arguments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151667

Files:
  llvm/tools/llvm-debuginfod/CMakeLists.txt
  llvm/tools/llvm-debuginfod/Opts.td
  llvm/tools/llvm-debuginfod/llvm-debuginfod.cpp
  llvm/utils/gn/secondary/llvm/tools/llvm-debuginfod/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151667.526484.patch
Type: text/x-patch
Size: 8682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230529/d87f974a/attachment.bin>


More information about the llvm-commits mailing list