[LLVMdev] a question about pooalloc

Q Z zhaoqian301 at gmail.com
Sun Jul 26 23:49:40 PDT 2015


Hello, today I download poolalloc from "
https://github.com/llvm-mirror/poolalloc". and I compiled it with LLVM3.3.
Then when I excute "make",I get the error:
AddressTakenAnalysis.cpp:18:30:fatal error:llvm/IR/CallSite.h: No such file
or directory.

​I correct the path of callsite.h to "llvm/Support/Callsite.h". there is
another error:
AddressTakenAnalysis.cpp:In function 'bool isAddresTaken(llvm::Value)'
AddressTakenAnalysis.cpp:39:18: error: 'class llvm::User' hao no member
named 'getUser'
User *U = I->getUser();
....
​
so I wonder if I get the wrong version, and where should I get the right
version compiler with LLVM3.3?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150727/cced8694/attachment.html>


More information about the llvm-dev mailing list