[LLVMdev] asmwriting times (was Re: LLVMContext: Suggestions for API Changes)

Dale Johannesen dalej at apple.com
Mon Aug 24 15:10:46 PDT 2009


On Aug 24, 2009, at 3:05 PMPDT, Ivo wrote:

> On Monday 24 August 2009 23:27, Albert Graef wrote:
>> Thank you also for the hint about bitcode reading/writing. I'm  
>> aware of
>> this, but I actually prefer the .ll output because it's human- 
>> readable,
>> which is great for debugging purposes. I might add a bitcode writer  
>> some
>> time, but it's not a high priority for me right now.
>
> Isn't there a tool to turn bitcode into human readable text? I have  
> been
> reading about the internals of LLVM lately (I'm planning on making a  
> new
> backend) and the whole infrastructure reminds me a lot of the  
> Amsterdam
> Compiler Kit (ACK). They had a program to turn binary EM code into  
> ASCII,
> making it easy to dump the output to |more or less during debugging.

Yes, llvm-dis is documented on the LLVM web site.  Of course it does  
not run in zero time, which may be a consideration.




More information about the llvm-dev mailing list