Skip to content
A small tool for quickly generating LLVM passes
Rust C++ Shell CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
Cargo.lock
Cargo.toml
README.md

README.md

llvm-passgen

Build Status

A tool for rapidly creating LLVM pass skeletons.

Overview

cargo install llvm-passgen
# or, build locally with `cargo build`

Usage

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.

You can’t perform that action at this time.