llvmlite icon indicating copy to clipboard operation
llvmlite copied to clipboard

Add enhanced debug metadata generation

Open thomaspinckney3 opened this issue 1 month ago • 2 comments


It would be nice to expose DIBuilder or some other higher level API for generating debug information than what is currently offered.

thomaspinckney3 avatar Oct 31 '25 11:10 thomaspinckney3

This could be moved from Numba to llvmlite https://github.com/numba/numba/blob/main/numba/core/debuginfo.py

thomaspinckney3 avatar Oct 31 '25 11:10 thomaspinckney3

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.

sklam avatar Nov 04 '25 17:11 sklam