/linux-6.3-rc2/Documentation/bpf/ |
A D | clang-notes.rst | 5 Clang implementation notes 8 This document provides more details specific to the Clang/LLVM implementation of the eBPF instructi… 13 Clang defined "CPU" versions, where a CPU version of 3 corresponds to the current eBPF ISA. 15 Clang can select the eBPF ISA version using ``-mcpu=v3`` for example to select version 3. 20 For CPU versions prior to 3, Clang v7.0 and later can enable ``BPF_ALU`` support with 26 Clang can generate atomic instructions by default when ``-mcpu=v3`` is 28 Clang can generate is ``BPF_ADD`` *without* ``BPF_FETCH``. If you need to enable
|
A D | s390.rst | 19 * Clang with BPF support 62 Latest Clang targeting BPF can be installed as follows::
|
/linux-6.3-rc2/tools/perf/util/c++/ |
A D | clang.cpp | 77 CompilerInstance Clang; in getModuleFromSource() local 78 Clang.createDiagnostics(); in getModuleFromSource() 81 Clang.setVirtualFileSystem(&*VFS); in getModuleFromSource() 83 Clang.createFileManager(&*VFS); in getModuleFromSource() 89 Clang.getDiagnostics()); in getModuleFromSource() 90 Clang.setInvocation(&*CI); in getModuleFromSource() 94 Clang.getDiagnostics())); in getModuleFromSource() 95 Clang.setInvocation(CI); in getModuleFromSource() 99 if (!Clang.ExecuteAction(*Act)) in getModuleFromSource()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | README.rst | 205 Clang 13. 209 BPF CO-RE-based tests and Clang version 213 bleeding-edge Clang versions (Clang 12 nightly at this time). 217 them to Clang/LLVM. These sub-tests are going to be skipped if Clang is too 230 Floating-point tests and Clang version 234 types, which was introduced in `Clang 13`__. The older Clang versions will 239 Kernel function call test and Clang version 253 btf_tag test and Clang version 270 Clang dependencies for static linking tests 275 Clang that contains the fix. [all …]
|
/linux-6.3-rc2/Documentation/kbuild/ |
A 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 20 <https://chimera-linux.org/>`_ use Clang built kernels. Google's and Meta's 21 datacenter fleets also run kernels built with Clang. 24 objects <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM 28 Clang section in Building Linux with Clang/LLVM 41 A single Clang compiler binary will typically contain all supported backends, 46 ``CROSS_COMPILE`` is not used to prefix the Clang compiler binary, instead 181 - https://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source
|
A D | gcc-plugins.rst | 39 compiler features that are neither in GCC nor Clang upstream. Once 41 (and Clang), and then to finally remove them from the kernel once the 45 upstream compiler support (in either GCC or Clang). 47 When a feature exists in Clang but not GCC, effort should be made to 52 in Clang, but the feature is proven to be useful, effort should be spent 53 to upstream the feature to GCC (and Clang).
|
/linux-6.3-rc2/lib/ |
A D | Kconfig.kmsan | 6 # Clang versions <14.0.0 also support -fsanitize=kernel-memory, but not 21 instrumentation provided by Clang and thus requires Clang to build. 32 # -fsanitize-memory-param-retval is supported only by Clang >= 14.
|
A D | Kconfig.kasan | 86 Requires GCC 8.3.0+ or Clang. 103 Requires GCC 11+ or Clang. 122 Requires GCC 10+ or Clang 12+. 165 With Clang, stack instrumentation has a problem that causes excessive 167 with Clang, this option is deemed unsafe. 169 This option is always disabled when compile-testing with Clang to
|
A D | Kconfig.ubsan | 51 This is a weird case: Clang's -fsanitize=bounds includes 53 Clang, we must use -fsanitize=array-bounds when we want
|
/linux-6.3-rc2/scripts/ |
A D | cc-version.sh | 14 Clang __clang_major__ __clang_minor__ __clang_patchlevel__ 44 Clang)
|
A D | rust_is_available.sh | 130 if [ "$cc_name" = Clang ]; then
|
/linux-6.3-rc2/Documentation/translations/zh_CN/rust/ |
A D | arch-support.rst | 14 使用LLVM/Clang构建内核的支持也有所不同(请参见 Documentation/kbuild/llvm.rst )。这
|
/linux-6.3-rc2/Documentation/x86/x86_64/ |
A 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-6.3-rc2/security/ |
A D | Kconfig.hardening | 29 # Clang 16 and later warn about using the -enable flag, but it 126 pattern is situation-specific; Clang on 64-bit uses 0xAA 128 which use 0xFF repeating (-NaN). Clang on 32-bit uses 0xFF 284 # Randstruct was first added in Clang 15, but it isn't safe to use until 285 # Clang 16 due to https://github.com/llvm/llvm-project/issues/60349 326 One difference between the Clang and GCC plugin 329 introducing sometimes significant padding. Clang tries
|
/linux-6.3-rc2/Documentation/rust/ |
A D | arch-support.rst | 8 support for building the kernel with LLVM/Clang varies (please see
|
/linux-6.3-rc2/Documentation/translations/zh_CN/dev-tools/ |
A D | gcov.rst | 170 如果编译器是GCC,使用 gcov_ 来处理.gcno和.gcda文件,如果是Clang编译器, 176 GCC和Clang gcov之间的版本差异由Kconfig处理的。
|
A D | kasan.rst | 55 通用KASAN需要GCC 8.3.0版本或更高版本,或者内核支持的任何Clang版本。 57 基于软件标签的KASAN需要GCC 11+或者内核支持的任何Clang版本。 59 基于硬件标签的KASAN需要GCC 10+或Clang 12+。
|
/linux-6.3-rc2/Documentation/dev-tools/ |
A D | kmsan.rst | 21 In order to build a kernel with KMSAN you will need a fresh Clang (14.0.6+). 22 Please refer to `LLVM documentation`_ for the instructions on how to build Clang. 116 In order for KMSAN to work the kernel must be built with Clang, which so far is 220 Clang instrumentation API 223 Clang instrumentation pass inserts calls to functions defined in 282 Clang's MemorySanitizer instrumentation has an option,
|
/linux-6.3-rc2/arch/ |
A D | Kconfig | 648 - Clang: https://clang.llvm.org/docs/ShadowCallStack.html 673 Selected if the kernel will be built using Clang's LTO feature. 679 - compiling with Clang, 680 - compiling inline assembly with Clang's integrated assembler, 699 The compiler and Kconfig options support building with Clang's 718 bool "Clang Full LTO (EXPERIMENTAL)" 737 bool "Clang ThinLTO (EXPERIMENTAL)" 741 This option enables Clang's ThinLTO, which allows for parallel 744 from Clang's documentation: 761 bool "Use Clang's Control Flow Integrity (CFI)" [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/ |
A D | Kconfig | 18 architectures built with Clang (all released versions), whereby the stack
|
/linux-6.3-rc2/ |
A D | .gitignore | 167 # Clang's compilation database file
|
/linux-6.3-rc2/Documentation/translations/it_IT/process/ |
A D | changes.rst | 36 Clang/LLVM (optional) 11.0.0 clang --version 77 Clang/LLVM (opzionale) 85 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. 369 Clang/LLVM
|
/linux-6.3-rc2/Documentation/process/ |
A D | programming-language.rst | 10 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
|
A D | changes.rst | 33 Clang/LLVM (optional) 11.0.0 clang --version 76 Clang/LLVM (optional) 83 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. 393 Clang/LLVM
|
/linux-6.3-rc2/Documentation/ |
A D | Changes | 33 Clang/LLVM (optional) 11.0.0 clang --version 76 Clang/LLVM (optional) 83 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. 393 Clang/LLVM
|