llvm-project/llvm/test/tools
Andrzej Warzynski dcc6b7b1d5 [OptTable] Refine how `printHelp` treats empty help texts
Currently, `printHelp` behaves differently for options that:
  * do not define `HelpText` (such options _are not printed_), and
  * define its `HelpText` as `HelpText<"">` (such options _are printed_).
In practice, both approaches lead to no help text and `printHelp` should
treat them consistently. This patch addresses that by making
`printHelpt` check the length of the help text to be printed.

All affected tests have been updated accordingly. The option definitions
for llvm-cvtres have been updated with a short description or "Not
  implemented" for options that are ignored by the tool.

Differential Revision: https://reviews.llvm.org/D107557
2021-08-19 09:30:15 +00:00
..
UpdateTestChecks [AArch64InstPrinter] Change printAddSubImm to comment imm value when shifted 2021-08-03 02:28:46 -07:00
dsymutil [dsymutil tests] Try to make eh_frames.test run on other platforms 2021-05-28 15:49:31 -04:00
gold [InlineAdvisor] Add single quotes around caller/callee names 2021-08-10 11:51:31 -07:00
llc [llc] Add reportError helper and canonicalize error messages 2021-01-26 15:33:37 -08:00
llvm-ar [llvm-ar] Add some test-cases for empty archives 2021-08-10 10:34:50 +01:00
llvm-as [ConstantFold] Get rid of special cases for sizeof etc. 2021-07-31 13:20:47 -07:00
llvm-bcanalyzer [llvm][tools] Hide unrelated llvm-bcanalyzer options 2021-07-15 10:43:15 +02:00
llvm-cfi-verify [llvm][tools] Hide unrelated llvm-cfi-verify options 2021-07-16 10:43:52 +02:00
llvm-config
llvm-cov [llvm-cov gcov] Support GCC 12 format 2021-06-19 22:51:20 -07:00
llvm-cvtres [OptTable] Refine how `printHelp` treats empty help texts 2021-08-19 09:30:15 +00:00
llvm-cxxdump [llvm][tools] Hide more unrelated tool options 2021-07-20 13:27:33 +02:00
llvm-cxxfilt [llvm-cxxfilt] Switch command line parsing from llvm::cl to OptTable 2021-07-09 10:10:45 -07:00
llvm-cxxmap [llvm][tools] Hide more unrelated tool options 2021-07-20 13:27:33 +02:00
llvm-diff [llvm-diff] Check for recursive initialiers 2021-07-21 14:21:21 -07:00
llvm-dis [llvm][tools] Hide more unrelated tool options 2021-07-20 13:27:33 +02:00
llvm-dlltool [llvm-dlltool] Imply the target arch from a tool triple prefix 2021-06-17 13:02:35 +03:00
llvm-dwarfdump Add missing triple for test 2021-08-15 12:32:12 -07:00
llvm-dwp [llvm][tools] Hide more unrelated tool options 2021-07-20 13:27:33 +02:00
llvm-exegesis [llvm-exegesis] SnippetFile: do create source manager in MCContext 2021-04-04 15:58:39 +03:00
llvm-extract
llvm-gsymutil Add --quiet option to llvm-gsymutil to suppress output of warnings. 2021-05-27 12:36:34 +00:00
llvm-ifs [llvm][tools] Hide more unrelated tool options 2021-07-20 13:27:33 +02:00
llvm-isel-fuzzer [mac/arm] Deflake 3 check-llvm tests 2020-12-12 21:14:45 -05:00
llvm-jitlink [llvm][tools] Hide more unrelated LLVM tool options 2021-07-21 09:14:04 +02:00
llvm-lib Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
llvm-libtool-darwin [llvm-libtool] Emit warnings for files without symbols 2021-02-16 17:52:12 -08:00
llvm-link [llvm][tools] Hide more unrelated LLVM tool options 2021-07-21 09:14:04 +02:00
llvm-lipo [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
llvm-lit
llvm-locstats
llvm-lto [LTO][Legacy] Add new API to check presence of ctor/dtor functions. 2021-07-28 12:41:56 +00:00
llvm-lto2 [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
llvm-mc [llvm][tools] Hide more unrelated LLVM tool options 2021-07-21 09:14:04 +02:00
llvm-mca [X86][NFC] Pre-commit tests for PR51494 2021-08-18 19:55:21 +01:00
llvm-ml [ms] [llvm-ml] Fix macro case-insensitivity 2021-07-22 15:50:52 -04:00
llvm-modextract [llvm][tools] Hide more unrelated LLVM tool options 2021-07-21 09:14:04 +02:00
llvm-mt
llvm-nm [llvm-nm] Remove one-dash long options except -arch 2021-07-15 09:50:37 -07:00
llvm-objcopy [llvm-objcopy][ELF] Avoid reordering section headers 2021-08-12 17:12:09 +07:00
llvm-objdump [llvm-objdump] -T: print symbol versions 2021-08-17 09:10:50 -07:00
llvm-opt-fuzzer [mac/arm] Deflake 3 check-llvm tests 2020-12-12 21:14:45 -05:00
llvm-opt-report
llvm-original-di-preservation Recommit: "[Debugify][Original DI] Test dbg var loc preservation"" 2021-05-21 02:04:29 -07:00
llvm-pdbutil [llvm][tools] Hide more unrelated LLVM tool options 2021-07-21 09:14:04 +02:00
llvm-profdata [SamplePGO][NFC] Dump function profiles in order 2021-08-16 17:22:30 -07:00
llvm-profgen [CSSPGO] Track and use context-sensitive post-optimization function size to drive global pre-inliner in llvm-profgen 2021-08-18 22:50:57 -07:00
llvm-ranlib
llvm-rc [llvm-rc] Allow specifying language with a leading 0x prefix 2021-08-05 10:19:55 +03:00
llvm-readobj [PowerPC][AIX] llvm-readobj: Convert some errors to warnings. 2021-08-18 11:04:08 -04:00
llvm-reduce [llvm][tools] Hide remaining unrelated llvm- tool options 2021-07-22 09:47:55 +02:00
llvm-rtdyld [llvm][tools] Hide remaining unrelated llvm- tool options 2021-07-22 09:47:55 +02:00
llvm-sim [IRSim] Adding basic implementation of llvm-sim. 2021-06-23 14:38:58 -05:00
llvm-size [llvm-size] Switch command line parsing from llvm::cl to OptTable 2021-07-09 10:26:53 -07:00
llvm-split [llvm][tools] Hide remaining unrelated llvm- tool options 2021-07-22 09:47:55 +02:00
llvm-stress [llvm][tools] Hide remaining unrelated llvm- tool options 2021-07-22 09:47:55 +02:00
llvm-strings [llvm-strings] Switch command line parsing from llvm::cl to OptTable 2021-07-05 10:46:17 -07:00
llvm-symbolizer [llvm-symbolizer] Remove one-dash long options 2021-07-23 08:35:45 -07:00
llvm-tapi-diff [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
llvm-undname [llvm][tools] Hide remaining unrelated llvm- tool options 2021-07-22 09:47:55 +02:00
llvm-xray [NFC][llvm-xray] add a llvm-xray convert option `no-demangle` 2021-08-18 12:22:04 +08:00
lto [llvm] Fix lto tests that requires ld64 2021-06-22 09:21:29 -07:00
not
obj2yaml [test] Avoid llvm-readelf/llvm-readobj one-dash long options and deprecated aliases (e.g. --file-headers) 2021-07-15 10:26:21 -07:00
opt-viewer
sancov
sanstats
split-file [split-file] Default to --no-leading-lines 2021-08-16 19:23:11 -07:00
yaml2obj [llvm-readobj][XCOFF] Print the length of the string table. 2021-08-09 06:47:15 +00:00