Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Problem Linking Analysis Group"
2008 Apr 07
0
[LLVMdev] Problem Linking Analysis Group
On Apr 7, 2008, at 1:54 PM, John Criswell wrote:
>
> /localhome/criswell/llvm22/projects/llvm-poolalloc/Debug/lib/
> libpoolalloc.so:
> undefined reference to `vtable for llvm::PoolAllocateGroup'
> Does anyone know what I might be doing wrong?
The usual answer, you need to define all virtual functions, in
particular, those in the PoolAllocateGroup hierarchy.
2007 Dec 03
1
[LLVMdev] Using Function Passes from Module Passes
Dear All,
I'm having some problems using a function pass from a Module pass. My
code is as follows:
DominatorTree & domTree;
...
Function &F = *I; // I is an interator from using Module::begin()
...
domTree = getAnalysis<DominatorTree>(F);
When I compile this code, I get the following error:
/home/vadve/criswell/src/llvm22/include/llvm/Pass.h: In member function
2009 Apr 14
3
[LLVMdev] SVN Head Error Building on Mac OS X
Dear All,
Has anyone else noticed the following problem building LLVM on Mac OS X:
find-cycles.pl: Circular dependency between *.a files:
find-cycles.pl: libLLVMAsmPrinter.a libLLVMCodeGen.a libLLVMSelectionDAG.a
llvm[1]: Building llvm-config script.
cat: /Users/criswell/box/x86/llvm22/tools/llvm-config/FinalLibDeps.txt:
No such file or directory
-- John T.
2009 Apr 14
0
[LLVMdev] SVN Head Error Building on Mac OS X
John Criswell wrote:
> Dear All,
>
> Has anyone else noticed the following problem building LLVM on Mac OS X:
>
> find-cycles.pl: Circular dependency between *.a files:
> find-cycles.pl: libLLVMAsmPrinter.a libLLVMCodeGen.a libLLVMSelectionDAG.a
> llvm[1]: Building llvm-config script.
> cat: /Users/criswell/box/x86/llvm22/tools/llvm-config/FinalLibDeps.txt:
> No such
2008 Feb 15
2
[LLVMdev] Possible Bad Assertion in Value.cpp
Dear All,
I'm getting the following assertion from a program I've written:
/home/vadve/criswell/src/llvm22/lib/VMCore/Value.cpp:57: virtual
llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a
value is destroyed!"' failed.
This occurs when I free a Module (the program uses an auto_ptr() to the
Module, and the auto_ptr() moves out of scope).
It
2009 Nov 13
1
[LLVMdev] Poolalloc asserts when passing in pool descriptors
Hi,
The poolalloc library fails in TransformFunctionBody.cpp, line 746
---
Value *ArgVal = ConstantAggregateZero::get(PoolAllocate::PoolDescPtrTy);
---
opt -load /path_to_lib/libpoolalloc.dylib -poolalloc constaggr.bc -o
opt.bc -f
triggers the problem (bc file attached).
Assertion failed: ((isa<StructType>(Ty) || isa<ArrayType>(Ty) ||
isa<VectorType>(Ty)) &&
2007 Dec 18
2
[LLVMdev] Another Pass Manager Assertion
Dear All,
The attached code (which is a contrived test case) hits the following
assertion:
test:
/home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h:226:
AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*,
llvm::Function&) [with AnalysisType = Pass1]: Assertion `ResultPass &&
"getAnalysis*() called on an analysis that was not "
2008 Feb 05
1
[LLVMdev] Problem Building llvm-gcc 4.2
Dear All,
I'm getting the following error building mainline llvm-gcc 4.2 (LLVM and
llvm-gcc are up to date):
cc1: /home/vadve/criswell/src/llvm22/lib/VMCore/Instructions.cpp:290:
void llvm::CallInst::init(llvm::Value*, llvm::Value*): Assertion
`(FTy->getNumParams() == 1 || (FTy->isVarArg() && FTy->getNumParams() ==
0)) && "Calling a function with bad
2008 Feb 15
0
[LLVMdev] Possible Bad Assertion in Value.cpp
On Feb 15, 2008, at 1:57 PM, John Criswell wrote:
> Dear All,
>
> I'm getting the following assertion from a program I've written:
>
> /home/vadve/criswell/src/llvm22/lib/VMCore/Value.cpp:57: virtual
> llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a
> value is destroyed!"' failed.
>
> This occurs when I free a Module
2009 Apr 14
1
[LLVMdev] SVN Head Error Building on Mac OS X
On Apr 14, 2009, at 8:53 AMPDT, John Criswell wrote:
> John Criswell wrote:
>> Dear All,
>>
>> Has anyone else noticed the following problem building LLVM on Mac
>> OS X:
>>
>> find-cycles.pl: Circular dependency between *.a files:
>> find-cycles.pl: libLLVMAsmPrinter.a libLLVMCodeGen.a
>> libLLVMSelectionDAG.a
>> llvm[1]: Building
2007 Dec 18
0
[LLVMdev] Another Pass Manager Assertion
On Dec 18, 2007, at 10:55 AM, John Criswell wrote:
> Dear All,
>
> The attached code (which is a contrived test case) hits the following
> assertion:
>
> test:
> /home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h:
> 226:
> AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*,
> llvm::Function&) [with AnalysisType = Pass1]: Assertion
2008 Apr 16
2
[LLVMdev] Error building llvm-gcc
Dear All,
I get the following error building llvm-gcc using gmake (i.e., not
building the bootstrap target). Any ideas on what I am doing wrong?
-- John T.
Comparing stages 2 and 3
warning: ./cc1plus-checksum.o differs
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./rtl.o differs
./cse.o differs
./struct-equiv.o differs
./alias.o differs
[etc, etc, etc.]
...
gmake[2]: ***
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Thanks for all your help so far.
My problem is that what I have are the pool descriptors, which I by
traversing the uses of poolinit and accessing the first argument of each
call. I need to find the DSNode (in the original function) to which
this pool descriptor corresponds. The rub is that this pool descriptor
of course does not exist except in the clone.
If I call getFuncInfo(), I get a
2010 Mar 19
0
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Patrick Simmons wrote:
> Thanks for all your help so far.
>
> My problem is that what I have are the pool descriptors, which I by
> traversing the uses of poolinit and accessing the first argument of each
> call. I need to find the DSNode (in the original function) to which
> this pool descriptor corresponds. The rub is that this pool descriptor
> of course does not
2008 Nov 19
2
[LLVMdev] poolallocation error
Hi,
I am trying to use the poolallocator. More specific, I am trying to
play around with the pointer compression pass. Though, I get assertion
failures for the pass dependencies.
This is when it in PointerCompress::getAnalysisUsage tries to register
the the BU pass as required. I.e. when
AU.addRequired<CompleteBUDataStructures>(); is called.
$ opt -f -load
2009 Jan 16
1
[LLVMdev] poolallocation error
Hi all,
I too am getting this error for x86_64 when I am trying to use the
Data Structure Analysis ...I svn upped both the llvm main branch and
the poolalloc today in the morning and recompiled everything from
scratch :
$ opt -load /home/pprabhu/llvm/llvm-install-x86-64/lib/libpoolalloc.so
-ds-aa < o.bc
opt: /home/pprabhu/llvm/llvm/lib/VMCore/PassManager.cpp:1418: virtual
void
2010 Mar 23
2
[LLVMdev] Question about using steensgaard's pointer analysis in poolalloc
Hi LLVM dev team:
I am now doing an experiment to comparing Steensgaard-style and
Andersen-style pointer analysis on LLVM. Since steensgaard pointer analysis
is in module "poolalloc", so I installed poolalloc release 2.6 on my
machine(intel X86_64 RedHatEnterpriseLinux 5.1, gcc-4.2.4), two directories
"include" and "lib" were created after installation but no
2007 Dec 12
0
[LLVMdev] opt does not load poolalloc
Hi,
I compiled the poolalloc from SVN head.
opt complains about missing symbol PoolAlloc::ID when I try to load
libpoolalloc.so. Defining PoolAlloc::ID is not enough, since it is
reused in PoolAllocPassAllPools.
The append patch fixes the problem for me.
Kind regards,
Martin
Index: include/poolalloc/PoolAllocate.h
===================================================================
2015 Oct 13
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
Hi,
On Linux I observed
[root at localhost poolalloc]# find . -name *.a
./Release+Asserts/lib/LLVMDataStructure.a
./Release+Asserts/lib/poolalloc.a
./Release+Asserts/lib/AssistDS.a
./Release+Asserts/lib/libpoolalloc_fl_rt.a
./Release+Asserts/lib/libpoolalloc_rt.a
./Release+Asserts/lib/libpa_pre_rt.a
./Release+Asserts/lib/libcount.a
On cygwin I observed
kpawar at KPAWAR-LT
2010 Apr 10
2
[LLVMdev] Question about using steensgaard's pointer analysis in poolalloc
Hi, LLVM dev team:
Thanks for your suggestion, I have done the experiment to compare the two
pointer analysis(Andersen and Steensgaard) methods in LLVM, but the result
was unexpected. In each test, I compare these two methods using same
optimization; There are several tests, each with a different optimization.
The benchmark is all the 11 C programs in CINT2000 of SPEC. In all the
tests, I found