[LLVMdev] Passing arguments to opt via clang
Anton Korobeynikov
anton at korobeynikov.info
Sun Mar 4 07:57:06 PST 2012
Hello
> For example I have a shared/dynamic library which contains LLVM passes. I
> used to invoke them with llvmc like this:
>>>llvmc mycode.c -o mycode.o -c -opt -Wo,=-load,libFoo.dylib,-Foo
> Can this style of optimization be executed using -mllvm argument?
No. You cannot add additional passes this way, only pass 'ordinary' arguments.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list