Skip to content

Setup scripts to install and configure LLVM

License

Notifications You must be signed in to change notification settings

szsam/hssllvmsetup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hssllvmsetup

Setup scripts to install and configure LLVM

This is a basic starter repo designed for writing LLVM passes to help Holistic Software Security Course.

Installing LLVM

wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh <version number>
sudo ln -s /usr/bin/clang-12 /usr/bin/clang
sudo ln -s /usr/bin/clang++-12 /usr/bin/clang++
sudo ln -s /usr/bin/llvm-config-12 /usr/bin/llvm-config
sudo ln -s /usr/bin/opt-12 /usr/bin/opt

We will be using LLVM 12 in our course. So, you should be installing version 12, i.e., sudo ./llvm.sh 12

Refer llvm-passes folder for sample passes.

About

Setup scripts to install and configure LLVM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.0%
  • CMake 11.3%
  • C 6.7%