search for: addabstracttypeus

Displaying 5 results from an estimated 5 matches for "addabstracttypeus".

Did you mean: addabstracttypeuser
2004 Jul 10
3
[LLVMdev] Re: [llvm-commits] CAUTION: Type != Value
In VMCore/Module.cpp i found line (254): ((Value*)Ty)->setName(Name, &ST); Type is not Value now and for me this code call llvm::DerivedType::addAbstractTypeUser (I think it have same index in Type VMT in as setName in Value VMT) with random argument values and terminated with assert fail: Assertion failed: (isAbstract() && "addAbstractTypeUser: Current type not abstract!"), function addAbstractTypeUser, file /home/wanderer/pkg/build/ll...
2004 Jul 10
0
[LLVMdev] Re: [llvm-commits] CAUTION: Type != Value
...&ST) to: ST.insert(Name, Ty) Hope that helps. Reid. On Sat, 2004-07-10 at 07:01, Vladimir Merzliakov wrote: > In VMCore/Module.cpp i found line (254): > > ((Value*)Ty)->setName(Name, &ST); > > Type is not Value now and for me this code call > llvm::DerivedType::addAbstractTypeUser (I think it have same index in Type > VMT in as setName in Value VMT) > with random argument values and terminated with assert fail: > > Assertion failed: (isAbstract() && "addAbstractTypeUser: Current type not > abstract!"), function addAbstractTypeUser, file &g...
2005 Mar 21
0
[LLVMdev] Recursive Types using the llvm support library
...> that you have a hope to understand them and so they are more compact :) I took your advide and used Module::addTypeName which is a great idea that I didn't know about. Now I am getting a seg fault, here SymbolTable.cpp:251 if (T->isAbstract()) { cast<DerivedType>(T)->addAbstractTypeUser(this); I am assuming the patch mentioned earlier on the thread will fix this. I just wanted to ask to make sure before i went ahead and recompiled. -John
2005 Mar 21
1
[LLVMdev] Recursive Types using the llvm support library
...d them and so they are more compact :) > > I took your advide and used Module::addTypeName which is a great idea > that I didn't know about. > > Now I am getting a seg fault, here > > SymbolTable.cpp:251 > if (T->isAbstract()) { > cast<DerivedType>(T)->addAbstractTypeUser(this); > > I am assuming the patch mentioned earlier on the thread will fix this. > I just wanted to ask to make sure before i went ahead and recompiled. You would have to give me more context to say for sure, but updating to current CVS can't hurt. -Chris -- http://nondot.org/s...
2005 Mar 21
2
[LLVMdev] Recursive Types using the llvm support library
On Sun, 20 Mar 2005, John Carrino wrote: > On Wed, Mar 09, 2005 at 04:05:32PM +0300, Vladimir Merzliakov wrote: >>>> Is assert(!NewSTy->isAbstract()) must pass after this line? >>> >>> In this case, yup. >>> >> I create test program and assert failed in it: >> >> { \2 *, sbyte * } > > How do I decode the \2 in this? I am