Debuginfo is expensive to compile, right? What if we generated it on-demand, whe...

@bal4e@tech.lgbt

Debuginfo is expensive to compile, right? What if we generated it on-demand, when a debugger asks for it? You probably only care about the debuginfo for particular functions; we could skip generating >90% of the debuginfo an executable would normally contain. And such a workflow is perfectly possible for local development and debugging. We just need a way to communicate between a debugger like GDB and the compiler.

#programming #compilers