vnmakarov / mir

A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR
MIT License
2.29k stars 145 forks source link

How to add static info into a function? #352

Closed mttbx closed 1 year ago

mttbx commented 1 year ago

I want to add some static info into a function, so that I can use it in realtime. It should be located in the .data segment. Is there a way?