search for: default_foo

Displaying 2 results from an estimated 2 matches for "default_foo".

2013 May 11
0
[LLVMdev] Access to command line from within a pass
Hi Scott, On 11/05/13 00:09, Scott Pakin wrote: > Is it possible for a pass to get access to the command line options > passed to it? That is, if I use the CommandLine library to define > > cl::opt<int> Foo("foo", ...); > cl::opt<int> Bar("bar", ...); > cl::opt<bool> Baz("baz", ...); > > and the user runs
2013 May 10
2
[LLVMdev] Access to command line from within a pass
Is it possible for a pass to get access to the command line options passed to it? That is, if I use the CommandLine library to define cl::opt<int> Foo("foo", ...); cl::opt<int> Bar("bar", ...); cl::opt<bool> Baz("baz", ...); and the user runs "opt -load mypass.so -foo=123 -std-compile-opts -baz", can I somehow get a string