Skip to content

siyuanchai1999/LLVM_middleend_template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLVM_middleend_template

This is the template to use for assignments of the Code Analysis and Transformation class at Northwestern University.

Website of the class = https://users.cs.northwestern.edu/~simonec/CAT.html

To build: Compile and install your code by invoking ./run_me.sh The script run_me.sh compiles and installs an LLVM-based compiler that includes your CAT in the directory ~/CAT

To run:

  1. Add your compiler cat-c in your PATH (i.e., export PATH=~/CAT/bin:$PATH)

  2. Invoke your compiler to compile a C/C++ program. For example:

  $ cat-c program_to_analyse.c -o mybinary
  $ cat-c -O3 program_to_analyse.c -o mybinary
  $ cat-c -O0 program_to_analyse.bc -o mybinary

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.2%
  • Shell 1.8%
  • CMake 1.0%