[LLVMdev] Using ValueSymbolTable...

Nick Lewycky nicholas at mxc.ca
Wed Aug 18 20:04:28 PDT 2010


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



More information about the llvm-dev mailing list