llvmlite icon indicating copy to clipboard operation
llvmlite copied to clipboard

Attaching metadata references to global variables

Open syegulalp opened this issue 7 years ago • 2 comments

Is this possible in llvmlite? It doesn't appear to be documented, or exposed through the API set for objects like llvmlite.ir.GlobalVariable.

syegulalp avatar Jan 12 '18 16:01 syegulalp

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

sklam avatar Jan 16 '18 23:01 sklam

See PR https://github.com/numba/llvmlite/pull/760

john-tornblom avatar Aug 05 '21 11:08 john-tornblom