Home
last modified time | relevance | path

Searched refs:Clang (Results 1 – 25 of 29) sorted by relevance

12

/linux-5.19.10/tools/perf/util/c++/
Dclang.cpp77 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-5.19.10/tools/testing/selftests/bpf/
DREADME.rst129 bpf_verif_scale/loop6.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-5.19.10/Documentation/kbuild/
Dllvm.rst4 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
Dgcc-plugins.rst39 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).
Dkbuild.rst279 If this variable is set to 1, Kbuild will use Clang and LLVM utilities instead
/linux-5.19.10/scripts/
Dcc-version.sh14 Clang __clang_major__ __clang_minor__ __clang_patchlevel__
46 Clang)
/linux-5.19.10/Documentation/translations/zh_CN/dev-tools/
Dkasan.rst29 通用KASAN在GCC和Clang受支持。GCC需要8.3.0或更高版本。任何受支持的Clang
30 版本都是兼容的,但从Clang 11才开始支持检测全局变量的越界访问。
32 基于软件标签的KASAN模式仅在Clang中受支持。
35 版本。GCC 10+和Clang 11+支持此模式。
Dgcov.rst170 如果编译器是GCC,使用 gcov_ 来处理.gcno和.gcda文件,如果是Clang编译器,
176 GCC和Clang gcov之间的版本差异由Kconfig处理的。
/linux-5.19.10/lib/
DKconfig.kasan77 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
DKconfig.ubsan51 This is a weird case: Clang's -fsanitize=bounds includes
53 Clang, we must use -fsanitize=array-bounds when we want
DKconfig.kcsan39 supported by Clang 12 or later.
/linux-5.19.10/Documentation/x86/x86_64/
Dfsgs.rst38 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-5.19.10/arch/
DKconfig640 - Clang: https://clang.llvm.org/docs/ShadowCallStack.html
658 Selected if the kernel will be built using Clang's LTO feature.
664 - compiling with Clang,
665 - compiling inline assembly with Clang's integrated assembler,
671 An architecture should select this option if it can support Clang's
684 The compiler and Kconfig options support building with Clang's
703 bool "Clang Full LTO (EXPERIMENTAL)"
708 This option enables Clang's full Link Time Optimization (LTO), which
722 bool "Clang ThinLTO (EXPERIMENTAL)"
726 This option enables Clang's ThinLTO, which allows for parallel
[all …]
/linux-5.19.10/security/
DKconfig.hardening28 # the Makefile, depending on the presence of Clang.
119 pattern is situation-specific; Clang on 64-bit uses 0xAA
121 which use 0xFF repeating (-NaN). Clang on 32-bit uses 0xFF
310 One difference between the Clang and GCC plugin
313 introducing sometimes significant padding. Clang tries
/linux-5.19.10/Documentation/translations/it_IT/process/
Dchanges.rst36 Clang/LLVM (optional) 10.0.1 clang --version
74 Clang/LLVM (opzionale)
82 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
351 Clang/LLVM
Dprogramming-language.rst16 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
/linux-5.19.10/
D.gitignore160 # Clang's compilation database file
/linux-5.19.10/Documentation/bpf/
Ds390.rst19 * Clang with BPF support
62 Latest Clang targeting BPF can be installed as follows::
Dinstruction-set.rst312 Clang can generate atomic instructions by default when ``-mcpu=v3`` is
314 Clang can generate is ``BPF_ADD`` *without* ``BPF_FETCH``. If you need to enable
/linux-5.19.10/Documentation/process/
Dchanges.rst33 Clang/LLVM (optional) 11.0.0 clang --version
74 Clang/LLVM (optional)
81 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
362 Clang/LLVM
Dprogramming-language.rst10 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
/linux-5.19.10/Documentation/
DChanges33 Clang/LLVM (optional) 11.0.0 clang --version
74 Clang/LLVM (optional)
81 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
362 Clang/LLVM
/linux-5.19.10/Documentation/dev-tools/
Dgcov.rst176 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
Dkasan.rst57 or any Clang version supported by the kernel.
60 or any Clang version supported by the kernel.
62 Hardware Tag-Based KASAN requires GCC 10+ or Clang 12+.
Dkcsan.rst14 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.

12