[PATCH] D47656: Show choices of multiple-choice options in `ld.lld --help` message.

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 14:39:12 PDT 2018


smeenai added a comment.

Formatted diff (I didn't wanna edit the summary itself):

  -  --build-id=<value>      Generate build ID note
  +  --build-id=[fast,md5,sha,uuid,0x<hexstring>]
  +                          Generate build ID note
  
  -  --build-id              Generate build ID note
  +  --build-id              Alias for --build-id=fast
  
  -  --color-diagnostics=<value>
  -                          Use colors in diagnostics; one of 'always', 'never', 'auto'
  +  --color-diagnostics=[auto,always,never]
  +                          Use colors in diagnostics
  
  -  --color-diagnostics     Use colors in diagnostics
  +  --color-diagnostics     Alias for --color-diagnostics=always
  
  -  --compress-debug-sections=<value>
  +  --compress-debug-sections=[none,zlib]
  
  -  --defsym=<value>        Define a symbol alias
  +  --defsym=<symbol>=<value>
  +                          Define a symbol alias
  
  -  --format=<input-format> Change the input format of the inputs following this option
  +  --format=[default,elf,binary]
  +                          Change the input format of the inputs following this option
  
  -  --pack-dyn-relocs=<format>
  -                          Pack dynamic relocations in the given format (none or android)
  +  --pack-dyn-relocs=[none,android]
  +                          Pack dynamic relocations in the given format
  
  -  --rsp-quoting=<value>   Quoting style for response files. Values supported: windows|posix
  +  --rsp-quoting=[posix,windows]
  +                          Quoting style for response files
  
  -  --undefined=<value>     Force undefined symbol during linking
  +  --undefined=<symbol>    Force undefined symbol during linking
  
  -  --wrap=<symbol>         Use wrapper functions for symbol
  +  --wrap=<symbol>=<symbol>
  +                          Use wrapper functions for symbol


https://reviews.llvm.org/D47656





More information about the llvm-commits mailing list