[LLVMdev] Programmatically setting command line options?

Paul Melis llvm at assumetheposition.nl
Sun Jun 7 01:48:30 PDT 2009


Hello,

Is there currently a way to set options, like -time-passes or -regalloc
from C++? I looked at the code in lib/Support/CommandLine.cpp, but the
stuff that comes closest to providing such functionality (mostly
GetOptionInfo()) is marked static.

Thanks,
Paul




More information about the llvm-dev mailing list