pourion / llvm-pass-skeleton

example LLVM pass

Home Page:http://www.cs.cornell.edu/~asampson/blog/llvm.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llvm-pass-skeleton

A completely useless LLVM pass. It's for LLVM 17.

Build:

$ cd llvm-pass-skeleton
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd ..

Run:

$ clang -fpass-plugin=`echo build/skeleton/SkeletonPass.*` something.c

About

example LLVM pass

http://www.cs.cornell.edu/~asampson/blog/llvm.html

License:MIT License


Languages

Language:C++ 56.3%Language:CMake 43.7%