Generated code is not compilant with the amd64 ABI on Linux and FreeBSD
jpd002 opened this issue · 1 comments
jpd002 commented
Currently, the code will compile on Linux and FreeBSD but won't run because of generated code that's not compliant with the amd64 ABI. Support is already there, but it needs to be enabled through an #ifdef
:
https://github.com/jpd002/Play--CodeGen/blob/master/src/Jitter_CodeGen_x86_64.cpp#L6
I would like to make this cleaner by having a kind of "compile setting" that would control which ABI to use at run time to stop the #ifdef
s from proliferating.