Technical Handbooks
- Understanding LLVM Transformation Passes (in Chinese)
This is a Chinese book I wrote during my spare time as a Ph.D. student. The motivation behind this work stems from my belief that LLVM transformation passes are incredibly powerful tools, yet the existing documentation is often vague and lacks sufficient detail.
In particular, this book aims to address that gap by providing:
(1) An introduction to LLVM basics.
(2) A quick overview of several fundamental compiler optimization techniques.
(3) A detailed explanation of each LLVM (Version 17.0.0) transformation pass, including definitions, my interpretations, and illustrative code examples.
I hope this book serves as a helpful resource for those looking to deepen their understanding of LLVM transformation passes. Enjoy reading!
Short Documentations
-
A Brief Introduction to LLVM
This document introduces basic concepts of the LLVM compiler infrastructure and provides a practical example of how to write a simple LLVM pass for performing static program analysis.
-
Using LLFI: LLVM IR Level Fault Injector
This document provides an overview of using LLFI, an LLVM-level fault injector developed by the University of British Columbia (UBC), to study the error resilience of programs.
Knowledge Portal
Some documents (not written by me) that help me a lot.
Powered by Jekyll and Minimal Light theme.