<div dir="ltr">Hi, all<div><br></div><div>Is there a way of getting the basic block offset from its parent function ?</div><div><br></div><div>What I'm trying to do is to get an execution count of each basic blocks, so I need to know the starting address of each basic blocks. Obviously we can't get the absolute address before linking the program, but the offset relative to parent function should be available so I can take it and get the function start address from objdump then figure out each basic block's absolute address.</div><div><br></div><div>Or is there another way of doing this ...</div><div><br></div><div>Any suggestion is very much appreciated</div><div>PatrickĀ <br></div><br clear="all"><div><br></div><br><div class="gmail_signature"><div dir="ltr"><div><b></b></div></div></div></div>