LLVM JIT : matching structure member alignment with gcc -
i'm using llvm c++ api in program compiled gcc, , i'm using 'executionengine' jit in same process. i'm using boost::fusion automatically lift c++ structs jit, , i've noticed when produce struct definitions in way, llvm calculates different offsets fields of struct gcc does.
does know have llvm's determination "in alignment" gcc's? problem i'm casting "opaque" classes byte arrays in llvm struct definition (e.g.: if struct has std::string translate byte array of length sizeof(std::string))?
Comments
Post a Comment