Displaying 1 result from an estimated 1 matches for "957593".
Did you mean:
57593
2017 Aug 16
3
LLVM JIT Compilation
ok i have managed to compile using lli (jit) as follows: but i dont get
assembly file?
my sum-main.c file is:
#include <stdio.h>
#include<stdlib.h>
int sum(int a, int b) {
return a + b;
}
int main(int argc, char** argv) {
printf("sum: %d\n", sum(atoi(argv[1]), atoi(argv[2])) + sum(atoi(argv[1]),
atoi(argv[2])));
return 0;
}
and i used the following steps to compile.
clang