[LLVMdev] Modifying Instruction Class
ben mayne
bmm4360 at hotmail.com
Tue Oct 2 10:21:54 PDT 2007
I'm attempting to add a new member variable to the Instruction class but I get assertion errors when I run lli.
All I add is the following line to the private portion of the Instruction class definition.
bool b;
The error usually is:
lli: /development/Contracts/DOVE/src/c/llvm/include/llvm/Type.h:329: void llvm::Type::dropRef() const: Assertion `isAbstract() && "Cannot drop a reference to a non-abstract type!"' failed.
lli((anonymous namespace)::PrintStackTrace()+0x1a)[0x848a04a]
/lib/tls/libc.so.6(abort+0x129)[0x5a1319]
/lib/tls/libc.so.6(__assert_fail+0x101)[0x598f41]
lli[0x8438796]
Aborted
I'm lost on where this error is coming from or what it means. Is there anyway of adding extra member variables to the Instruction class?
_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071002/d1c23544/attachment.html>
More information about the llvm-dev
mailing list