[LLVMdev] Using ValueSymbolTable...

Nick Lewycky nicholas at mxc.ca
Tue Aug 17 22:47:28 PDT 2010


subramanyam wrote:
>
> Hi all,
> I have a question regarding populating ValueSymbolTable of a Function.
> Is it that ValueSymbolTable is populated automatically whenever an alloca
> instruction is created using IRBuilder or do we need to explicitly
> populate??

It's maintained by LLVM for you, by Value::setName and other methods.

Nick



More information about the llvm-dev mailing list