https://github.com/sampsyo/llvm-pass-skeleton
example LLVM pass
https://github.com/sampsyo/llvm-pass-skeleton
Last synced: about 1 year ago
JSON representation
example LLVM pass
- Host: GitHub
- URL: https://github.com/sampsyo/llvm-pass-skeleton
- Owner: sampsyo
- License: mit
- Created: 2015-07-23T17:45:27.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T03:40:58.000Z (over 1 year ago)
- Last Synced: 2025-04-11T19:59:43.838Z (over 1 year ago)
- Language: C++
- Homepage: http://www.cs.cornell.edu/~asampson/blog/llvm.html
- Size: 58.6 KB
- Stars: 582
- Watchers: 15
- Forks: 195
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-llvm - llvm-pass-skeleton - example LLVM pass (Starchart)
README
# 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