[LLVMdev] Data Structure Analysis

Haifeng He hehaifeng2nd at gmail.com
Thu Aug 23 21:14:40 PDT 2007


I updated the latest "poolalloc" code and the problem seems to have been fixed.
However, I am still having problem of running "poolalloc".

After compilation finished, there are several dynamic libraries
created (libpoolalloc_rt.so, libpoolalloc_fl_rt.so and
LLVMDataStructure.so). I was not sure which one I should use so I just
tried all of them with "opt -load". However, none of them seems to
work (by complaiing "-poolalloc" is unknown). When I ran test
in poolalloc directory, it gave me error complaining that
"poolalloc.so" was missing.
Am I missing anything here?

BTW, when I run llvm test, is there a flag that can turn on option to
print the test commands in details in addition to just show the test
is passed or failed?

Thank you

Haifeng




On 8/23/07, Andrew Lenharth <andrewl at lenharth.org> wrote:
> On 8/23/07, Wojciech Matyjewicz <wmatyjewicz at fastmail.fm> wrote:
> > Static ID fields in pass classes seem to be lacking definitions (there
> > were some changes in LLVM core classes and poolalloc hasn't been yet
> > fully updated to reflect them). The attached patch fixes this for DSA
> > classes - LLVMDataStructure.so loads into opt and DSA can be performed.
>
> Thanks.  I forgot to commit this change from my local tree.
>
> Andrew
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list