Skip to content
print information from LLVM dataflow analyses
C++ CMake LLVM
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.
hello
test
.gitignore
CMakeLists.txt
LICENSE
README.md
dataflow.cpp

README.md

LLVM Dataflow Info Printer Pass

Tell us what some of LLVM's dataflow analyses think about the code being compiled.

Requirements

  • LLVM 9 or higher
  • cmake 3.7

Build

mkdir build
cd build
cmake .. -G Ninja
ninja

Run

On Linux, in the build directory:

opt -load ./LLVMDataflowInfo.so -dataflow-info ../test/test1.ll

On OS X, in the build directory:

opt -load ./LLVMDataflowInfo.dylib -dataflow-info ../test/test1.ll

You can’t perform that action at this time.