Skip to content

tzhenghao/llvm-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llvm-tutorial

Code for LLVM's official tutorial

Instructions

CMake (recommended)

  1. Navigate to the build directory: cd build
  2. Configure and generate build files with CMake (via Ninja): cmake .. -G Ninja
  3. Build with Ninja: ninja

Manual (with clang)

clang++ -g -O3 main.cpp `llvm-config-16 --cxxflags --ldflags --system-libs --libs core` -o toy

About

Code for LLVM's official tutorial

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages