[llvm-dev] Question about : lprofValueProfNodes

Moshtaghi, Alireza via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 19 10:26:30 PST 2017


Hi
This array is defined in compiler-rt: InstrProfilingValue.c but I can’t find where it is used?
And the comment on it does not say much about why we need it either.
Can someone explain why we need this and where it is used?

/* A shared static pool in addition to the vnodes statically
* allocated by the compiler.  */
COMPILER_RT_VISIBILITY ValueProfNode
    lprofValueProfNodes[INSTR_PROF_VNODE_POOL_SIZE] COMPILER_RT_SECTION(COMPILER_RT_SEG INSTR_PROF_VNODES_SECT_NAME_STR);

Thanks
A

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171219/ad63ed25/attachment.html>


More information about the llvm-dev mailing list