search for: getforwardedtypeinternal

Displaying 8 results from an estimated 8 matches for "getforwardedtypeinternal".

2003 Dec 09
3
[LLVMdev] Linking Errors?
Ok that works but why on earth would I get a runtime error of: Type.cpp:132: const llvm::Type* llvm::Type::getForwardedTypeInternal() const: Assertion `ForwardType && "This type is not being forwarded to another type!"' failed. Aborted For the line of code: MyModule = new Module( std::string("IDontWork")); > -----Original Message----- > From: llvmdev-admin at cs.uiuc.edu [mailto:llvmdev-...
2003 Dec 09
0
[LLVMdev] Linking Errors?
> Ok that works but why on earth would I get a runtime error of: > > Type.cpp:132: const llvm::Type* llvm::Type::getForwardedTypeInternal() > const: Assertion `ForwardType && "This type is not being forwarded to > another type!"' failed. > Aborted > > For the line of code: > > MyModule = new Module( std::string("IDontWork")); I was getting these recently when we made the switch...
2003 Nov 11
4
[LLVMdev] assert failure
Hi LLVMdev, I am trying to add declarations of some functions in a module, and the following assert is failing test_task_inst: Type.cpp:130: const Type* Type::getForwardedTypeInternal() const: Assertion `ForwardType && "This type is not being forwarded to another type!"' failed. Any idea what the bug might be? The code was working about 3 months ago, and I am not aware of any changes that might cause it to fail. Thanks, Rahul
2003 Dec 09
0
[LLVMdev] Linking Errors?
You'll need to include the "support" library to resolve these LeakDetector symbols. You can do this by either placing the path to "support.o" or -lsupport on your link line (in your Makefile). Note that if you use the -l option, you'll likely need to use -L<path> as well to tell the linker where to find "libsupport.a" (file included by the
2003 Dec 09
2
[LLVMdev] Linking Errors?
Can anyone help with these crazy linking errors?? /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea kDetector16addGarbageObjectEPKNS_5ValueE+0xd): In function `llvm::LeakDetector::addGarbageObject(llvm::Value const*)': /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to `llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)'
2006 Nov 28
2
[LLVMdev] question about the LLVM JIT
...rior to compile() > llvmjit.compile(llglobalmul4) > globalmul4 = llvmjit.find_function('globalmul4') > assert llvmjit.execute(globalmul4, 5) == 10 * 4 + 5 > assert llvmjit.get_global_data() == 10 * 4 + 5 > --- > > This gives a segfault in llvm::Type::getForwardedTypeInternal as far as I can > tell. Probably I don't understand how global data mapping works in llvm. > The C++ code for add_global_mapping(...) looks like this > > --- C++ code... > void add_global_mapping(const char* name, void* address) { > GlobalVariable var(Type::IntTy, fals...
2010 Feb 07
3
[LLVMdev] Help with Mac OS X 10.6.2 build
...degen() in ccHkdHVT.o FunctionAST::Codegen() in ccHkdHVT.o _main in ccHkdHVT.o __static_initialization_and_destruction_0(int, int)in ccHkdHVT.o "vtable for llvm::FCmpInst", referenced from: BinaryExprAST::Codegen() in ccHkdHVT.o "llvm::Type::getForwardedTypeInternal() const", referenced from: BinaryExprAST::Codegen() in ccHkdHVT.o BinaryExprAST::Codegen() in ccHkdHVT.o BinaryExprAST::Codegen() in ccHkdHVT.o BinaryExprAST::Codegen() in ccHkdHVT.o BinaryExprAST::Codegen() in ccHkdHVT.o BinaryExprA...
2010 Feb 07
0
[LLVMdev] Help with Mac OS X 10.6.2 build
...FunctionAST::Codegen() in ccHkdHVT.o > _main in ccHkdHVT.o > __static_initialization_and_destruction_0(int, int)in ccHkdHVT.o > "vtable for llvm::FCmpInst", referenced from: > BinaryExprAST::Codegen() in ccHkdHVT.o > "llvm::Type::getForwardedTypeInternal() const", referenced from: > BinaryExprAST::Codegen() in ccHkdHVT.o > BinaryExprAST::Codegen() in ccHkdHVT.o > BinaryExprAST::Codegen() in ccHkdHVT.o > BinaryExprAST::Codegen() in ccHkdHVT.o > BinaryExprAST::Codegen() i...