项目
关于
Manipulate LLVM-IR in Pure Rust
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Vicis
Manipulate LLVM IR in pure Rust (without LLVM).
Feel free to create issues and pull requests!
Requirements
- Vicis itself is not depending on llvm
- However, I sometimes use llvm 13 for testing. (e.g. parsing the llvm-ir clang-13 emitted by vicis)
Examples
- Parse and dump
*.llfile
cargo run --example parse FILE.ll
- Interpret
*.llfile
cargo run --example interpreter FILE.ll # --release
Compile LLVM IR into machine code
- The example illustrates the way for x86_64, but it's easy to do the same thing for aarch64 (although aarch64 backend is still heavily under development.)
探索相关项目
加载中…