代码拉取完成,页面将自动刷新
mkdir build
cd build
cmake ../
make
即可获取PASS的动态链接库文件。cd ../tests/
bash test_xxx.sh
(该脚本将分别执行:利用clang -emit-llvm生成LLVM IR、利用 opt 优化IR、利用 llvm-as 和 lli 执行,详细请参见脚本源码)https://zhuanlan.zhihu.com/p/392381317 https://www.jianshu.com/p/9f450969121b https://blog.csdn.net/ZCMUCZX/article/details/80856655 https://llvm.org/docs/CMake.html https://llvm.org/docs/WritingAnLLVMPass.html https://github.com/banach-space/llvm-tutor
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。