[LLVMdev] Sources on optimization and debugging

Michael Clagett mclagett at hotmail.com
Thu Apr 21 07:56:45 PDT 2011


Hi Everyone --

I'm planning on using LLVM to add some optimizing compiling capability to a Byte-Code driven virtual machine that is part of my foundation platform for a series of tool products I am building.  I'm still pretty new to this whole arena and am in particular curious about one important aspect:  It strikes me that the more optimizations applied to code (whether at the source code, byte code, intermediate language, or assembly level, the farther from the original source is the resulting optimized code base likely to drift.  This would, I'm pretty sure, complicate whatever language debugging capabilities one puts into places and make it more difficult to keep code execution aligned with a source code view in a step-debugging context.

Does anyone know of any good sources for getting a handle on this issue and understanding strategies that IDE writers adopt to allow people to step through code that has been optimized?

Any thoughts would be greatly appreciated.

Regards,

Mike
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110421/e1829b52/attachment.html>


More information about the llvm-dev mailing list