Displaying 3 results from an estimated 3 matches for "tp3161p58920".
2012 Mar 04
2
[LLVMdev] Passing arguments to opt via clang
I have tried to invoke a transformation/optimization pass using -mllvm,
without success. I might be missing something.
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?
Thx,
PMon
On Sun,
2012 Mar 04
0
[LLVMdev] Passing arguments to opt via clang
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
2013 Jun 27
1
[LLVMdev] Passing arguments to opt via clang
what is the solution to pass opt arguments , non ordinary passes like :
*-std-link-opts* by clang ?
Dose clang invoke opt in normal compilation procedure even?
--
View this message in context: http://llvm.1065342.n5.nabble.com/Passing-arguments-to-opt-via-clang-tp3161p58920.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.