llvmlite
llvmlite copied to clipboard
Add enhanced debug metadata generation
It would be nice to expose DIBuilder or some other higher level API for generating debug information than what is currently offered.
This could be moved from Numba to llvmlite https://github.com/numba/numba/blob/main/numba/core/debuginfo.py
A lot of the logic in Numba's DIBuilder is tightly coupled with the type system. For it to live in llvmlite, it will need to be generalized for any type system. I'm afraid the only common logic are the helpers for making some of the debug metadata.