<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 1/30/15 10:24 AM, Qiuping Yi wrote:<br>
</div>
<blockquote
cite="mid:CAJSQ9qePPb6FeC3DsfvquH8g_E3TA=bT+2uxLhg31mD2quVohA@mail.gmail.com"
type="cite">
<div dir="ltr">I am just not upgrade my LLVM. So I must use some
higer LLVM version, right?</div>
</blockquote>
<br>
Yes. For working with poolalloc, I would recommend using LLVM 3.2
as we know poolalloc compiles with LLVM 3.2.<br>
<br>
If there's a release_29 branch for poolalloc, you could use that,
but you won't get any bug fixes that we added between poolalloc 2.9
and poolalloc 3.2.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<blockquote
cite="mid:CAJSQ9qePPb6FeC3DsfvquH8g_E3TA=bT+2uxLhg31mD2quVohA@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature"><br>
--------------------------------------------<br>
Qiuping Yi<br>
Institute Of Software<br>
Chinese Academy of Sciences</div>
</div>
<br>
<div class="gmail_quote">On Fri, Jan 30, 2015 at 11:21 PM, John
Criswell <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jtcriswel@gmail.com" target="_blank">jtcriswel@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
<div>On 1/30/15 10:17 AM, Qiuping Yi wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Thank you. But now I am using LLVM 2.9,
so which version of poolalloc I should use ?</div>
</blockquote>
<br>
</span> Why are you using LLVM 2.9? That's an old version
of LLVM (even by my standards).<br>
<br>
Is there some other LLVM-based tool that requires that you
use LLVM 2.9?<br>
<br>
Regards,<br>
<br>
John Criswell
<div>
<div class="h5"><br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br clear="all">
<div>
<div><br>
--------------------------------------------<br>
Qiuping Yi<br>
Institute Of Software<br>
Chinese Academy of Sciences</div>
</div>
<br>
<div class="gmail_quote">On Fri, Jan 30, 2015 at
11:12 PM, John Criswell <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:jtcriswel@gmail.com"
target="_blank">jtcriswel@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Dear Qiuping,<br>
<br>
If you use the release_32 branch of
poolalloc, then you need to use LLVM 3.2.<br>
<br>
For directions on compiling poolalloc with
LLVM 3.2, please the SAFECode build
directions at <a moz-do-not-send="true"
href="http://safecode.cs.illinois.edu/docs/Install.html"
target="_blank">http://safecode.cs.illinois.edu/docs/Install.html</a>.
You can just skip the steps in the
directions that compile SAFECode.<br>
<br>
Regards,<br>
<br>
John Criswell
<div>
<div><br>
<br>
On 1/30/15 10:05 AM, Qiuping Yi wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi, all
<div><br>
</div>
<div>I want to use the alias
analysises in project poolalloc,
but I encounter some problem
during installing it. I install
poolalloc as follow:</div>
<div><br>
</div>
<div>1) cd llvm/projects</div>
<div> svn co <a
moz-do-not-send="true"
href="http://llvm.org/svn/llvm-project/poolalloc/branches/release_32"
target="_blank">http://llvm.org/svn/llvm-project/poolalloc/branches/release_32</a>
poolalloc</div>
<div>3) cd LLVM-object-directory
<div> make tools-only</div>
<div> cd projects/poolalloc</div>
<div> make</div>
<div><br>
</div>
<div>When I carried out "make", I
get the next error information:</div>
<div>
<div>llvm[2]: Compiling
AddressTakenAnalysis.cpp for
Release+Asserts build (PIC)</div>
<div>AddressTakenAnalysis.cpp:18:30:
fatal error:
llvm/IR/CallSite.h: No such
file or directory compilation
terminated.</div>
<div>/bin/rm: cannot remove
`/home/gu/installed/llvm-2.9/projects/poolalloc/lib/DSA/Release+Asserts/AddressTakenAnalysis.d.tmp':
No such file or directory</div>
<div>make[2]: ***
[/home/gu/installed/llvm-2.9/projects/poolalloc/lib/DSA/Release+Asserts/AddressTakenAnalysis.o]
Error 1</div>
<div>make[2]: Leaving directory
`/home/gu/installed/llvm-2.9/projects/poolalloc/lib/DSA'</div>
<div>make[1]: *** [all] Error 1</div>
<div>make[1]: Leaving directory
`/home/gu/installed/llvm-2.9/projects/poolalloc/lib'</div>
<div>make: *** [all] Error 1</div>
</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>
<div>--------------------------------------------<br>
Qiuping Yi<br>
Institute Of Software<br>
Chinese Academy of Sciences</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
LLVM Developers mailing list
<a moz-do-not-send="true" href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a moz-do-not-send="true" href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a>
<a moz-do-not-send="true" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><span><font color="#888888">
</font></span></pre>
<span><font color="#888888"> </font></span></blockquote>
<span><font color="#888888"> <br>
<br>
<pre cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a moz-do-not-send="true" href="http://www.cs.rochester.edu/u/criswell" target="_blank">http://www.cs.rochester.edu/u/criswell</a></pre>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a moz-do-not-send="true" href="http://www.cs.rochester.edu/u/criswell" target="_blank">http://www.cs.rochester.edu/u/criswell</a></pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<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="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>