55 #ifndef ETISS_INCLUDE_JIT_H_
56 #define ETISS_INCLUDE_JIT_H_
69 JIT(std::string name);
83 virtual void *
translate(std::string code, std::set<std::string> headerpaths, std::set<std::string> librarypaths,
84 std::set<std::string> libraries, std::string &error,
85 bool debug =
true) = 0;
89 virtual void *
getFunction(
void *handle, std::string name, std::string &error) = 0;
93 virtual void free(
void *handle) = 0;
general configuration and logging
compiler interface for just in time compilation of generated C code
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=true)=0
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)=0
returns a function pointer to a compiled function from the handle returned by etiss::JIT::translate
std::string getName()
returns the JIT instance name previously passed to the constructor
virtual void free(void *handle)=0
clean up handled returned by etiss::JIT::translate
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags.