[LLVMdev] llvm passes under xcode

John Criswell criswell at illinois.edu
Tue Jan 29 11:23:04 PST 2013


On 1/29/13 1:09 AM, Niko Zarzani wrote:
> Hi, I am interested in developing some passes using the Xcode IDE.
> I create a pass directory with a simple pass in it, add it to the 
> lib/Trasform/ directory, changed and added some CMakeList.txt files 
> and compiled using cmake (cmake -G Xcode).
> The compilation gives me no errors but then I've found that I have not 
> a Debug+Asserts folder and opt has no option related to my pass...what 
> can I do to make it work? Am I missing something or there is no way to 
> develop a pass using Xcode?
> Thank you in advance,

I think there's a LinkAllPasses.h (or similarly named) header file that 
you need to modify that will force your pass to be linked into the opt 
executable.

-- John T.

>
> Niko
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130129/4ef0ff6d/attachment.html>


More information about the llvm-dev mailing list