[LLVMdev] help with qsort etc.
Abhijit Ray
abhijit.ray at gmail.com
Sun Apr 24 22:17:46 PDT 2005
Hi,
When you write a program which uses the "qsort()" library function, You
also have to provide an implementation of a compare
funtion. Now when we convert our program into bc and then execute it, I
get the number of times all basic blocks are executed.
But since the comparison function is called from within the std function
"qsort()", I don't get the number of times the compare
function is executed.
Is there a way to get this information ?
Thanks,
Abhijit Ray
More information about the llvm-dev
mailing list