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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 14:41:04 PDT 2018


Shoaib,

Thanks! I didn't know Phabricator interprets pluses and minuses as a list.

On Fri, Jun 1, 2018 at 2:39 PM Shoaib Meenai via Phabricator <
reviews at reviews.llvm.org> wrote:

> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180601/2ae2b394/attachment.html>


More information about the llvm-commits mailing list