hash-org / hash-org/hashc

codegen(llvm): emit debug information

Open
#995 0 comments 0 reactions 1 assignee Claimed by @feds01 View on GitHub
codegen
Dominant language
Rust
Stars
28
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.