[libc-commits] [libc] [libc] Use LLVM CommandLine for loader tool (PR #101501)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Aug 1 08:47:03 PDT 2024


jhuber6 wrote:

> Deprecated is probably too harsh, but you get most handling for free and don't need those static variables.
> 
> set(LLVM_TARGET_DEFINITIONS Opts.td) tablegen(LLVM Opts.inc -gen-opt-parser-defs)

Not really sure how to replicate the `cl::ConsumeAfter` functionality with the OptParser that I'm basically relying on here. Is there any replacement for that? Or would I need to roll it myself.

https://github.com/llvm/llvm-project/pull/101501


More information about the libc-commits mailing list