[LLVMdev] How could I get memory address for each basic block?

Zhang Qiuyu qiuyu at ucla.edu
Thu Aug 19 13:13:42 PDT 2004


On the pervious mail, I am trying to add label for each basic basic because I think I could get address by using nm if nm can show the address of each label, but it seems not . so do you guys have some idea how to get address for each basic block? Thanks.


>I am trying to get the memory address  of each basic block. So far I am trying to add the label >into each basic block, actually I need add the label at front of each basic block and then I >can use command 'nm' to find the memory address for each basic block. That's the way I got. >I don't know if there is another way to do it. Thanks.

>So now I need add label to each basic block, I don't know how to do it.  Thanks for any >response.

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


More information about the llvm-dev mailing list