[LLVMbugs] Problems compiling poolalloc
Vikram S. Adve
vadve at cs.uiuc.edu
Tue Aug 12 14:01:37 PDT 2008
Hi Michelle,
I'm glad to hear you are working with DSA again in the context of
OpenAnalysis. I do think it is a very good fit. Clearly we have not
tested some of the configuration code for llvm-poolalloc module as
well as the mainline LLVM module. Nevertheless, we do it regularly in
my group, and someone at TU Dresden recently used it extensively as
well, so the code base is at least in use and being maintained. I
hope John is able to help you get over the initial humps in compiling
and using it.
Regards,
--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.org/
On Aug 11, 2008, at 12:20 PM, Michelle Strout wrote:
> John,
>
> We have started to use LLVM again. At this point we cannot figure out
> how to use the -dsa-aa alias analysis. We would like to step through
> the DSA alias analysis in the debugger and figure out how to use it
> with OpenAnalysis. Initially, we want to run DSA on some sample
> programs and view the alias sets.
>
> This page (http://llvm.org/docs/AliasAnalysis.html) states the
> following:
>
> "Note that -ds-aa is available in the optional "poolalloc"
> module, it
> is not part of the LLVM core."
>
> The README for poolalloc says:
>
> USING THE POOL ALLOCATOR:
> =========================
> To use the Automatic Pool Allocator optimization pass, you
> will need to
> explicitly load it into the opt program:
>
>> opt -load <path to pool allocator> -poolalloc <other opt
> options>
>
> Here are some of the commands that we have attempted with no success.
>
> % opt -ds-aa -print-alias-sets -disable-output // as
> shown in the
> AliasAnalysis.html documentation
> opt: Unknown command line argument '-ds-aa'. Try: 'opt --help'
>
> % opt -load=/Users/mstrout/software/lib/
> libpoolalloc_fl_rt.dylib -
> poolalloc < temp.bc > temp.2.bc
> opt: Unknown command line argument '-poolalloc'. Try: 'opt --help'
>
> % opt -load /Users/mstrout/software/lib/
> libpoolalloc_fl_rt.dylib -ds-
> aa -print-alias-sets < temp.bc > temp.2.bc
> opt: Unknown command line argument '-ds-aa'. Try: 'opt --help'
>
> We have also tried the above with the libpoolalloc_rt.dylib.
>
> What are we missing?
>
> Thanks,
> Michelle
>
> On Jun 20, 2008, at 2:12 PM, John Criswell wrote:
>
>> Michelle Strout wrote:
>>> Chris and others,
>>>
>>> To get the poolalloc module to compile, I had to copy some llvm
>>> include files to different names.
>>>
>>> % cd /Users/mstrout/software/include/llvm/ADT/
>>> % cp hash_map hash_map.h
>>> % cp hash_set hash_set.h
>>> % cp iterator iterator.h
>>>
>>> Does this mean that poolalloc is not being updated? What is its
>>> status?
>>>
>> We are currently doing active work on llvm-poolalloc; mainline llvm-
>> poolalloc should compile with mainline LLVM.
>>
>> Is your LLVM and llvm-poolalloc trees up to date with everything in
>> the Subversion repository?
>>
>> -- John T.
>
> =======================================
> Michelle Mills Strout
> Assistant Professor
>
> Colorado State University
> Computer Science Department
> 1873 Campus Delivery
> Fort Collins, CO 80523-1873
>
> (970) 491-7026
> mstrout at cs.colostate.edu
> =======================================
>
>
>
> _______________________________________________
> LLVMbugs mailing list
> LLVMbugs at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
More information about the llvm-bugs
mailing list