Closed lhames closed 4 years ago
Closing this as wont-fix. We already have the GDBRegistrationListener for debugging support in MCJIT (See llvm/llvm-project#1501 and llvm/llvm-project#18002 ). Future work will focus on OrcV2 debugging support.
Was hoping to have a prototype for this today, but I've been pulled off onto other bugs. I'm still hoping to have something before next week.
It actually may not be necessary. I'm trying something out at the moment where I construct a new platform appropriate object holding the debug info. Prototype available soon hopefully...
I'm not sure a new object format is necessary for this. What's wrong with taking an existing one like ELF?
Extended Description
I'm creating this bug to track work on debugging support for MCJIT.
As discussed at the dev meeting, the best way forward is probably to develop a minimal object format that the JIT can construct to hold the DWARF, plus any symbol table info needed by the debugger.