1This is a set of individual patches, which contain all the customizations to 2llvm/clang currently in the FreeBSD base system. These can be applied in 3alphabetical order to a pristine llvm/clang 3.4 release source tree, for example 4by doing: 5 6svn co https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_34/final llvm-3.4-final 7svn co https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_34/final llvm-3.4-final/tools/clang 8cd llvm-3.4-final 9for p in /usr/src/contrib/llvm/patches/patch-*.diff; do 10 patch -p0 -f -F0 -E -i $p -s || break 11done 12 13A number of these consist of hand-written modifications, specifically for 14FreeBSD, while most others are cherry pickings off the llvm and clang trunks. 15When a new version of llvm/clang is eventually imported, those latter ones will 16largely disappear. 17