llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.22k stars 11.65k forks source link

MCJIT debugging support. #21897

Closed lhames closed 4 years ago

lhames commented 9 years ago
Bugzilla Link 21523
Resolution WONTFIX
Resolved on Mar 14, 2020 19:16
Version trunk
OS All
CC @echristo,@Keno

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.

lhames commented 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.

lhames commented 9 years ago

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.

lhames commented 9 years ago

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...

echristo commented 9 years ago

I'm not sure a new object format is necessary for this. What's wrong with taking an existing one like ELF?