[LLVMdev] llvm passes under xcode
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
-- John T.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev