Commit 505e7a3e authored by Per's avatar Per


parent 64dec56f
# llvm-pass-skeleton
# llvm callgirl pass
A completely useless LLVM pass.
It's for LLVM 7.0.
Per Lindgren, Nils Fitinghof, free for all license
Based on
Tested on LLVM 7.0 under arch linux.
## Build:
``` sh
$ cd llvm-pass-skeleton
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd ..
Conseqitive re-build is done from the `build` directory using `make`.
## Run:
``` sh
$ clang -Xclang -load -Xclang build/skeleton/libSkeletonPass.* ctest/test1.c
$ cd ctest
$ clang -S -emit-llvm test1.c
$ opt -load ../build/skeleton/libSkeletonPass.* -callgirl test1.ll -o dummy.ll
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment