Displaying 1 result from an estimated 1 matches for "main_c".
Did you mean:
main__
2013 Nov 21
1
[LLVMdev] Replacing C-style function
Hi,
I am trying to replace a c-style function with another function with same
signature. Consider the following code:
std::stringstream main_c;
main_c
<<"#include <stdio.h>\n"
<<"extern \"C\" { \n"
<<"int print1()\n"
<<"{\n"
<<" printf(\"Inside print1\\n\");\n"
<<" return 0xdeadbe...