˵sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget/translations/zh_CN/kbuild/llvmmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/zh_TW/kbuild/llvmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/it_IT/kbuild/llvmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/ja_JP/kbuild/llvmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/ko_KR/kbuild/llvmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/sp_SP/kbuild/llvmmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhtarget)}(h.. _kbuild_llvm:h]h}(h]h ]h"]h$]h&]refid kbuild-llvmuh1hhKhhhhh9/var/lib/git/docbuild/linux/Documentation/kbuild/llvm.rstubhsection)}(hhh](htitle)}(hBuilding Linux with Clang/LLVMh]hBuilding Linux with Clang/LLVM}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hQThis document covers how to build the Linux kernel with Clang and LLVM utilities.h]hQThis document covers how to build the Linux kernel with Clang and LLVM utilities.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(hAbouth]hAbout}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(hX'The Linux kernel has always traditionally been compiled with GNU toolchains such as GCC and binutils. Ongoing work has allowed for `Clang `_ and `LLVM `_ utilities to be used as viable substitutes. Distributions such as `Android `_, `ChromeOS `_, `OpenMandriva `_, and `Chimera Linux `_ use Clang built kernels. Google's and Meta's datacenter fleets also run kernels built with Clang.h](hThe Linux kernel has always traditionally been compiled with GNU toolchains such as GCC and binutils. Ongoing work has allowed for }(hhhhhNhNubh reference)}(h"`Clang `_h]hClang}(hhhhhNhNubah}(h]h ]h"]h$]h&]nameClangrefurihttps://clang.llvm.org/uh1hhhubh)}(h h]h}(h]clangah ]h"]clangah$]h&]refurijuh1h referencedKhhubh and }(hhhhhNhNubh)}(h`LLVM `_h]hLLVM}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameLLVMjhttps://llvm.org/uh1hhhubh)}(h h]h}(h]llvmah ]h"]llvmah$]h&]refurij$uh1hjKhhubhC utilities to be used as viable substitutes. Distributions such as }(hhhhhNhNubh)}(h%`Android `_h]hAndroid}(hj6hhhNhNubah}(h]h ]h"]h$]h&]nameAndroidjhttps://www.android.com/uh1hhhubh)}(h h]h}(h]androidah ]h"]androidah$]h&]refurijFuh1hjKhhubh, }(hhhhhNhNubh)}(h2`ChromeOS `_h]hChromeOS}(hjXhhhNhNubah}(h]h ]h"]h$]h&]nameChromeOSj$https://www.chromium.org/chromium-osuh1hhhubh)}(h' h]h}(h]chromeosah ]h"]chromeosah$]h&]refurijhuh1hjKhhubh, }hhsbh)}(h/`OpenMandriva `_h]h OpenMandriva}(hjzhhhNhNubah}(h]h ]h"]h$]h&]name OpenMandrivajhttps://www.openmandriva.org/uh1hhhubh)}(h h]h}(h] openmandrivaah ]h"] openmandrivaah$]h&]refurijuh1hjKhhubh, and }(hhhhhNhNubh)}(h-`Chimera Linux `_h]h Chimera Linux}(hjhhhNhNubah}(h]h ]h"]h$]h&]name Chimera Linuxjhttps://chimera-linux.org/uh1hhhubh)}(h h]h}(h] chimera-linuxah ]h"] chimera linuxah$]h&]refurijuh1hjKhhubhf use Clang built kernels. Google’s and Meta’s datacenter fleets also run kernels built with Clang.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hX`LLVM is a collection of toolchain components implemented in terms of C++ objects `_. Clang is a front-end to LLVM that supports C and the GNU C extensions required by the kernel, and is pronounced "klang," not "see-lang."h](h)}(h{`LLVM is a collection of toolchain components implemented in terms of C++ objects `_h]hPLLVM is a collection of toolchain components implemented in terms of C++ objects}(hjhhhNhNubah}(h]h ]h"]h$]h&]namePLLVM is a collection of toolchain components implemented in terms of C++ objectsj%https://www.aosabook.org/en/llvm.htmluh1hhjubh)}(h( h]h}(h]Nllvm-is-a-collection-of-toolchain-components-implemented-in-terms-of-c-objectsah ]h"]Pllvm is a collection of toolchain components implemented in terms of c++ objectsah$]h&]refurijuh1hjKhjubh. Clang is a front-end to LLVM that supports C and the GNU C extensions required by the kernel, and is pronounced “klang,” not “see-lang.”}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h]aboutah ]h"]aboutah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hBuilding with LLVMh]hBuilding with LLVM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hInvoke ``make`` via::h](hInvoke }(hj hhhNhNubhliteral)}(h``make``h]hmake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh via:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh literal_block)}(h make LLVM=1h]h make LLVM=1}hj-sbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1j+hhhK!hjhhubh)}(h5to compile for the host target. For cross compiling::h]h4to compile for the host target. For cross compiling:}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjhhubj,)}(hmake LLVM=1 ARCH=arm64h]hmake LLVM=1 ARCH=arm64}hjKsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhK%hjhhubeh}(h]building-with-llvmah ]h"]building with llvmah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hThe LLVM= argumenth]hThe LLVM= argument}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahhhhhK(ubh)}(h~LLVM has substitutes for GNU binutils utilities. They can be enabled individually. The full list of supported make variables::h]h}LLVM has substitutes for GNU binutils utilities. They can be enabled individually. The full list of supported make variables:}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK*hjahhubj,)}(hmake CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \ OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf \ HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lldh]hmake CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \ OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf \ HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld}hjsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhK-hjahhubh)}(h ``LLVM=1`` expands to the above.h](j)}(h ``LLVM=1``h]hLLVM=1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh expands to the above.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK1hjahhubh)}(hIf your LLVM tools are not available in your PATH, you can supply their location using the LLVM variable with a trailing slash::h]hIf your LLVM tools are not available in your PATH, you can supply their location using the LLVM variable with a trailing slash:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK3hjahhubj,)}(hmake LLVM=/path/to/llvm/h]hmake LLVM=/path/to/llvm/}hjsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhK6hjahhubh)}(hgwhich will use ``/path/to/llvm/clang``, ``/path/to/llvm/ld.lld``, etc. The following may also be used::h](hwhich will use }(hjhhhNhNubj)}(h``/path/to/llvm/clang``h]h/path/to/llvm/clang}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``/path/to/llvm/ld.lld``h]h/path/to/llvm/ld.lld}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh&, etc. The following may also be used:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK8hjahhubj,)}(h$PATH=/path/to/llvm:$PATH make LLVM=1h]h$PATH=/path/to/llvm:$PATH make LLVM=1}hjsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhK;hjahhubh)}(hIf your LLVM tools have a version suffix and you want to test with that explicit version rather than the unsuffixed executables like ``LLVM=1``, you can pass the suffix using the ``LLVM`` variable::h](hIf your LLVM tools have a version suffix and you want to test with that explicit version rather than the unsuffixed executables like }(hjhhhNhNubj)}(h ``LLVM=1``h]hLLVM=1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$, you can pass the suffix using the }(hjhhhNhNubj)}(h``LLVM``h]hLLVM}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh variable:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK=hjahhubj,)}(h make LLVM=-14h]h make LLVM=-14}hj8sbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhKAhjahhubh)}(h0which will use ``clang-14``, ``ld.lld-14``, etc.h](hwhich will use }(hjFhhhNhNubj)}(h ``clang-14``h]hclang-14}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }(hjFhhhNhNubj)}(h ``ld.lld-14``h]h ld.lld-14}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, etc.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKChjahhubh)}(hRTo support combinations of out of tree paths with version suffixes, we recommend::h]hQTo support combinations of out of tree paths with version suffixes, we recommend:}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjahhubj,)}(h'PATH=/path/to/llvm/:$PATH make LLVM=-14h]h'PATH=/path/to/llvm/:$PATH make LLVM=-14}hjsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhKHhjahhubh)}(h``LLVM=0`` is not the same as omitting ``LLVM`` altogether, it will behave like ``LLVM=1``. If you only wish to use certain LLVM utilities, use their respective make variables.h](j)}(h ``LLVM=0``h]hLLVM=0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not the same as omitting }(hjhhhNhNubj)}(h``LLVM``h]hLLVM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh! altogether, it will behave like }(hjhhhNhNubj)}(h ``LLVM=1``h]hLLVM=1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhV. If you only wish to use certain LLVM utilities, use their respective make variables.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKJhjahhubh)}(hThe same value used for ``LLVM=`` should be set for each invocation of ``make`` if configuring and building via distinct commands. ``LLVM=`` should also be set as an environment variable when running scripts that will eventually run ``make``.h](hThe same value used for }(hjhhhNhNubj)}(h ``LLVM=``h]hLLVM=}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& should be set for each invocation of }(hjhhhNhNubj)}(h``make``h]hmake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh4 if configuring and building via distinct commands. }(hjhhhNhNubj)}(h ``LLVM=``h]hLLVM=}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] should also be set as an environment variable when running scripts that will eventually run }(hjhhhNhNubj)}(h``make``h]hmake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKNhjahhubeh}(h]the-llvm-argumentah ]h"]the llvm= argumentah$]h&]uh1hhhhhhhhK(ubh)}(hhh](h)}(hCross Compilingh]hCross Compiling}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hhhhhKTubh)}(hX#A single Clang compiler binary (and corresponding LLVM utilities) will typically contain all supported back ends, which can help simplify cross compiling especially when ``LLVM=1`` is used. If you use only LLVM tools, ``CROSS_COMPILE`` or target-triple-prefixes become unnecessary. Example::h](hA single Clang compiler binary (and corresponding LLVM utilities) will typically contain all supported back ends, which can help simplify cross compiling especially when }(hjChhhNhNubj)}(h ``LLVM=1``h]hLLVM=1}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh& is used. If you use only LLVM tools, }(hjChhhNhNubj)}(h``CROSS_COMPILE``h]h CROSS_COMPILE}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh7 or target-triple-prefixes become unnecessary. Example:}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKVhj2hhubj,)}(hmake LLVM=1 ARCH=arm64h]hmake LLVM=1 ARCH=arm64}hjusbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhK[hj2hhubh)}(hAs an example of mixing LLVM and GNU utilities, for a target like ``ARCH=s390`` which does not yet have ``ld.lld`` or ``llvm-objcopy`` support, you could invoke ``make`` via::h](hBAs an example of mixing LLVM and GNU utilities, for a target like }(hjhhhNhNubj)}(h ``ARCH=s390``h]h ARCH=s390}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh which does not yet have }(hjhhhNhNubj)}(h ``ld.lld``h]hld.lld}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h``llvm-objcopy``h]h llvm-objcopy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh support, you could invoke }(hjhhhNhNubj)}(h``make``h]hmake}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh via:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK]hj2hhubj,)}(hSmake LLVM=1 ARCH=s390 LD=s390x-linux-gnu-ld.bfd \ OBJCOPY=s390x-linux-gnu-objcopyh]hSmake LLVM=1 ARCH=s390 LD=s390x-linux-gnu-ld.bfd \ OBJCOPY=s390x-linux-gnu-objcopy}hjsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhKahj2hhubh)}(hThis example will invoke ``s390x-linux-gnu-ld.bfd`` as the linker and ``s390x-linux-gnu-objcopy``, so ensure those are reachable in your ``$PATH``.h](hThis example will invoke }(hjhhhNhNubj)}(h``s390x-linux-gnu-ld.bfd``h]hs390x-linux-gnu-ld.bfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh as the linker and }(hjhhhNhNubj)}(h``s390x-linux-gnu-objcopy``h]hs390x-linux-gnu-objcopy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh(, so ensure those are reachable in your }(hjhhhNhNubj)}(h ``$PATH``h]h$PATH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKdhj2hhubh)}(h``CROSS_COMPILE`` is not used to prefix the Clang compiler binary (or corresponding LLVM utilities) as is the case for GNU utilities when ``LLVM=1`` is not set.h](j)}(h``CROSS_COMPILE``h]h CROSS_COMPILE}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhy is not used to prefix the Clang compiler binary (or corresponding LLVM utilities) as is the case for GNU utilities when }(hj+hhhNhNubj)}(h ``LLVM=1``h]hLLVM=1}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh is not set.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKghj2hhubeh}(h]cross-compilingah ]h"]cross compilingah$]h&]uh1hhhhhhhhKTubh)}(hhh](h)}(hThe LLVM_IAS= argumenth]hThe LLVM_IAS= argument}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahhhhhKlubh)}(hClang can assemble assembler code. You can pass ``LLVM_IAS=0`` to disable this behavior and have Clang invoke the corresponding non-integrated assembler instead. Example::h](h0Clang can assemble assembler code. You can pass }(hjrhhhNhNubj)}(h``LLVM_IAS=0``h]h LLVM_IAS=0}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubhl to disable this behavior and have Clang invoke the corresponding non-integrated assembler instead. Example:}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKnhjahhubj,)}(hmake LLVM=1 LLVM_IAS=0h]hmake LLVM=1 LLVM_IAS=0}hjsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhKrhjahhubh)}(hX``CROSS_COMPILE`` is necessary when cross compiling and ``LLVM_IAS=0`` is used in order to set ``--prefix=`` for the compiler to find the corresponding non-integrated assembler (typically, you don't want to use the system assembler when targeting another architecture). Example::h](j)}(h``CROSS_COMPILE``h]h CROSS_COMPILE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' is necessary when cross compiling and }(hjhhhNhNubj)}(h``LLVM_IAS=0``h]h LLVM_IAS=0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is used in order to set }(hjhhhNhNubj)}(h ``--prefix=``h]h --prefix=}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for the compiler to find the corresponding non-integrated assembler (typically, you don’t want to use the system assembler when targeting another architecture). Example:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKthjahhubj,)}(h@make LLVM=1 ARCH=arm LLVM_IAS=0 CROSS_COMPILE=arm-linux-gnueabi-h]h@make LLVM=1 ARCH=arm LLVM_IAS=0 CROSS_COMPILE=arm-linux-gnueabi-}hjsbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhKyhjahhubeh}(h]the-llvm-ias-argumentah ]h"]the llvm_ias= argumentah$]h&]uh1hhhhhhhhKlubh)}(hhh](h)}(hCcacheh]hCcache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK}ubh)}(h``ccache`` can be used with ``clang`` to improve subsequent builds, (though KBUILD_BUILD_TIMESTAMP_ should be set to a deterministic value between builds in order to avoid 100% cache misses, see Reproducible_builds_ for more info)::h](j)}(h ``ccache``h]hccache}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh can be used with }(hjhhhNhNubj)}(h ``clang``h]hclang}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' to improve subsequent builds, (though }(hjhhhNhNubh)}(hKBUILD_BUILD_TIMESTAMP_h]hKBUILD_BUILD_TIMESTAMP}(hj/hhhNhNubah}(h]h ]h"]h$]h&]nameKBUILD_BUILD_TIMESTAMPj"kbuild.html#kbuild-build-timestampuh1hhjresolvedKubh` should be set to a deterministic value between builds in order to avoid 100% cache misses, see }(hjhhhNhNubh)}(hReproducible_builds_h]hReproducible_builds}(hjEhhhNhNubah}(h]h ]h"]h$]h&]nameReproducible_buildsj#reproducible-builds.html#timestampsuh1hhjj@Kubh for more info):}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj,)}(h7KBUILD_BUILD_TIMESTAMP='' make LLVM=1 CC="ccache clang"h]h7KBUILD_BUILD_TIMESTAMP='' make LLVM=1 CC="ccache clang"}hj`sbah}(h]h ]h"]h$]h&]j;j<uh1j+hhhKhjhhubh)}(h>.. _KBUILD_BUILD_TIMESTAMP: kbuild.html#kbuild-build-timestamph]h}(h]kbuild-build-timestampah ]h"]kbuild_build_timestampah$]h&]jj?uh1hhKhjhhhhjKubh)}(h<.. _Reproducible_builds: reproducible-builds.html#timestampsh]h}(h]reproducible-buildsah ]h"]reproducible_buildsah$]h&]jjUuh1hhKhjhhhhjKubeh}(h]ccacheah ]h"]ccacheah$]h&]uh1hhhhhhhhK}ubh)}(hhh](h)}(hSupported Architecturesh]hSupported Architectures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hXLLVM does not target all of the architectures that Linux supports and just because a target is supported in LLVM does not mean that the kernel will build or work without any issues. Below is a general summary of architectures that currently work with ``CC=clang`` or ``LLVM=1``. Level of support corresponds to "S" values in the MAINTAINERS files. If an architecture is not present, it either means that LLVM does not target it or there are known issues. Using the latest stable version of LLVM or even the development tree will generally yield the best results. An architecture's ``defconfig`` is generally expected to work well, certain configurations may have problems that have not been uncovered yet. Bug reports are always welcome at the issue tracker below!h](hLLVM does not target all of the architectures that Linux supports and just because a target is supported in LLVM does not mean that the kernel will build or work without any issues. Below is a general summary of architectures that currently work with }(hjhhhNhNubj)}(h ``CC=clang``h]hCC=clang}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h ``LLVM=1``h]hLLVM=1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX6. Level of support corresponds to “S” values in the MAINTAINERS files. If an architecture is not present, it either means that LLVM does not target it or there are known issues. Using the latest stable version of LLVM or even the development tree will generally yield the best results. An architecture’s }(hjhhhNhNubj)}(h ``defconfig``h]h defconfig}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is generally expected to work well, certain configurations may have problems that have not been uncovered yet. Bug reports are always welcome at the issue tracker below!}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]jK uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]jK uh1jhjubhthead)}(hhh]hrow)}(hhh](hentry)}(hhh]h)}(h Architectureh]h Architecture}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hLevel of supporth]hLevel of support}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj.ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``make`` commandh](j)}(h``make``h]hmake}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh command}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjEubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1j hjubhtbody)}(hhh](j)}(hhh](j)}(hhh]h)}(harmh]harm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj~ubah}(h]h ]h"]h$]h&]uh1jhj{ubj)}(hhh]h)}(h Supportedh]h Supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hjh]hLLVM=1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(harm64h]harm64}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h Supportedh]h Supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hjh]hLLVM=1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hhexagonh]hhexagon}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj,ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh]h)}(h Maintainedh]h Maintained}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjCubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hj_h]hLLVM=1}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhhhKhjZubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(h loongarchh]h loongarch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h Maintainedh]h Maintained}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hjh]hLLVM=1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hmipsh]hmips}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h Maintainedh]h Maintained}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hj h]hLLVM=1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hpowerpch]hpowerpc}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj1 ubah}(h]h ]h"]h$]h&]uh1jhj. ubj)}(hhh]h)}(h Maintainedh]h Maintained}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjH ubah}(h]h ]h"]h$]h&]uh1jhj. ubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hjd h]hLLVM=1}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb ubah}(h]h ]h"]h$]h&]uh1hhhhKhj_ ubah}(h]h ]h"]h$]h&]uh1jhj. ubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hriscvh]hriscv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h Supportedh]h Supported}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hj h]hLLVM=1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hs390h]hs390}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h Maintainedh]h Maintained}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h9``LLVM=1`` (LLVM >= 18.1.0), ``CC=clang`` (LLVM < 18.1.0)h](j)}(h ``LLVM=1``h]hLLVM=1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh (LLVM >= 18.1.0), }(hj hhhNhNubj)}(h ``CC=clang``h]hCC=clang}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh (LLVM < 18.1.0)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hsparc (sparc64 only)h]hsparc (sparc64 only)}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjM ubah}(h]h ]h"]h$]h&]uh1jhjJ ubj)}(hhh]h)}(h Maintainedh]h Maintained}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjd ubah}(h]h ]h"]h$]h&]uh1jhjJ ubj)}(hhh]h)}(h$``CC=clang LLVM_IAS=0`` (LLVM >= 20)h](j)}(h``CC=clang LLVM_IAS=0``h]hCC=clang LLVM_IAS=0}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubh (LLVM >= 20)}(hj~ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj{ ubah}(h]h ]h"]h$]h&]uh1jhjJ ubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hum (User Mode)h]hum (User Mode)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h Maintainedh]h Maintained}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hj h]hLLVM=1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh](j)}(hhh]h)}(hx86h]hx86}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h Supportedh]h Supported}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``LLVM=1``h]j)}(hj3 h]hLLVM=1}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1hhhhKhj. ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jvhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]colwidths-givenah"]h$]h&]uh1jhjhhhNhNubeh}(h]supported-architecturesah ]h"]supported architecturesah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Getting Helph]h Getting Help}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp hhhhhKubh bullet_list)}(hhh](h list_item)}(h/`Website `_h]h)}(hj h](h)}(hj h]hWebsite}(hj hhhNhNubah}(h]h ]h"]h$]h&]nameWebsitej"https://clangbuiltlinux.github.io/uh1hhj ubh)}(h% h]h}(h]websiteah ]h"]websiteah$]h&]refurij uh1hjKhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubj )}(hG`Mailing List `_: h]h)}(hj h](h)}(h/`Mailing List `_h]h Mailing List}(hj hhhNhNubah}(h]h ]h"]h$]h&]name Mailing Listjhttps://lore.kernel.org/llvm/uh1hhj ubh)}(h h]h}(h] mailing-listah ]h"] mailing listah$]h&]refurij uh1hjKhj ubh: <}(hj hhhNhNubh)}(hllvm@lists.linux.devh]hllvm@lists.linux.dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurimailto:llvm@lists.linux.devuh1hhj ubh>}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubj )}(hL`Old Mailing List Archives `_h]h)}(hj h](h)}(hj h]hOld Mailing List Archives}(hj hhhNhNubah}(h]h ]h"]h$]h&]nameOld Mailing List Archivesj-https://groups.google.com/g/clang-built-linuxuh1hhj ubh)}(h0 h]h}(h]old-mailing-list-archivesah ]h"]old mailing list archivesah$]h&]refurij uh1hjKhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubj )}(hB`Issue Tracker `_h]h)}(hj3 h](h)}(hj3 h]h Issue Tracker}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]name Issue Trackerj/https://github.com/ClangBuiltLinux/linux/issuesuh1hhj5 ubh)}(h2 h]h}(h] issue-trackerah ]h"] issue trackerah$]h&]refurijG uh1hjKhj5 ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj1 ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubj )}(h(IRC: #clangbuiltlinux on irc.libera.chath]h)}(hjc h]h(IRC: #clangbuiltlinux on irc.libera.chat}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhja ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubj )}(h<`Telegram `_: @ClangBuiltLinuxh]h)}(hjz h](h)}(h*`Telegram `_h]hTelegram}(hj hhhNhNubah}(h]h ]h"]h$]h&]nameTelegramjhttps://t.me/ClangBuiltLinuxuh1hhj| ubh)}(h h]h}(h]telegramah ]h"]telegramah$]h&]refurij uh1hjKhj| ubh: @ClangBuiltLinux}(hj| hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjx ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubj )}(h7`Wiki `_h]h)}(hj h](h)}(hj h]hWiki}(hj hhhNhNubah}(h]h ]h"]h$]h&]nameWikij-https://github.com/ClangBuiltLinux/linux/wikiuh1hhj ubh)}(h0 h]h}(h]wikiah ]h"]wikiah$]h&]refurij uh1hjKhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubj )}(hy`Beginner Bugs `_ h]h)}(hx`Beginner Bugs `_h](h)}(hj h]h Beginner Bugs}(hj hhhNhNubah}(h]h ]h"]h$]h&]name Beginner Bugsjehttps://github.com/ClangBuiltLinux/linux/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22uh1hhj ubh)}(hh h]h}(h] beginner-bugsah ]h"] beginner bugsah$]h&]refurij uh1hjKhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hj hhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1j hhhKhjp hhubh)}(h.. _getting_llvm:h]h}(h]h ]h"]h$]h&]h getting-llvmuh1hhKhjp hhhhubeh}(h] getting-helpah ]h"] getting helpah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Getting LLVMh]h Getting LLVM}(hj, hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj) hhhhhKubh)}(hWe provide prebuilt stable versions of LLVM on `kernel.org `_. These have been optimized with profile data for building Linux kernels, which should improve kernel build times relative to other distributions of LLVM.h](h/We provide prebuilt stable versions of LLVM on }(hj: hhhNhNubh)}(h2`kernel.org `_h]h kernel.org}(hjB hhhNhNubah}(h]h ]h"]h$]h&]name kernel.orgj"https://kernel.org/pub/tools/llvm/uh1hhj: ubh)}(h% h]h}(h] kernel-orgah ]h"] kernel.orgah$]h&]refurijR uh1hjKhj: ubh. These have been optimized with profile data for building Linux kernels, which should improve kernel build times relative to other distributions of LLVM.}(hj: hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj) hhubh)}(hzBelow are links that may be useful for building LLVM from source or procuring it through a distribution's package manager.h]h|Below are links that may be useful for building LLVM from source or procuring it through a distribution’s package manager.}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj) hhubj )}(hhh](j )}(h'https://releases.llvm.org/download.htmlh]h)}(hj} h]h)}(hj} h]h'https://releases.llvm.org/download.html}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij} uh1hhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj{ ubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(h$https://github.com/llvm/llvm-projecth]h)}(hj h]h)}(hj h]h$https://github.com/llvm/llvm-project}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij uh1hhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(h)https://llvm.org/docs/GettingStarted.htmlh]h)}(hj h]h)}(hj h]h)https://llvm.org/docs/GettingStarted.html}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij uh1hhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(h https://llvm.org/docs/CMake.htmlh]h)}(hj h]h)}(hj h]h https://llvm.org/docs/CMake.html}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij uh1hhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(hhttps://apt.llvm.org/h]h)}(hjh]h)}(hjh]hhttps://apt.llvm.org/}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(h5https://www.archlinux.org/packages/extra/x86_64/llvm/h]h)}(hj"h]h)}(hj"h]h5https://www.archlinux.org/packages/extra/x86_64/llvm/}(hj'hhhNhNubah}(h]h ]h"]h$]h&]refurij"uh1hhj$ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(h+https://github.com/ClangBuiltLinux/tc-buildh]h)}(hjCh]h)}(hjCh]h+https://github.com/ClangBuiltLinux/tc-build}(hjHhhhNhNubah}(h]h ]h"]h$]h&]refurijCuh1hhjEubah}(h]h ]h"]h$]h&]uh1hhhhKhjAubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(hHhttps://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-sourceh]h)}(hjdh]h)}(hjdh]hHhttps://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source}(hjihhhNhNubah}(h]h ]h"]h$]h&]refurijduh1hhjfubah}(h]h ]h"]h$]h&]uh1hhhhKhjbubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubj )}(hIhttps://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/h]h)}(hjh]h)}(hjh]hIhttps://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjx hhhhhNubeh}(h]h ]h"]h$]h&]j j uh1j hhhKhj) hhubeh}(h](j id1eh ]h"]( getting llvm getting_llvmeh$]h&]uh1hhhhhhhhKόexpect_referenced_by_name}jj sexpect_referenced_by_id}j j subeh}(h](building-linux-with-clang-llvmheh ]h"](building linux with clang/llvm kbuild_llvmeh$]h&]uh1hhhhhhhhKj}jhsj}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}(kbuild_build_timestamp]j/areproducible_builds]jEaurefids}(h]haj ]j aunameids}(jhjjjjj jj.j+jPjMjrjojjjjjjj^j[j/j,j^j[jjjjjwjtjjjm jj j& j# j j j j j! j jQ jN j j j j j j jj jjj\ jY u nametypes}(jjjj j.jPjrjjjj^j/j^jjjwjjm j& j j j! jQ j j j jjj\ uh}(hhjhjhjjj+j%jMjGjojijjjjjjj[jj,jaj[j2jjajjjtjnjjzjj jj# jp j j j j j j jN jH j j j j j j j j) jj) jY jS u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jKsRparse_messages]transform_messages](hsystem_message)}(hhh]h)}(hhh]h1Hyperlink target "kbuild-llvm" is not referenced.}hjSsbah}(h]h ]h"]h$]h&]uh1hhjPubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1jNubjO)}(hhh]h)}(hhh]h2Hyperlink target "getting-llvm" is not referenced.}hjnsbah}(h]h ]h"]h$]h&]uh1hhjkubah}(h]h ]h"]h$]h&]levelKtypejhsourcehlineKuh1jNube transformerN include_log] decorationNhhub.