Home
last modified time | relevance | path

Searched full:clang (Results 1 – 25 of 119) sorted by relevance

12345

/Zephyr-latest/cmake/toolchain/xt-clang/
Dgeneric.cmake5 set(COMPILER xt-clang)
6 set(CC clang)
7 set(C++ clang++)
10 # xt-clang uses GNU Assembler (xt-as) based on binutils.
11 # However, CMake doesn't recognize it when invoking through xt-clang.
13 # command line arguments while invoking xt-clang to determine
14 # assembler vendor. This multiple invocation of xt-clang unnecessarily
15 # lengthens the CMake phase of build, especially when xt-clang needs to
20 message(STATUS "Found toolchain: xt-clang (${XTENSA_TOOLCHAIN_PATH})")
/Zephyr-latest/cmake/compiler/clang/
Dcompiler_flags.cmake1 # First step is to inherit all properties from gcc, as clang is compatible with most flags.
4 # Now, let's overwrite the flags that are different in clang.
6 # No property flag, clang doesn't understand fortify at all
10 # No printf-return-value optimizations in clang
14 # But clang has problems compiling these with -fno-freestanding.
17 # clang flags for coverage generation
24 # clang flag for colourful diagnostic messages
27 # clang flag to save temporary object files
30 # clang doesn't handle the -T flag
37 # clang option standard warning base in Zephyr
[all …]
Dtarget.cmake3 # Configuration for host installed clang
18 find_program(CMAKE_C_COMPILER clang ${find_program_clang_args})
19 find_program(CMAKE_CXX_COMPILER clang++ ${find_program_clang_args})
33 include(${ZEPHYR_BASE}/cmake/compiler/clang/target_arm.cmake)
35 include(${ZEPHYR_BASE}/cmake/compiler/clang/target_arm64.cmake)
68 # C library sysroot was defined at built time of clang/LLVM.
73 # Other clang/LLVM distributions may come with other pre-built C libraries.
74 # clang/LLVM supports using an alternative C library, either by direct linking,
/Zephyr-latest/doc/develop/toolchains/
Dcadence_xcc.rst24 * Clang-based compiler: ``xt-clang`` and its friends.
31 * Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``xcc`` or ``xt-clang``.
60 export ZEPHYR_TOOLCHAIN_VARIANT=xt-clang
70 export ZEPHYR_TOOLCHAIN_VARIANT=xt-clang
75 #. To use Clang-based compiler:
77 * Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``xt-clang``.
79 * Note that the Clang-based compiler may contain an old LLVM bug which
86 clang-3.9: error: Xtensa-as command failed with exit code 1
/Zephyr-latest/cmake/toolchain/oneApi/
Dgeneric.cmake33 # icx compiler of oneApi will invoke clang-cl on windows,
35 # clang directly.
36 # and the clang from oneApi can't recognize those cross
38 # cmake functions to pass them to clang.
40 set(COMPILER clang)
48 message(STATUS "Found toolchain: host (clang/ld)")
/Zephyr-latest/cmake/modules/
DFindarmclang.cmake5 # Findarmclang module for locating arm clang compiler.
10 # True if the arm clang toolchain/compiler was found.
13 # The version of the arm clang toolchain.
18 # Parse the 'clang --version' output to find the installed version.
/Zephyr-latest/boards/intel/adsp/
Dtwister.yaml6 - xt-clang
17 - xt-clang
41 - xt-clang
/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dmsg_sub.c26 /* clang-format off */
30 /* clang-format on */
55 /* clang-format off */
57 /* clang-format on */
Dsub.c26 /* clang-format off */
30 /* clang-format on */
69 /* clang-format off */
71 /* clang-format on */
/Zephyr-latest/tests/net/lib/lwm2m/observation/src/
Dlwm2m_observation.c259 /* clang-format off */ in ZTEST()
302 /* clang-format on */ in ZTEST()
309 /* clang-format off */ in ZTEST()
323 /* clang-format on */ in ZTEST()
330 /* clang-format off */ in ZTEST()
344 /* clang-format on */ in ZTEST()
351 /* clang-format off */ in ZTEST()
361 /* clang-format on */ in ZTEST()
368 /* clang-format off */ in ZTEST()
378 /* clang-format on */ in ZTEST()
[all …]
/Zephyr-latest/cmake/compiler/xt-clang/
Dcompiler_flags.cmake3 include(${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake)
26 # Older xcc/clang cannot use "-g" due to this bug:
32 # Clang version used by Xtensa does not support -fno-pic and -fno-pie
/Zephyr-latest/cmake/toolchain/llvm/
Dclang_libgcc.cfg3 # Tell clang to give us the actual path to libgcc.a
7 # better tell clang to give us the correct path to libgcc.a.
DKconfig12 Use binutils ld linker with llvm/clang.
17 Use LLVM built-in lld linker with llvm/clang.
Dgeneric.cmake15 set(LLVM_TOOLCHAIN_PATH ${CLANG_ROOT_DIR} CACHE PATH "clang install directory")
17 set(COMPILER clang)
44 message(STATUS "Found toolchain: llvm (clang/ld)")
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_binaryappdata.h13 /* clang-format off */
20 /* clang-format on */
Dlwm2m_obj_event_log.h13 /* clang-format off */
20 /* clang-format on */
Ducifi_battery.h13 /* clang-format off */
26 /* clang-format on */
Dipso_filling_sensor.h15 /* clang-format off */
29 /* clang-format on */
Dlwm2m_resource_ids.h12 /* clang-format off */
48 /* clang-format on */
/Zephyr-latest/
D.codechecker.yml17 - --disable=clang-diagnostic-reserved-identifier
18 - --disable=clang-diagnostic-reserved-macro-identifier
/Zephyr-latest/.github/workflows/
Dclang.yaml1 name: Build with Clang/LLVM
10 clang-build:
83 ${LLVM_TOOLCHAIN_PATH}/bin/clang --version
135 clang-build-results:
137 needs: clang-build
139 if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0
149 junit2html junit.xml junit-clang.html
158 junit-clang.html
/Zephyr-latest/cmake/compiler/armclang/
Dcompiler_flags.cmake1 # First step is to inherit all properties from gcc, as clang is compatible with most flags.
2 include(${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake)
/Zephyr-latest/cmake/linker/ld/clang/
Dlinker_flags.cmake1 # The coverage linker flag is specific for clang.
11 # GNU ld and LLVM lld complains when used with llvm/clang:
/Zephyr-latest/doc/develop/sca/
Dcodechecker.rst8 `Clang-Tidy <http://clang.llvm.org/extra/clang-tidy/>`__,
9 `Clang Static Analyzer <http://clang-analyzer.llvm.org/>`__ and
/Zephyr-latest/cmake/linker/lld/
Dlinker_libraries.cmake6 # Default per standard, will be populated by clang/target.cmake based on clang output.

12345