Open Qiu-Weidong opened 2 years ago
https://qiu-weidong.github.io/2022/08/06/llvm/printf/
C语言代码如下: #include int main(int argc, const char ** argv) { printf("hello world!\n"); return 0;} 生成llvmIR的代码如下: #include "llvm/IR/Module.h"#include &q
https://qiu-weidong.github.io/2022/08/06/llvm/printf/
C语言代码如下: #includeint main(int argc, const char ** argv) { printf("hello world!\n"); return 0;} 生成llvmIR的代码如下: #include "llvm/IR/Module.h"#include &q