<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.3819.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV><FONT face="Times New Roman" size=2>Thanks John and Chris. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman" size=2>I could get the address information by
the way you guys mentioned. But it is not what I want, because it will lose
information about the entry of basic block. Actually what I want to get is the
address of each entry of basic block. Now I am trying to declare the label of
basic block as global type, hopefully I can get it from symbol table. Can I get
it by this way?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman" size=2>Thanks</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman" size=2>>For example,<BR><BR>>llc -o
file.s file.bc<BR>>gcc -o file.o file.s<BR>>objdump -d
file.o<BR><BR>>This would produce the list of native code instructions
generated by<BR>>llc, including the addresses of the native code
instructions.<BR><BR>>Is this the sort of answer you're looking
for?<BR></FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>>Hi all,<BR><BR>>I am trying to
disassemble *.bc to assemble code by using llvm-dis command, but what I got is
like the following. So how >could I get the assemble code like objdump? I
mean the memory address for each
instruction.<BR><BR>>Thanks<BR><BR>>Qiuyu<BR><BR><BR></DIV></FONT></BODY></HTML>