[LLVMdev] [options] Tablegen based OptParser

Shankar Easwaran shankare at codeaurora.org
Tue Apr 1 22:40:44 PDT 2014


Hi,

With the GNU linker, the -z option has various suboptions.

With OptParser, Is there a way to accomplish handling a command line 
option with various sub options, similar to how cl::EnumVal is used ?

If there are any thoughts on how to accomplish this, it will be very 
useful too.

Thanks

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-dev mailing list