50 virtual void *
translate(std::string code, std::set<std::string> headerpaths, std::set<std::string> librarypaths,
51 std::set<std::string> libraries, std::string &error,
bool debug =
false);
52 virtual void *
getFunction(
void *handle, std::string name, std::string &error);
53 virtual void free(
void *handle);
JIT compiler interface definition.
std::map< std::string, void * > extsymbols
only use for windows.
virtual void free(void *handle)
clean up handled returned by etiss::JIT::translate
virtual void * translate(std::string code, std::set< std::string > headerpaths, std::set< std::string > librarypaths, std::set< std::string > libraries, std::string &error, bool debug=false)
translate C code to executable code and return a handle/pointer that identifies the compilation resul...
virtual void * getFunction(void *handle, std::string name, std::string &error)
returns a function pointer to a compiled function from the handle returned by etiss::JIT::translate
compiler interface for just in time compilation of generated C code