Crates.io | llvm-passgen |
lib.rs | llvm-passgen |
version | 0.4.0 |
source | src |
created_at | 2019-09-26 23:45:47.645448 |
updated_at | 2022-04-04 19:51:18.798912 |
description | A tool for quickly creating LLVM pass skeletons |
homepage | https://github.com/woodruffw/llvm-passgen |
repository | |
max_upload_size | |
id | 167978 |
size | 28,826 |
A tool for rapidly creating LLVM pass skeletons.
cargo install llvm-passgen
# or, build locally with `cargo build`
llvm-passgen --kind module Foo
cd Foo/build
cmake ..
make
If cmake ..
fails, you may need to set LLVM_DIR
to the LLVM CMake configuration:
LLVM_DIR=/path/to/llvm/lib/cmake cmake ..
See llvm-passgen --help
for a full list of options.