[cfe-dev] Add flags to clang and llvm

Rinaldini Julien julien.rinaldini at heig-vd.ch
Wed Jan 23 06:28:26 PST 2013


Hi,

I want to add a flag to clang and I want this flag to be passed to llvm... I'm looking in the Driver directory,
but I'm a bit lost !

I have written an optimisation pass in llvm and I want to be able to call it with my own flag (not the -O) like that for example:

clang input.c -o output -b{1,2,3,4}

Is there some documentation or some example somewhere ? I didn't find any in the doc :(

Thx



More information about the cfe-dev mailing list