Nick Lewycky wrote:> > > > It's maintained by LLVM for you, by Value::setName and other methods. > > Nick > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >I am getting the following error when trying to fetch the symbol table using getValueSymbolTable() /home/llvm/install/include/llvm/ADT/StringMap.h:256: void llvm::StringMap<ValueTy, AllocatorTy>::operator=(const llvm::StringMap<ValueTy, AllocatorTy>&) [with ValueTy = llvm::Value*, AllocatorTy = llvm::MallocAllocator]: Assertion `RHS.empty() && "assignment from non-empty stringmap not implemented yet!"' failed. Regards, subbu -- View this message in context: http://old.nabble.com/Using-ValueSymbolTable...-tp29461430p29468905.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
> I am getting the following error when trying to fetch the symbol table using > getValueSymbolTable()Why do you want to do this? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Anton Korobeynikov-2 wrote:> >> I am getting the following error when trying to fetch the symbol table >> using >> getValueSymbolTable() > Why do you want to do this? > > > >I want to access some of the variables created in the function. -- View this message in context: http://old.nabble.com/Using-ValueSymbolTable...-tp29461430p29469794.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
subramanyam wrote:> > > > Nick Lewycky wrote: >> >> >> >> It's maintained by LLVM for you, by Value::setName and other methods. >> >> Nick >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> > > I am getting the following error when trying to fetch the symbol table using > getValueSymbolTable() > > /home/llvm/install/include/llvm/ADT/StringMap.h:256: void > llvm::StringMap<ValueTy, AllocatorTy>::operator=(const > llvm::StringMap<ValueTy, AllocatorTy>&) [with ValueTy = llvm::Value*, > AllocatorTy = llvm::MallocAllocator]: Assertion `RHS.empty()&& "assignment > from non-empty stringmap not implemented yet!"' failed.Does the value you created have a parent? Nick