![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LLVM
文章平均质量分 53
彼得潘的姑娘
这个作者很懒,什么都没留下…
展开
-
LLVM IR 调试 常见错误
LLVM 调试常见错误记录Error:Basic Block in function 'Filter' does not have terminator!label %for.condLLVM ERROR: Broken module, no Basic Block terminator!分析 :应该是某一个Basic BLock结束 却没有跳转;如本错误丢失Branc原创 2014-03-18 15:08:56 · 1501 阅读 · 0 评论 -
LLVM 初学笔记
一. 安装 (后补)二.使用LLVM IR代码;1. 写一个简单的C++函数test.cppvoid MyPrint(){ std::cout << "Fuck You! " << std::endl;}2. 转换为IRClang++ -c -emit-llvm –o test.bc test.cpp 编译为二进制文件Llc –mar原创 2013-11-07 10:14:34 · 2090 阅读 · 0 评论