Almost finished section 3 for LLVM system.