staticafi/llvm2c

Support llvm.global_ctors and llvm.global_dtors

tomsik68 opened this issue · 0 comments

These global variables are arrays of functions to be called on program startup/exit. llvm2c currently supports neither ctors nor dtors.
See documentation here: https://llvm.org/docs/LangRef.html#the-llvm-global-ctors-global-variable