Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/
A DREADME.rst156 Clang 13.
160 BPF CO-RE-based tests and Clang version
164 bleeding-edge Clang versions (Clang 12 nightly at this time).
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
204 btf_tag test and Clang version
208 It was introduced in `Clang 14`__.
223 Clang that contains the fix.
[all …]
/linux/tools/perf/util/c++/
A Dclang.cpp73 CompilerInstance Clang; in getModuleFromSource() local
74 Clang.createDiagnostics(); in getModuleFromSource()
77 Clang.setVirtualFileSystem(&*VFS); in getModuleFromSource()
79 Clang.createFileManager(&*VFS); in getModuleFromSource()
85 Clang.getDiagnostics()); in getModuleFromSource()
86 Clang.setInvocation(&*CI); in getModuleFromSource()
90 Clang.getDiagnostics())); in getModuleFromSource()
91 Clang.setInvocation(CI); in getModuleFromSource()
95 if (!Clang.ExecuteAction(*Act)) in getModuleFromSource()
/linux/Documentation/kbuild/
A 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 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
A 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).
A Dkbuild.rst268 If this variable is set to 1, Kbuild will use Clang and LLVM utilities instead
/linux/scripts/
A Dcc-version.sh14 Clang __clang_major__ __clang_minor__ __clang_patchlevel__
46 Clang)
/linux/Documentation/translations/zh_CN/dev-tools/
A Dkasan.rst29 通用KASAN在GCC和Clang受支持。GCC需要8.3.0或更高版本。任何受支持的Clang
30 版本都是兼容的,但从Clang 11才开始支持检测全局变量的越界访问。
32 基于软件标签的KASAN模式仅在Clang中受支持。
35 版本。GCC 10+和Clang 11+支持此模式。
A Dgcov.rst170 如果编译器是GCC,使用 gcov_ 来处理.gcno和.gcda文件,如果是Clang编译器,
176 GCC和Clang gcov之间的版本差异由Kconfig处理的。
/linux/arch/
A DKconfig607 bool "Clang Shadow Call Stack"
611 This option enables Clang's Shadow Call Stack, which uses a
614 Clang's documentation:
639 - compiling with Clang,
640 - compiling inline assembly with Clang's integrated assembler,
679 bool "Clang Full LTO (EXPERIMENTAL)"
698 bool "Clang ThinLTO (EXPERIMENTAL)"
705 from Clang's documentation:
719 bool "Use Clang's Control Flow Integrity (CFI)"
721 # Clang >= 12:
[all …]
/linux/lib/
A DKconfig.kasan75 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.
A DKconfig.ubsan62 This is a weird case: Clang's -fsanitize=bounds includes
64 Clang, we must use -fsanitize=array-bounds when we want
A DKconfig.kcsan50 supported by Clang 12 or later.
/linux/Documentation/x86/x86_64/
A 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/Documentation/process/
A Dchanges.rst33 Clang/LLVM (optional) 10.0.1 clang --version
72 Clang/LLVM (optional)
79 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
354 Clang/LLVM
A Dprogramming-language.rst10 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
/linux/Documentation/translations/it_IT/process/
A 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
A Dprogramming-language.rst16 :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
/linux/Documentation/
A DChanges33 Clang/LLVM (optional) 10.0.1 clang --version
72 Clang/LLVM (optional)
79 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
354 Clang/LLVM
/linux/Documentation/bpf/
A Ds390.rst19 * Clang with BPF support
62 Latest Clang targeting BPF can be installed as follows::
/linux/
A D.gitignore159 # Clang's compilation database file
/linux/security/
A 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
/linux/Documentation/dev-tools/
A Dkasan.rst25 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+.
A 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
A 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.
/linux/Documentation/admin-guide/hw-vuln/
A Dspectre.rst451 If the kernel is compiled with a Clang compiler, the compiler needs

Completed in 33 milliseconds

12