Displaying 20 results from an estimated 20000 matches similar to: "poolalloc: Updating to CMake"
2015 May 30
1
[LLVMdev] Building poolalloc with current LLVM development branch?
Hi Will,
John Criswell thought that perhaps you've gotten DSA (but not poolalloc)
working with the mainline LLVM code. If that's true, is that something you
intend to share? I for one would love to be able to use it.
- Christian
On Sat, May 30, 2015 at 12:06 PM, John Criswell <jtcriswel at gmail.com> wrote:
> Dear Christian,
>
> First, I've never used CMake to
2015 Oct 01
2
Pool allocator + safecode
Hi,
I'm trying to get the pool allocator and safe code building against llvm
trunk. I've run into a build error, and I see that in the past another
user was told just not to build the pool allocator for use with safecode
[1]. However, I really want the pool allocator transforms, so I just
wanted to check why the suggestion was not to use it. Has it been
superseded in some way by something
2016 Apr 27
3
ArrayBoundChecks in SafeCode-llvm37
Hi,
I am wondering if anyone could run ArrayBoundChecks located in
SafeCode-llvm37 (https://github.com/jtcriswell/safecode-llvm37) on
llvm-3.8?
Thanks.
Syed
--
Rafi
2015 May 30
0
[LLVMdev] Building poolalloc with current LLVM development branch?
Dear Christian,
First, I've never used CMake to build poolalloc. I've always used the
autoconf-based build system. It is possible that the CMake files for
poolalloc are broken. I recommend using the autoconf-based build system.
Second, you'll be pleased to know that someone (I think Will Dietz) has
gotten DSA working with mainline LLVM. The DSA code compiles, but not
the
2015 May 28
5
[LLVMdev] Building poolalloc with current LLVM development branch?
I'm starting to play around with poolalloc for the first time. I tried to
build it as follows:
1) Clone llvm's git repo, and build it with cmake + ninja.
2) cd .../llvm/projects
3) git clone git at github.com:llvm-mirror/poolalloc.git
When I went to re-run ninja, (or even CMake by itself), I get errors like
the following (truncated for brevity). Any suggestions for whether I'm
2016 Apr 27
2
Building and Invoking DSA or Pool Alloc
Hi ,
This Is 'Suresh M' from AMD compiler team.
1) I obtained the source code of llvm and pool-alloc (relase_32 versions ) using the following commands,
svn co http://llvm.org/svn/llvm-project/llvm/branches/release_32 llvm
cd llvm/projects
svn co http://llvm.org/svn/llvm-project/poolalloc/branches/release_32 poolalloc
2) Was able to build the binaries and libraries
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
I am just not upgrade my LLVM. So I must use some higer LLVM version, right?
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Fri, Jan 30, 2015 at 11:21 PM, John Criswell <jtcriswel at gmail.com> wrote:
> On 1/30/15 10:17 AM, Qiuping Yi wrote:
>
> Thank you. But now I am using LLVM 2.9, so which version of poolalloc I
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
Thank you. But now I am using LLVM 2.9, so which version of poolalloc I
should use ?
--------------------------------------------
Qiuping Yi
Institute Of Software
Chinese Academy of Sciences
On Fri, Jan 30, 2015 at 11:12 PM, John Criswell <jtcriswel at gmail.com> wrote:
> Dear Qiuping,
>
> If you use the release_32 branch of poolalloc, then you need to use LLVM
> 3.2.
>
2015 Jan 31
4
[LLVMdev] How to install poolalloc?
Hi, John Criswell
Thank you very much.
I am installing LLVM-3.2, but I encounter the next error when carrying out
"make":
llvm[3]: Compiling ClangASTNodesEmitter.cpp for Release+Asserts build
ClangASTNodesEmitter.cpp: In member function ‘std::pair<llvm::Record*,
llvm::Record*><unnamed>::ClangASTNodesEmitter::EmitNode(const
std::multimap<llvm::Record*, llvm::Record*,
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
On 1/30/15 10:24 AM, Qiuping Yi wrote:
> I am just not upgrade my LLVM. So I must use some higer LLVM version,
> right?
Yes. For working with poolalloc, I would recommend using LLVM 3.2 as we
know poolalloc compiles with LLVM 3.2.
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
2015 Jan 31
0
[LLVMdev] How to install poolalloc?
On 1/30/15 11:32 PM, Qiuping Yi wrote:
> Hi, John Criswell
>
> Thank you very much.
>
> I am installing LLVM-3.2, but I encounter the next error when carrying
> out "make":
Is this error occurring when compiling the version of Clang within
SAFECode or standard Clang? If it's the former, you should know that
you don't need to compile SAFECode to use
2015 May 15
2
[LLVMdev] DSA / poolalloc: incorrect callgraph for indirect call
Hello,
I am trying to apply DSA (from the poolalloc project - I'm on LLVM 3.2)
on the following C program and found that the generated callgraph
over-approximates the callees for the simple indirect call.
#include <stdio.h>
__attribute__((noinline)) static int f1(int arg1, int arg2) {
return arg1 + arg2;
}
__attribute__((noinline)) static int run_func(int (*fptr)(int, int), int
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
On 1/30/15 10:17 AM, Qiuping Yi wrote:
> Thank you. But now I am using LLVM 2.9, so which version of
> poolalloc I should use ?
Why are you using LLVM 2.9? That's an old version of LLVM (even by my
standards).
Is there some other LLVM-based tool that requires that you use LLVM 2.9?
Regards,
John Criswell
>
>
> --------------------------------------------
> Qiuping Yi
2016 Oct 27
2
How to split module into several ones
Hi all,
Can anyone give me advice about an appropriate way for extracting number of
functions from module recursively (starting from entry point). Actually it
may be more than one entry point so all dependent functions and global
values must be extracted.
I've tried llvm-extract tool but it can't do work recursively. Maybe it
would be good to write some Call Graph pass or something. Any
2015 Jan 31
0
[LLVMdev] How to install poolalloc?
Which compiler are you using to compile poolalloc? Looks like it doesn't
support C++11 (doesn't recognize nullptr).
Jingyue
On Fri, Jan 30, 2015 at 8:32 PM, Qiuping Yi <yiqiuping at gmail.com> wrote:
> Hi, John Criswell
>
> Thank you very much.
>
> I am installing LLVM-3.2, but I encounter the next error when carrying out
> "make":
>
> llvm[3]:
2015 Jan 30
2
[LLVMdev] How to install poolalloc?
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
2015 Jan 30
0
[LLVMdev] How to install poolalloc?
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
2015 May 05
2
[LLVMdev] llvm DSA - reproduce the result in PLDI 07 paper
Dear John,
I intend to implement the improvements on DSA.
After running DSA on SPEC, I found DSA gives low precision for mcf and
bzip2.
I have checked the most imprecise c files in mcf an found that the code
seems to be a mixture of "PHI" and "GEP" instructions.
Could you please give me some hints about what the big picture of the
improvement should be and how to start?
Thank
2015 Oct 08
2
Pool allocator + safecode
Thanks for the fast response John.
On Thu, Oct 1, 2015, at 04:51 PM, John Criswell wrote:
> Dear Ed,
>
> First, someone has updated the DSA code in the poolalloc project to LLVM
> 3.7, and a Master's student worked for me over the summer to update a
> large chunk of SAFECode to LLVM 3.7. However, the update to LLVM 3.7
> isn't finished (we need to finish integrating
2016 Oct 28
1
How to split module into several ones
On 10/27/16 11:18 AM, Aliaksei Zasenka via llvm-dev wrote:
> Hi all,
> Can anyone give me advice about an appropriate way for extracting
> number of functions from module recursively (starting from entry
> point). Actually it may be more than one entry point so all dependent
> functions and global values must be extracted.
>
> I've tried llvm-extract tool but it