[LLVMdev] a question about pooalloc

David Wiberg dwiberg at gmail.com
Mon Jul 27 01:10:01 PDT 2015


Hi,

First let me say that LLVM 3.3 is an old release. It might be a better
solution to upgrade to a newer LLVM rather than changing the version of
Poolalloc.

If you still want to change Poolalloc version there was a commit made in
August 2013 which brought it up-to-date with LLVM 3.3. See:
https://github.com/llvm-mirror/poolalloc/tree/a0ed2a473bf0938c860266c49a76f1ec0d8de9e7
for the commit and
https://github.com/llvm-mirror/poolalloc/archive/a0ed2a473bf0938c860266c49a76f1ec0d8de9e7.zip
for an archived file of the same.

Best regards
David

2015-07-27 8:49 GMT+02:00 Q Z <zhaoqian301 at gmail.com>:

> Hello, today I download poolalloc from "
> https://github.com/llvm-mirror/poolalloc
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_llvm-2Dmirror_poolalloc&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=nN_UMUoLRuHAB3OBaALnnt_b7iqegP-ixeduHiJ0zRo&s=Opd7uVKJrmd5_56qs2Mv5O4BptROfT_46M7ctPXuMQ4&e=>".
> 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?
>
> _______________________________________________
> 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/20150727/5cc2de1a/attachment.html>


More information about the llvm-dev mailing list