wllvm
« Back to VersTracker
Description:
Toolkit for building whole-program LLVM bitcode files
Type: Formula  |  Latest Version: 1.3.1@0  |  Tracked Since: Oct 11, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: llvm bitcode compiler static-analysis c c++
Install: brew install wllvm
About:
WLLVM is a Python toolkit that enables the creation of whole-program LLVM bitcode files from complex C/C++ projects. It works by replacing standard compiler toolchains (like clang or gcc) with wrappers that invoke the LLVM bitcode generator for each compilation unit. The primary value is facilitating whole-program analysis, optimization, or instrumentation of large codebases by providing a unified bitcode file.
Key Features:
  • Compiler wrapper scripts for transparent bitcode generation
  • Supports both clang and GCC toolchains
  • Command-line tools for aggregating bitcode files
  • Python-based for easy integration and extensibility
Use Cases:
  • Whole-program static analysis of C/C++ projects
  • Profile-guided optimization using bitcode
  • Security instrumentation of compiled binaries
  • Link-time optimization across entire applications
Alternatives:
  • LLVM -flto – LLVM's native LTO produces bitcode but WLLVM offers more granular control and works with non-LLVM toolchains
  • BOLT – BOLT performs post-link optimization on binaries, while WLLVM operates on bitcode before final compilation
Version History
Detected Version Rev Change Commit
Oct 11, 2025 3:47pm 1 VERSION_BUMP 3d1c5d69
Oct 11, 2025 8:02am 1 VERSION_BUMP 68b853b4
Oct 12, 2024 7:22pm 1 VERSION_BUMP f5832a5f