search for: new__0

Displaying 3 results from an estimated 3 matches for "new__0".

Did you mean: new0
2005 Jun 04
1
[LLVMdev] "Value in symtab but has no slot number!!"
...ss()); Passes.run(*ModuleToSave); --------------- I got stuck in another problem. I suppose it's very simple but I do not really know what is happening. I have a module like this: ------------------------------------ %binary_tree__0 = type { int, %binary_tree__0*, %binary_tree__0* } ... %New__0 = alloca %binary_tree__0* ; <%binary_tree__0**> [#uses=8] ... %Load_New__00 = load %binary_tree__0** %New__0 ; <%binary_tree__0*> [#uses=0] ... %gep.1 = getelementptr %binary_tree__0* %Load_New__001, int 0, uint 0 ; ... ------------------------------------ Gives the error: ---...
2005 Jun 04
0
[LLVMdev] "Value in symtab but has no slot number!!"
Hi Ricardo, Yes, its because you have an invalid module. You should run Module::verify before attempting to write the bytecode. This will pinpoint the problem for you. However, I think I know what's going on: you've left an object (a Value not a Type) in the symbol table that is not in the Module. Not quite sure how you do that, but I suppose its possible if you manipulated the symbol
2005 Jun 04
3
[LLVMdev] "Value in symtab but has no slot number!!"
Hello, I am receiving this error: assert(Slot != -1 && "Value in symtab but has no slot number!!"); While trying to generate a module at run time using LLVM classes. Specifically with an instance of StoreInst class. After I generate all the instructions, I try to save the Module to bytecode, but I receive that error in the method 'outputSymbolTable' Does anyone