<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 7/27/15 1:49 AM, Q Z wrote:<br>
</div>
<blockquote
cite="mid:CAC0waA_RXHxmh9cbE67MMid1MX69K+GFogsXULuyWxVaCXbeuw@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:14px">Hello, today I
download poolalloc from "</span><a moz-do-not-send="true" href="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=" target="_blank" style="font-size:14px">https://github.com/llvm-mirror/poolalloc</a><span
style="font-size:14px">". and I compiled it with LLVM3.3. Then
when I excute "make",I get the error:</span>
<div><span style="font-size:14px">AddressTakenAnalysis.cpp:18:30:fatal
error:llvm/IR/CallSite.h: No such file or directory.<br>
</span>
<div style="font-size:14px"><br>
</div>
<div style="font-size:14px">I correct the path of callsite.h
to "llvm/Support/Callsite.h". there is another error:<br>
</div>
<div style="font-size:14px">AddressTakenAnalysis.cpp:In
function 'bool isAddresTaken(llvm::Value)'<br>
</div>
<div style="font-size:14px">AddressTakenAnalysis.cpp:39:18:
error: 'class llvm::User' hao no member named 'getUser'<br>
</div>
<div style="font-size:14px">User *U = I->getUser();</div>
<div style="font-size:14px">....</div>
<div style="font-size:14px"><br>
</div>
<div style="font-size:14px">so I wonder if I get the wrong
version, and where should I get the right version compiler
with LLVM3.3?</div>
</div>
</div>
</blockquote>
<br>
If you need DSA, you should be able to use it with LLVM mainline.
Note that lib/PoolAllocate won't compile; no one has updated it to
work with an LLVM version newer than LLVM 3.2.<br>
<br>
If you need both DSA and the Automatic Pool Allocation transform,
you should use LLVM 3.2 with the release_32 branch of the poolalloc
project (details for downloading these versions are in the SAFECode
Install Directions at <a class="moz-txt-link-freetext" href="http://sva.cs.illinois.edu/docs/Install.html">http://sva.cs.illinois.edu/docs/Install.html</a>).<br>
<br>
If you don't mind me asking, do you need the Automatic Pool
Allocation transform or just DSA? If you only need DSA, for what do
you need it? I've seen a drastic increase in the number of people
wanting to use DSA in the past year, and I'm curious as to whether
there's a pattern.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cs.rochester.edu_u_criswell&d=AwMDaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=1K9mewvsMkntn9zQSqpor2keeWbJHJ8tnKRjHfStRoQ&s=7SblahbV2l8BCBdV-uIvbcs3vWvqfz4752q56y_-ArI&e=">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>