[llvm-dev] Dynamically adding command line options

Fangrui Song via llvm-dev llvm-dev at lists.llvm.org
Sat May 23 11:09:40 PDT 2020


On 2020-05-17, Riyaz Puthiyapurayil via llvm-dev wrote:
>There is a section at the Command Line documentation with the header "Dynamically Adding Command Line Options" but it is empty:
>
>https://llvm.org/docs/CommandLine.html#dynamically-adding-command-line-options
>
>What was this supposed to contain?

It seems that the placeholder has been there since 2002 (https://reviews.llvm.org/rL3095).

I guess it probably intended to include a static local variable example.

// llvm/tools/llvm-readobj/llvm-readobj.cpp has an example.
   static cl::alias ... 


More information about the llvm-dev mailing list