6
LLVM Dataflow Info Printer Pass
source link: https://github.com/regehr/llvm-dataflow-info
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK