macOS
brew install wllvmlocal Homebrew formula metadata
brew
Toolkit for building whole-program LLVM bitcode files. Version 1.3.1 via Homebrew; verified 2026-06-22.
install
brew install wllvmlocal Homebrew formula metadata
nix profile install nixpkgs#wllvmnixpkgs package indexes · pkgs/by-name/wl/wllvm/package.nix · source: api.github.com
overview
Toolkit for building whole-program LLVM bitcode files
history
WLLVM, short for Whole Program LLVM, is a Python-based wrapper toolkit for producing whole-program or whole-library LLVM bitcode from ordinary C, C++, and Fortran build systems. Its niche is not compiling new code directly, but making existing autotools, Make, and compiler-driven projects emit normal native artifacts while preserving enough per-object bitcode information for later extraction.
The public GitHub repository for travitch/whole-program-llvm was created in 2011, and the package later became available on PyPI, whose JSON metadata records release 1.0.0 in August 2016 and release 1.3.1 in April 2021. The README describes the design as a two-step compiler-wrapper approach: build real object files first, generate matching LLVM bitcode second, and record bitcode paths in a dedicated object-file section so a post-build tool can link them into a whole-program bitcode file.
WLLVM's design grew around a practical limitation of link-time optimization workflows: GCC LTO and gold-plugin approaches can work for some programs but become awkward around static libraries and build systems that expect native objects during the build. By keeping the native build intact and delaying bitcode collection until after linking, WLLVM became useful for analysis workflows that need LLVM IR without forcing upstream projects to adopt LLVM-specific build logic.
Adoption has remained specialized but durable in the LLVM static-analysis ecosystem. The PyPI classifiers identify developers and science/research users, while the repository has accumulated hundreds of public stars and forks. The existence of SRI-CSL's gllvm, documented as a Go port of wllvm, is a useful sign of the idea's persistence: the wrapper-plus-extract pattern was important enough to be reimplemented for users who wanted a compiled toolchain wrapper.
A typical user exports WLLVM's compiler wrappers, builds an unmodified upstream package, then runs extract-bc on the resulting executable or archive to recover a linked LLVM bitcode module. That makes it a package-nerd tool for turning traditional Unix source packages into LLVM IR inputs for static analysis, symbolic execution, decompilation research, and whole-program optimization experiments.
WLLVM matters because it sits at the border between normal distribution builds and research tooling. It lets a package be built the way its maintainers intended while still producing LLVM bitcode artifacts that package managers and analysis frameworks can consume later.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
extract-bc | cli | global executable | |
wfortran | cli | global executable | |
wllvm | cli | global executable | |
wllvm++ | cli | global executable | |
wllvm-as | cli | global executable | |
wllvm-sanity-checker | cli | global executable | |
wparse-args | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://pypi.org/project/wllvm/
install metadata
| Package key | brew:wllvm |
|---|---|
| Version | 1.3.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/wllvm |
| Homepage | https://pypi.org/project/wllvm/ |
| Repository | https://github.com/travitch/whole-program-llvm |
| Upstream docs | https://github.com/travitch/whole-program-llvm#readme |
| License | MIT |
| Source archive | https://files.pythonhosted.org/packages/4b/df/31d7519052bc21d0e9771e9a6540d6310bfb13bae7dacde060d8f647b8d3/wllvm-1.3.1.tar.gz |
| Last updated | 2026-06-22T14:06:39-07:00 |
| Pulse | updated |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | wllvm |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
wllvm
nix profile install nixpkgs#wllvmsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.