llvmlite
llvmlite copied to clipboard
Attaching metadata references to global variables
Is this possible in llvmlite? It doesn't appear to be documented, or exposed through the API set for objects like llvmlite.ir.GlobalVariable.
Looks like we didn't add it for GlobalVariable. Looks like it's not too hard to do. Just need to add _HasMetadata
and the required attributes to GlobalVariable
See PR https://github.com/numba/llvmlite/pull/760