Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/util/c++/
Dclang.cpp71 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.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 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
89 - https://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source
Dkbuild.rst268 If this variable is set to 1, Kbuild will use Clang and LLVM utilities instead
/Linux-v5.10/tools/testing/selftests/bpf/
DREADME.rst85 BPF CO-RE-based tests and Clang version
89 bleeding-edge Clang versions (Clang 12 nightly at this time).
92 the following built-ins, listed with corresponding Clang diffs introducing
93 them to Clang/LLVM. These sub-tests are going to be skipped if Clang is too
/Linux-v5.10/lib/
DKconfig.kasan56 This mode is supported in both GCC and Clang. With GCC it requires
57 version 8.3.0 or later. Any supported Clang version is compatible,
59 supported only since Clang 11.
81 is only supported for arm64. This mode requires Clang.
DKconfig.debug234 Compress the debug information using zlib. Requires GCC 5.0+ or Clang
/Linux-v5.10/include/linux/
Dcompiler-clang.h12 # error Sorry, your version of Clang is too old - please use 10.0.1 or newer.
/Linux-v5.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-v5.10/
D.gitignore153 # Clang's compilation database file
/Linux-v5.10/Documentation/process/
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>`.
344 Clang/LLVM
Dprogramming-language.rst10 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
/Linux-v5.10/Documentation/
DChanges33 Clang/LLVM (optional) 10.0.1 clang --version
72 Clang/LLVM (optional)
79 docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
344 Clang/LLVM
/Linux-v5.10/Documentation/bpf/
Ds390.rst19 * Clang with BPF support
62 Latest Clang targeting BPF can be installed as follows::
/Linux-v5.10/Documentation/dev-tools/
Dkasan.rst15 Generic KASAN is supported in both GCC and Clang. With GCC it requires version
16 8.3.0 or later. Any supported Clang version is compatible, but detection of
17 out-of-bounds accesses for global variables is only supported since Clang 11.
19 Tag-based KASAN is only supported in Clang.
Dgcov.rst172 GCC-generated .gcno and .gcda files, and use llvm-cov_ for Clang.
177 Build differences between GCC and Clang gcov are handled by Kconfig. It
Dkcsan.rst11 KCSAN is supported by both GCC and Clang. With GCC we require version 11 or
12 later, and with Clang also require version 11 or later.
/Linux-v5.10/arch/
DKconfig579 An architecture should select this if it supports Clang's Shadow
584 bool "Clang Shadow Call Stack"
588 This option enables Clang's Shadow Call Stack, which uses a
591 Clang's documentation:
/Linux-v5.10/Documentation/admin-guide/hw-vuln/
Dspectre.rst451 If the kernel is compiled with a Clang compiler, the compiler needs