Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试用 C 编写 LLVM Pass,但我只能找到有关如何在 C++ 中执行此操作的信息。如果有人对此主题有任何参考或知识,我将不胜感激!谢谢!
您应该看一下llvm-c-kaleidoscope,您可以在其中通过示例学习如何使用llvm-c 接口。