Use of Profiling Information


When we run a code with -insert-block-profiling we add a gloabal variable BlockProfCounters into the code.
Now, I am not able to understand how to use this BlockProfCounters value. I have also seen the code of llvm-prof.cpp
they don’t use BlockProfCounters variable for basic block count. So how can we use the BlockProfCounters value.

Thanks and Regards,
Tarun Agrawal