[LLVMdev] How to install poolalloc?

John Criswell jtcriswel at gmail.com
Fri Jan 30 07:12:56 PST 2015


Dear Qiuping,

If you use the release_32 branch of poolalloc, then you need to use LLVM 
3.2.

For directions on compiling poolalloc with LLVM 3.2, please the SAFECode 
build directions at http://safecode.cs.illinois.edu/docs/Install.html.  
You can just skip the steps in the directions that compile SAFECode.

Regards,

John Criswell

On 1/30/15 10:05 AM, Qiuping Yi wrote:
> Hi, all
>
> I want to use the alias analysises in project poolalloc, but I 
> encounter some problem during installing it. I install poolalloc as 
> follow:
>
> 1) cd llvm/projects
>     svn co 
> http://llvm.org/svn/llvm-project/poolalloc/branches/release_32 poolalloc
> 3) cd LLVM-object-directory
>     make tools-only
>     cd projects/poolalloc
>     make
>
> When I carried out "make", I get the next error information:
> llvm[2]: Compiling AddressTakenAnalysis.cpp for Release+Asserts build 
> (PIC)
> AddressTakenAnalysis.cpp:18:30: fatal error: llvm/IR/CallSite.h: No 
> such file or directory compilation terminated.
> /bin/rm: cannot remove 
> `/home/gu/installed/llvm-2.9/projects/poolalloc/lib/DSA/Release+Asserts/AddressTakenAnalysis.d.tmp': 
> No such file or directory
> make[2]: *** 
> [/home/gu/installed/llvm-2.9/projects/poolalloc/lib/DSA/Release+Asserts/AddressTakenAnalysis.o] 
> Error 1
> make[2]: Leaving directory 
> `/home/gu/installed/llvm-2.9/projects/poolalloc/lib/DSA'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory 
> `/home/gu/installed/llvm-2.9/projects/poolalloc/lib'
> make: *** [all] Error 1
>
> Does poolalloc dependent on some other project which has not been 
> installed now? What should I do for incorrectly installing poolalloc? 
> Thank you all in advance.
>
> --------------------------------------------
> Qiuping Yi
> Institute Of Software
> Chinese Academy of Sciences
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


-- 
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
http://www.cs.rochester.edu/u/criswell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150130/51b433cb/attachment.html>


More information about the llvm-dev mailing list