Skip to content

Latest commit

 

History

History
345 lines (274 loc) · 18.7 KB

LLVM_external_links.md

File metadata and controls

345 lines (274 loc) · 18.7 KB

External Links: LLVMLinux with LLVM, Clang and LLDB

written by Nick Shin - [email protected]
this file is licensed under: Unlicense - http://unlicense.org/
and, is from - https://github.com/nickshin/CheatSheets/


The external links list was getting so large, I placed them here.
These are my choice selections - and doubles as my bookmarks for quick reference lookup.


LLVMLinux

  • LLVMLinux: The Linux Kernel with Dragon Wings
    • slide 17: see Quick Start Guide below
      • git clone http://git.linuxfoundation.org/llvmlinux.git
      • The framework consists of scripts and patches
      • Automates fetching, patching, and building
        • LLVM, Clang,
        • Toolchains for cross assembler, linker
        • Linux Kernel
        • QEMU, and test images
    • slide 18: see Project Overview below
      • patch management: quilt
      • Choice of clang compiler
        • From-source, prebuilt, native
      • Choice of cross-toolchain (as, ld)
        • Codesourcery, Linaro, Android, native
      • $ cd targets/vexpress
      • $ make CLANG_TOOLCHAIN=prebuilt kernel-build
      • $ make CROSS_ARM_TOOLCHAIN=linaro kernel-build
    • slide 19: support for various targets
      • Versatile Express (QEMU testing mainline)
      • X86_64 (mainline)
      • Qualcomm MSM (3.4)
      • Raspberry-pi (3.2 and 3.6)
      • BeagleBone (3.8 in progress)
      • Nexus 7 (3.1.10), Galaxy S3 (3.0.59)
      • Arm64 (mainline in progress)
    • slide 22:
      • The kernel can be compiled with Clang 3.3 (with the LLVMLinux kernel patches)
  • LLVMLinux Project Overview
    • building just the kernel with an existing clang toolchain
  • Quick Start Guide - LLVMLinux
    • Automated Build Framework which builds all the Clang/LLVM, the Linux kernel (with appropriate patches) and testing framework (where possible).

Debian


LLVM

The mother of all LLVM Documentation

For LLVM programming, every item listed under Programming Documentation and Subsystem Documentation are must reads; And the following are also useful:

Another excellent resource LLVM Developers' Meeting

Note: this list would make more sense if read from bottom -> up

Interesting Projects


Clang

Tips

Interesting Projects


LLDB


LLD