Searched refs:Clang (Results 1 – 25 of 34) sorted by relevance
12
/linux-6.1.9/Documentation/bpf/ |
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
|
D | s390.rst | 19 * Clang with BPF support 62 Latest Clang targeting BPF can be installed as follows::
|
/linux-6.1.9/tools/perf/util/c++/ |
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.1.9/tools/testing/selftests/bpf/ |
D | README.rst | 129 bpf_verif_scale/loop6.bpf.o test failure with Clang 12 132 With Clang 12, the following bpf_verif_scale test failed: 164 Clang 13. 168 BPF CO-RE-based tests and Clang version 172 bleeding-edge Clang versions (Clang 12 nightly at this time). 175 the following built-ins, listed with corresponding Clang diffs introducing 176 them to Clang/LLVM. These sub-tests are going to be skipped if Clang is too 189 Floating-point tests and Clang version 193 types, which was introduced in `Clang 13`__. The older Clang versions will 198 Kernel function call test and Clang version [all …]
|
/linux-6.1.9/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 chapter 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 178 - https://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source
|
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.1.9/lib/ |
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.
|
D | Kconfig.kasan | 77 Requires GCC 8.3.0+ or Clang. 94 Requires GCC 11+ or Clang. 113 Requires GCC 10+ or Clang 12+. 156 With Clang, stack instrumentation has a problem that causes excessive 158 with Clang, this option is deemed unsafe. 160 This option is always disabled when compile-testing with Clang to
|
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.1.9/scripts/ |
D | cc-version.sh | 14 Clang __clang_major__ __clang_minor__ __clang_patchlevel__ 46 Clang)
|
D | rust_is_available.sh | 130 if [ "$cc_name" = Clang ]; then
|
/linux-6.1.9/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-6.1.9/Documentation/rust/ |
D | arch-support.rst | 8 support for building the kernel with LLVM/Clang varies (please see
|
/linux-6.1.9/Documentation/translations/zh_CN/dev-tools/ |
D | gcov.rst | 170 如果编译器是GCC,使用 gcov_ 来处理.gcno和.gcda文件,如果是Clang编译器, 176 GCC和Clang gcov之间的版本差异由Kconfig处理的。
|
D | kasan.rst | 55 通用KASAN需要GCC 8.3.0版本或更高版本,或者内核支持的任何Clang版本。 57 基于软件标签的KASAN需要GCC 11+或者内核支持的任何Clang版本。 59 基于硬件标签的KASAN需要GCC 10+或Clang 12+。
|
/linux-6.1.9/arch/ |
D | Kconfig | 645 - Clang: https://clang.llvm.org/docs/ShadowCallStack.html 663 Selected if the kernel will be built using Clang's LTO feature. 669 - compiling with Clang, 670 - compiling inline assembly with Clang's integrated assembler, 676 An architecture should select this option if it can support Clang's 689 The compiler and Kconfig options support building with Clang's 708 bool "Clang Full LTO (EXPERIMENTAL)" 713 This option enables Clang's full Link Time Optimization (LTO), which 727 bool "Clang ThinLTO (EXPERIMENTAL)" 731 This option enables Clang's ThinLTO, which allows for parallel [all …]
|
/linux-6.1.9/Documentation/dev-tools/ |
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.1.9/security/ |
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 323 One difference between the Clang and GCC plugin 326 introducing sometimes significant padding. Clang tries
|
/linux-6.1.9/ |
D | .gitignore | 163 # Clang's compilation database file
|
/linux-6.1.9/drivers/gpu/drm/amd/display/ |
D | Kconfig | 17 architectures built with Clang (all released versions), whereby the stack
|
/linux-6.1.9/Documentation/translations/it_IT/process/ |
D | changes.rst | 36 Clang/LLVM (optional) 11.0.0 clang --version 76 Clang/LLVM (opzionale) 84 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. 363 Clang/LLVM
|
D | programming-language.rst | 16 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
|
/linux-6.1.9/Documentation/process/ |
D | programming-language.rst | 10 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
|
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.1.9/Documentation/ |
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
|
12