Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
README
To use pass the name of a llvm ir file as the first argument. In rust you can get these by adding --emit=llvm-ir to rust command line. They show up in target/release/deps/*.ll This can usually be done with `RUSTFLAGS='-g --emit=llvm-ir' cargo build --release` This will generate .ll files for all dependencies as well. I've run into issues with that not working: https://github.com/rust-lang/rust/issues/56290. If you run into this you can also do `RUSTFLAGS='-g' cargo build --release -v` and get the command line and just append `--emit=llvm-ir` The bitcode files should work too, but have not been tested. You can demangle the names using rustfilt. (cargo install rustfilt)