hashc icon indicating copy to clipboard operation
hashc copied to clipboard

codegen(llvm): emit debug information

Open feds01 opened this issue 1 year ago • 0 comments

Currently, the LLVM code generation backend doesn't implement emitting debug information. This is a must-need feature of any code generation backend and should be implemented.

LLVM provides a way to emit debug information in the DWARF (https://dwarfstd.org/) format. Implementing this will be a useful learning experience for when we implement emitting debug information for other debug formats, and other backends.

Another thing that should be implemented (for debugging information to be useful) is to investigate and implement "unwinding" in the LLVM code generation backend.

feds01 avatar Sep 26 '23 23:09 feds01