Daniel Jacobowitz writes:
 > On Tue, May 02, 2006 at 07:21:24PM -0700, Mike Stump wrote:
 > > >Otherwise, would it be possible to generate the DWARF Tables and  
 > > >add those tables dynamically to the running program?
 > > 
 > > Yes (could require OS changes).
 > > 
 > > >Under windows, Microsoft provides an API for JITs that does exactly  
 > > >that. Is there an equivalent API for linux?
 > > 
 > > Don't think so.
 > 
 > There isn't really.  But I know that other JITs have managed to do this
 > - I just don't know how.  They may use a nasty hack somewhere.

Adding an entry point to register debug info should not be a big deal.
We're going to need it for gcj when we add a JIT.

Another interesting possibility would be runtime extensions to
MD_FALLBACK_FRAME_STATE_FOR.  That would be more flexible because it
would allow us to use a JIT's native debug info, not just DWARF.

Andrew.

Reply via email to