| /Linux-v5.15/tools/perf/util/c++/ |
| D | clang.cpp | 71 CompilerInstance Clang; in getModuleFromSource() local 72 Clang.createDiagnostics(); in getModuleFromSource() 75 Clang.setVirtualFileSystem(&*VFS); in getModuleFromSource() 77 Clang.createFileManager(&*VFS); in getModuleFromSource() 83 Clang.getDiagnostics()); in getModuleFromSource() 84 Clang.setInvocation(&*CI); in getModuleFromSource() 88 Clang.getDiagnostics())); in getModuleFromSource() 89 Clang.setInvocation(CI); in getModuleFromSource() 93 if (!Clang.ExecuteAction(*Act)) in getModuleFromSource()
|
| /Linux-v5.15/tools/testing/selftests/bpf/ |
| D | README.rst | 121 bpf_verif_scale/loop6.o test failure with Clang 12 124 With Clang 12, the following bpf_verif_scale test failed: 156 Clang 13. 160 BPF CO-RE-based tests and Clang version 164 bleeding-edge Clang versions (Clang 12 nightly at this time). 167 the following built-ins, listed with corresponding Clang diffs introducing 168 them to Clang/LLVM. These sub-tests are going to be skipped if Clang is too 181 Floating-point tests and Clang version 185 types, which was introduced in `Clang 13`__. The older Clang versions will 190 Kernel function call test and Clang version [all …]
|
| /Linux-v5.15/Documentation/kbuild/ |
| D | llvm.rst | 4 Building Linux with Clang/LLVM 7 This document covers how to build the Linux kernel with Clang and LLVM 14 such as GCC and binutils. Ongoing work has allowed for `Clang 19 <https://www.openmandriva.org/>`_ use Clang built kernels. `LLVM is a 21 <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM that 25 Clang section in Building Linux with Clang/LLVM 38 A single Clang compiler binary will typically contain all supported backends, 43 ``CROSS_COMPILE`` is not used to prefix the Clang compiler binary, instead 153 - https://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source
|
| D | kbuild.rst | 268 If this variable is set to 1, Kbuild will use Clang and LLVM utilities instead
|
| /Linux-v5.15/scripts/ |
| D | cc-version.sh | 14 Clang __clang_major__ __clang_minor__ __clang_patchlevel__ 46 Clang)
|
| /Linux-v5.15/Documentation/translations/zh_CN/dev-tools/ |
| D | kasan.rst | 29 通用KASAN在GCC和Clang受支持。GCC需要8.3.0或更高版本。任何受支持的Clang 30 版本都是兼容的,但从Clang 11才开始支持检测全局变量的越界访问。 32 基于软件标签的KASAN模式仅在Clang中受支持。 35 版本。GCC 10+和Clang 11+支持此模式。
|
| D | gcov.rst | 170 如果编译器是GCC,使用 gcov_ 来处理.gcno和.gcda文件,如果是Clang编译器, 176 GCC和Clang gcov之间的版本差异由Kconfig处理的。
|
| /Linux-v5.15/arch/ |
| D | Kconfig | 594 An architecture should select this if it supports Clang's Shadow 599 bool "Clang Shadow Call Stack" 603 This option enables Clang's Shadow Call Stack, which uses a 606 Clang's documentation: 625 Selected if the kernel will be built using Clang's LTO feature. 631 - compiling with Clang, 632 - compiling inline assembly with Clang's integrated assembler, 638 An architecture should select this option if it can support Clang's 643 # Clang >= 11: https://github.com/ClangBuiltLinux/linux/issues/510 652 The compiler and Kconfig options support building with Clang's [all …]
|
| /Linux-v5.15/lib/ |
| D | Kconfig.kasan | 75 This mode is supported in both GCC and Clang. With GCC it requires 76 version 8.3.0 or later. Any supported Clang version is compatible, 78 supported only since Clang 11. 100 Top Byte Ignore. This mode requires Clang.
|
| D | Kconfig.ubsan | 62 This is a weird case: Clang's -fsanitize=bounds includes 64 Clang, we must use -fsanitize=array-bounds when we want
|
| D | Kconfig.kcsan | 50 supported by Clang 12 or later.
|
| /Linux-v5.15/Documentation/x86/x86_64/ |
| D | fsgs.rst | 38 applications. GCC and Clang support GS based addressing via address space 129 instructions. Clang 5 supports them as well. 180 Clang does not provide the GCC address space identifiers, but it provides 181 address spaces via an attribute based mechanism in Clang 2.6 and newer
|
| /Linux-v5.15/Documentation/process/ |
| D | changes.rst | 33 Clang/LLVM (optional) 10.0.1 clang --version 71 Clang/LLVM (optional) 78 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. 343 Clang/LLVM
|
| D | programming-language.rst | 10 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
|
| /Linux-v5.15/Documentation/translations/it_IT/process/ |
| D | changes.rst | 36 Clang/LLVM (optional) 10.0.1 clang --version 74 Clang/LLVM (opzionale) 82 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. 351 Clang/LLVM
|
| D | programming-language.rst | 16 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
|
| /Linux-v5.15/Documentation/ |
| D | Changes | 33 Clang/LLVM (optional) 10.0.1 clang --version 71 Clang/LLVM (optional) 78 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. 343 Clang/LLVM
|
| /Linux-v5.15/ |
| D | .gitignore | 159 # Clang's compilation database file
|
| /Linux-v5.15/Documentation/bpf/ |
| D | s390.rst | 19 * Clang with BPF support 62 Latest Clang targeting BPF can be installed as follows::
|
| /Linux-v5.15/Documentation/dev-tools/ |
| D | kasan.rst | 25 Generic KASAN is supported in GCC and Clang. With GCC, it requires version 26 8.3.0 or later. Any supported Clang version is compatible, but detection of 27 out-of-bounds accesses for global variables is only supported since Clang 11. 29 Software tag-based KASAN mode is only supported in Clang. 33 This mode is supported in GCC 10+ and Clang 11+.
|
| D | gcov.rst | 176 GCC-generated .gcno and .gcda files, and use llvm-cov_ for Clang. 181 Build differences between GCC and Clang gcov are handled by Kconfig. It
|
| D | kcsan.rst | 14 KCSAN is supported by both GCC and Clang. With GCC we require version 11 or 15 later, and with Clang also require version 11 or later.
|
| /Linux-v5.15/security/ |
| D | Kconfig.hardening | 113 pattern is situation-specific; Clang on 64-bit uses 0xAA 115 which use 0xFF repeating (-NaN). Clang on 32-bit uses 0xFF
|
| /Linux-v5.15/Documentation/networking/ |
| D | filter.rst | 1093 Clang can generate atomic instructions by default when ``-mcpu=v3`` is 1095 Clang can generate is ``BPF_ADD`` *without* ``BPF_FETCH``. If you need to enable
|
| /Linux-v5.15/Documentation/admin-guide/hw-vuln/ |
| D | spectre.rst | 451 If the kernel is compiled with a Clang compiler, the compiler needs
|