Displaying 1 result from an estimated 1 matches for "getprinttext".
2012 Jul 07
2
[LLVMdev] Crash using the JIT on x86 but work on x64
...Mapping(F, func);
// This also work, i don't know what method is better, addGlobalMapping seem to be for the JIT
// and AddSymbol for the interpreter
// This method register the function directly to LLVM
//llvm::sys::DynamicLibrary::AddSymbol(mangled_name, func);
}
std::string getPrintText()
{
printf("\nRunning getPrintText()...\n");
return std::string("Hello world from getPrintText()!");
}
class TestClass1
{
public:
static void test1()
{
printf("\nHello World from TestClass1::test1()!\n");
}
void test2(std::string s)...