Home
last modified time | relevance | path

Searched refs:clang (Results 1 – 25 of 103) sorted by relevance

12345

/linux-6.15/Documentation/translations/it_IT/dev-tools/
H A Dclang-format.rst3 :Original: :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
8 clang-format
14 ``clang-format`` può essere usato per diversi fini:
47 https://clang.llvm.org/docs/ClangFormat.html
49 https://clang.llvm.org/docs/ClangFormatStyleOptions.html
64 clang-format -i kernel/*.[ch]
70 le nuove funzionalità/versioni di ``clang-format``.
82 // clang-format off
84 // clang-format on
114 https://clang.llvm.org/docs/ClangFormat.html
[all …]
/linux-6.15/Documentation/dev-tools/
H A Dclang-format.rst3 clang-format
6 ``clang-format`` is a tool to format C/C++/... code according to
10 ``clang-format`` can be used for several purposes:
28 another ``.clang-format`` file in a subfolder.
33 LLVM/clang binaries or build the source code from:
39 https://clang.llvm.org/docs/ClangFormat.html
55 clang-format -i kernel/*.[ch]
61 ``clang-format`` features/versions.
71 // clang-format off
73 // clang-format on
[all …]
/linux-6.15/Documentation/translations/zh_CN/kbuild/
H A Dllvm.rst18 `Clang <https://clang.llvm.org/>`_ 和 `LLVM <https://llvm.org/>`_ 工具可
46 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \
48 HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld
56 这将使用 ``/path/to/llvm/clang``、``/path/to/llvm/ld.lld`` 等工具。也可以
66 这将使用 ``clang-14``、``ld.lld-14`` 等工具。为了支持带有版本后缀的树外路径组合,
115 ``ccache`` 可以与 ``clang`` 一起使用,以改善后续构建(尽管在不同构建之间
119 KBUILD_BUILD_TIMESTAMP='' make LLVM=1 CC="ccache clang"
128 该架构下内核可以正常构建或工作。以下是当前 ``CC=clang`` 或 ``LLVM=1`` 支持的架构总结。
164 - ``LLVM=1`` (LLVM >= 18.1.0),``CC=clang`` (LLVM < 18.1.0)
177 - `旧邮件列表档案 <https://groups.google.com/g/clang-built-linux>`_
[all …]
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dbpf_compiler.h8 #define __pragma_loop_unroll DO_PRAGMA_(clang loop unroll(enable))
16 #define __pragma_loop_unroll_count(N) DO_PRAGMA_(clang loop unroll_count(N))
22 #define __pragma_loop_unroll_full DO_PRAGMA_(clang loop unroll(full))
28 #define __pragma_loop_no_unroll DO_PRAGMA_(clang loop unroll(disable))
/linux-6.15/Documentation/kbuild/
H A Dllvm.rst15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be
45 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \
47 HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld
56 which will use ``/path/to/llvm/clang``, ``/path/to/llvm/ld.lld``, etc. The
67 which will use ``clang-14``, ``ld.lld-14``, etc.
127 ``ccache`` can be used with ``clang`` to improve subsequent builds, (though
131 KBUILD_BUILD_TIMESTAMP='' make LLVM=1 CC="ccache clang"
142 architectures that currently work with ``CC=clang`` or ``LLVM=1``. Level
181 - ``LLVM=1`` (LLVM >= 18.1.0), ``CC=clang`` (LLVM < 18.1.0)
184 - ``CC=clang LLVM_IAS=0`` (LLVM >= 20)
[all …]
/linux-6.15/include/linux/
H A Dunroll.h42 __pick_unrolled(clang loop unroll(enable), /* nothing */)
46 __pick_unrolled(clang loop unroll_count(n), GCC unroll n)
50 __pick_unrolled(clang loop unroll(full), GCC unroll 65534)
54 __pick_unrolled(clang loop unroll(disable), GCC unroll 1)
/linux-6.15/tools/tracing/rtla/
H A DMakefile.config75 $(call feature_check,clang-bpf-co-re)
76 ifeq ($(feature-clang-bpf-co-re), 1)
79 $(info clang is missing or does not support BPF CO-RE, building without BPF skeleton support.)
80 $(info Please install clang)
H A DMakefile37 FEATURE_TESTS += clang-bpf-co-re
43 FEATURE_DISPLAY += clang-bpf-co-re
/linux-6.15/tools/lib/
H A Dstring.c100 #pragma clang diagnostic push
101 #pragma clang diagnostic ignored "-Wignored-attributes"
115 #pragma clang diagnostic pop
/linux-6.15/Documentation/translations/zh_TW/process/
H A Dprogramming-language.rst19 對於一些體系結構,有一些使用 :ref:`clang <tw_clang>` 和 :ref:`icc <tw_icc>` 編譯內核
48 clang
49 https://clang.llvm.org
H A D4.Coding.rst57 注意您還可以使用 ``clang-format`` 工具來幫助您處理這些規則,快速自動重新格式
60 信息,請參閱文檔 :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
/linux-6.15/tools/scripts/
H A DMakefile.include61 $(call allow-override,CC,$(LLVM_PREFIX)clang$(LLVM_SUFFIX))
64 $(call allow-override,CXX,$(LLVM_PREFIX)clang++$(LLVM_SUFFIX))
79 HOSTCC ?= $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
88 CLANG ?= clang
/linux-6.15/Documentation/translations/sp_SP/process/
H A Dprogramming-language.rst14 ``clang`` [sp-clang]_ también es compatible, consulte los documentos en
48 .. [sp-clang] https://clang.llvm.org
/linux-6.15/samples/bpf/
H A DREADME.rst17 * clang
79 Quick sniplet for manually compiling LLVM and clang
86 -DLLVM_ENABLE_PROJECTS="clang" \
92 'clang' command via redefining LLC or CLANG on the make command line::
94 …samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/bin/clang
H A Dmap_perf_test.bpf.c232 #pragma clang loop unroll(full) in BPF_KSYSCALL()
263 #pragma clang loop unroll(full) in BPF_KSYSCALL()
276 #pragma clang loop unroll(full) in BPF_KSYSCALL()
289 #pragma clang loop unroll(full) in BPF_KSYSCALL()
/linux-6.15/Documentation/process/
H A Dprogramming-language.rst9 ``clang`` [clang]_ is also supported, see docs on
50 .. [clang] https://clang.llvm.org citation in Rust
/linux-6.15/Documentation/translations/it_IT/process/
H A Dprogramming-language.rst15 Linux supporta anche ``clang`` [it-clang]_, leggete la documentazione
60 .. [it-clang] https://clang.llvm.org
/linux-6.15/Documentation/translations/zh_CN/rust/
H A Dquick-start.rst107 ``libclang`` 与应该使用的 ``libclang`` 不同),则可以使用 ``clang-sys``
115 * 或者 ``CLANG_PATH`` 可以指向 ``clang`` 可执行文件。
117 详情请参阅 ``clang-sys`` 的文档:
/linux-6.15/Documentation/translations/zh_CN/process/
H A D4.Coding.rst54 注意您还可以使用 ``clang-format`` 工具来帮助您处理这些规则,快速自动重新格式
57 信息,请参阅文档 :ref:`Documentation/dev-tools/clang-format.rst <clangformat>`
H A Dprogramming-language.rst11 ``clang`` [zh_cn_clang]_ 也得到了支持,详见文档:
45 .. [zh_cn_clang] https://clang.llvm.org
/linux-6.15/kernel/bpf/preload/iterators/
H A Diterators.bpf.c7 #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
57 #pragma clang attribute pop
/linux-6.15/tools/sched_ext/
H A DREADME.md29 1. clang >= 16.0.0
31 The schedulers are BPF programs, and therefore must be compiled with clang. gcc
215 ### Old version of clang
218 …UILTIN': bpftool generated vmlinux.h is missing high bits for 64bit enums, upgrade clang and pahole
225 clang than what's supported (i.e. older than 16.0.0). To remediate this:
227 1. `which clang` to make sure you're using a sufficiently new version of clang.
264 ... clang-bpf-co-re: [ on ]
/linux-6.15/tools/testing/selftests/bpf/
H A DREADME.rst64 - clang (preferably built from sources, https://github.com/llvm/llvm-project);
84 .. note:: The script uses pahole and clang based on host environment setting.
123 profiler[23] test failures with clang/llvm <12.0.0
126 With clang/llvm <12.0.0, the profiler[23] test may fail.
162 bpf_iter test failures with clang/llvm 10.0.0
165 With clang/llvm 10.0.0, the following two bpf_iter tests failed:
312 Clang 13 patch `clang reloc patch`_ made some changes on relocations such
316 Using clang 13 to compile old libbpf which has static linker support,
/linux-6.15/
H A DMakefile452 HOSTCC = $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
453 HOSTCXX = $(LLVM_PREFIX)clang++$(LLVM_SUFFIX)
501 CC = $(LLVM_PREFIX)clang$(LLVM_SUFFIX)
705 ifneq ($(findstring clang,$(CC_VERSION_TEXT)),)
706 include $(srctree)/scripts/Makefile.clang
763 ifneq ($(filter all modules nsdeps compile_commands.json clang-%,$(MAKECMDGOALS)),)
2066 compile_commands.json: $(srctree)/scripts/clang-tools/gen_compile_commands.py \
2073 PHONY += clang-tidy clang-analyzer
2077 cmd_clang_tools = $(PYTHON3) $(srctree)/scripts/clang-tools/run-clang-tools.py $@ $<
2079 clang-tidy clang-analyzer: compile_commands.json
[all …]
H A D.clang-format3 # clang-format configuration file. Intended for clang-format >= 11.
7 # Documentation/dev-tools/clang-format.rst
8 # https://clang.llvm.org/docs/ClangFormat.html
9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html

12345