| /OK3568_Linux_fs/yocto/meta-clang/recipes-devtools/clang/clang/ |
| H A D | 0018-clang-Use-python3-in-python-scripts.patch | 4 Subject: [PATCH] clang: Use python3 in python scripts 13 clang-tools-extra/clang-tidy/add_new_check.py | 2 +- 14 clang-tools-extra/clang-tidy/rename_check.py | 2 +- 15 clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py | 2 +- 16 clang-tools-extra/clang-tidy/tool/run-clang-tidy.py | 2 +- 17 clang/tools/clang-format/git-clang-format | 2 +- 18 clang/tools/scan-view/bin/scan-view | 2 +- 21 diff --git a/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py b/… 23 --- a/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py 24 +++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py [all …]
|
| H A D | 0032-Correct-library-search-path-for-OpenEmbedded-Host.patch | 11 compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang 18 | clang-13: error: linker command failed with exit code 1 (use -v to see invocation) 22 …o/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang --print-search-dirs 24 …k/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/lib/clang/13.0.1:/build/tmp-… 27 …o/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang --print-search-dirs 29 …k/x84_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/lib/clang/13.0.1:/usr/lib/x8… 36 clang/include/clang/Driver/Distro.h | 2 ++ 37 clang/lib/Driver/Distro.cpp | 1 + 38 clang/lib/Driver/ToolChains/Linux.cpp | 1 + 41 diff --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h [all …]
|
| H A D | 0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch | 4 Subject: [PATCH] clang: Look inside the target sysroot for compiler runtime 7 sysroot and not into resourcedir which is relative to clang 14 clang/lib/Driver/ToolChain.cpp | 6 +++++- 17 diff --git a/clang/lib/Driver/ToolChain.cpp b/clang/lib/Driver/ToolChain.cpp 19 --- a/clang/lib/Driver/ToolChain.cpp 20 +++ b/clang/lib/Driver/ToolChain.cpp 23 #include "clang/Basic/ObjCRuntime.h" 24 #include "clang/Basic/Sanitizers.h" 25 +#include "clang/Basic/Version.h" 26 #include "clang/Config/config.h" [all …]
|
| H A D | 0008-clang-Prepend-trailing-to-sysroot.patch | 4 Subject: [PATCH] clang: Prepend trailing '/' to sysroot 6 This is needed to handle a case where clang 11 sysroot = /mnt/clang/recipe-sysroot 12 clang install = /mnt/clang/recipe-sysroot-native 15 clang is installed under the same sysroot dir 18 since they will become relative to clang 23 clang/lib/Driver/ToolChains/Linux.cpp | 2 +- 26 diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp 28 --- a/clang/lib/Driver/ToolChains/Linux.cpp 29 +++ b/clang/lib/Driver/ToolChains/Linux.cpp
|
| H A D | 0031-Fix-lib-paths-for-OpenEmbedded-Host.patch | 6 Under OpenEmbedded Host, while building with clang-native, it cannot find 9 compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang 18 compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang 19 clang version 13.0.1 (https://github.com/llvm/llvm-project 08e3a5ccd952edee36b3c002e3a29c6b1b5153de) 26 compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang 27 clang version 13.0.1 (https://github.com/llvm/llvm-project 08e3a5ccd952edee36b3c002e3a29c6b1b5153de) 39 For clang-native, the target vendor is '-unknown', need to test current distro 47 clang/lib/Driver/ToolChains/Gnu.cpp | 5 ++++- 50 diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp 52 --- a/clang/lib/Driver/ToolChains/Gnu.cpp [all …]
|
| H A D | 0019-For-x86_64-set-Yocto-based-GCC-install-search-path.patch | 6 Under Yocto host, while using clang-native to build, it searches 9 |clang++ -target x86_64-linux -MMD -MF src/base/files/file_path_constants.o.d -I../../../tools/gn/… 21 $ ../recipe-sysroot-native/usr/bin/clang++ -v 22 clang version 11.0.1 (https://github.com/llvm/llvm-project 43ff75f2c3feef64f9d73328230d34dac8832a91) 30 $ ../recipe-sysroot-native/usr/bin/clang++ -v 31 clang version 11.0.1 (https://github.com/llvm/llvm-project 22c3241ff9a6224261df48d0258957fd8acc3d64) 44 is different between clang and clang-native 48 recipes-devtools/clang/llvm-project-source.inc:add_more_target_vendors() 56 clang/lib/Driver/ToolChains/Gnu.cpp | 1 + 59 diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp [all …]
|
| /OK3568_Linux_fs/yocto/meta-clang/classes/ |
| H A D | clang.bbclass | 2 CCACHE_COMPILERCHECK:toolchain-clang ?= "%compiler% -v" 3 HOST_CC_ARCH:prepend:toolchain-clang = "-target ${HOST_SYS} " 4 CC:toolchain-clang = "${CCACHE}${HOST_PREFIX}clang ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 5 CXX:toolchain-clang = "${CCACHE}${HOST_PREFIX}clang++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 6 CPP:toolchain-clang = "${CCACHE}${HOST_PREFIX}clang ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} -E" 7 CCLD:toolchain-clang = "${CCACHE}${HOST_PREFIX}clang ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 8 RANLIB:toolchain-clang = "${HOST_PREFIX}llvm-ranlib" 9 AR:toolchain-clang = "${HOST_PREFIX}llvm-ar" 10 NM:toolchain-clang = "${HOST_PREFIX}llvm-nm" 11 OBJDUMP:toolchain-clang = "${HOST_PREFIX}llvm-objdump" [all …]
|
| /OK3568_Linux_fs/yocto/meta-clang/conf/ |
| H A D | nonclangable.conf | 5 # crash embeds version of gdb which is not buildable with clang 11 #| clang-15: error: linker command failed with exit code 1 (use -v to see invocation) 15 …fpv4-yoe-linux-gnueabi/firefox/60.1.0esr-r0/recipe-sysroot-native/usr/lib/clang/7.0.1/include/arm_… 51 # clang does not have 64bit atomics on ppc 53 # clang fails with db.c:(.text+0x188): unsupported bss-plt -fPIC ifunc mmio_write64_be 55 # usermode qemu crashes when running binaries from clang + rust compiler on ppc32 68 # uses C++ which clang does not like 116 # clang++ hangs see https://bugs.llvm.org/show_bug.cgi?id=45134 117 DEBUG_FLAGS:remove:pn-sqlite-orm:toolchain-clang = "-g" 134 # Fails to build with clang-13 errors with .export.sym file [all …]
|
| /OK3568_Linux_fs/yocto/meta-clang/recipes-devtools/clang/ |
| H A D | compiler-rt_git.bb | 8 require clang.inc 24 DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} virtual/${MLPREFIX}libc gcc-runtime" 25 DEPENDS:append:class-nativesdk = " clang-native clang-crosssdk-${SDK_ARCH} nativesdk-gcc-runtime" 26 DEPENDS:append:class-native = " clang-native" 28 # Trick clang.bbclass into not creating circular dependencies 30 COMPILER_RT:class-nativesdk:toolchain-clang:runtime-llvm = "-rtlib=libgcc --unwindlib=libgcc" 31 LIBCPLUSPLUS:class-nativesdk:toolchain-clang:runtime-llvm = "-stdlib=libstdc++" 40 BUILD_CC:toolchain-clang = "${CCACHE}clang" 41 BUILD_CXX:toolchain-clang = "${CCACHE}clang++" 42 BUILD_CPP:toolchain-clang = "${CCACHE}clang -E" [all …]
|
| H A D | compiler-rt-sanitizers_git.bb | 8 require clang.inc 19 DEPENDS:append:class-native = " clang-native libxcrypt-native" 20 DEPENDS:append:class-nativesdk = " clang-native clang-crosssdk-${SDK_ARCH} nativesdk-libxcrypt" 51 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \ 60 mv ${D}${libdir}/clang ${D}${nonarch_libdir}/clang 64 …rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/libclang_rt.or… 65 rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/include/orc/ 69 FILES:${PN} += "${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/lib*${SOLI… 70 ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/*.txt \ 71 ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/share/*.txt" [all …]
|
| H A D | common.inc | 1 FILESEXTRAPATHS =. "${FILE_DIRNAME}/clang:" 4 file://clang/LICENSE.TXT;md5=${CLANGMD5SUM} \ 18 file://0006-clang-driver-Check-sysroot-for-ldso-path.patch \ 19 file://0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch \ 20 file://0008-clang-Prepend-trailing-to-sysroot.patch \ 21 file://0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch \ 22 file://0010-clang-Define-releative-gcc-installation-dir.patch \ 23 file://0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch \ 27 file://0015-clang-llvm-cmake-Fix-configure-for-packages-using-fi.patch \ 28 file://0016-clang-Fix-resource-dir-location-for-cross-toolchains.patch \ [all …]
|
| H A D | clang_git.bb | 5 HOMEPAGE = "http://clang.llvm.org/" 8 require clang.inc 13 BUILD_CC:class-nativesdk = "clang" 14 BUILD_CXX:class-nativesdk = "clang++" 83 BINPATHPREFIX = "${@bb.utils.contains('PACKAGECONFIG', 'bootstrap', '/tools/clang/stage2-bins/NATIV… 112 LLVM_PROJECTS ?= "clang;clang-tools-extra;lld${LLDB}" 161 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \ 176 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \ 195 DEPENDS:append:class-nativesdk = " clang-crosssdk-${SDK_ARCH} virtual/${TARGET_PREFIX}binutils-cros… 196 DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} python3 compiler-rt libcxx" [all …]
|
| H A D | clang-crosssdk_git.bb | 5 HOMEPAGE = "http://clang.llvm.org/" 9 PN = "clang-crosssdk-${TARGET_ARCH}" 11 require clang.inc 14 DEPENDS += "clang-native nativesdk-clang-glue virtual/${TARGET_PREFIX}binutils-crosssdk virtual/nat… 18 for tool in clang clang++ clang-tidy lld ld.lld llvm-profdata \ 25 SSTATE_SCAN_FILES += "*-clang *-clang++ *-llvm-profdata *-lld *-ld.lld \
|
| /OK3568_Linux_fs/yocto/meta-clang/ |
| H A D | README.md | 1 …https://github.com/kraj/meta-clang/workflows/Yoe%20Distro%20CI/badge.svg?branch=master)](https://g… 3 # meta-clang (C/C++ frontend and LLVM compiler backend) 5 This layer provides [clang/llvm](http://clang.llvm.org/) as alternative to system 15 git clone git://github.com/kraj/meta-clang.git 24 git clone git://github.com/kraj/meta-clang.git 29 Add meta-clang overlay 31 bitbake-layers add-layer ../meta-clang 34 Check `conf/bblayers.conf` to see that meta-clang is added to layer mix e.g. 39 clang to be the default compiler then set 42 TOOLCHAIN ?= "clang" [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/kbuild/ |
| H A D | llvm.rst | 4 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 15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be 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 31 make CC=clang defconfig 33 make CC=clang 38 A single Clang compiler binary will typically contain all supported backends, [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/translations/it_IT/process/ |
| H A D | clang-format.rst | 3 :Original: :ref:`Documentation/process/clang-format.rst <clangformat>` 8 clang-format 10 ``clang-format`` è uno strumento per formattare codice C/C++/... secondo 14 ``clang-format`` può essere usato per diversi fini: 28 Il suo file di configurazione è ``.clang-format`` e si trova nella cartella 35 potete sovrascriverle scrivendole in un altro file ``.clang-format`` in 39 Linux più popolari. Cercate ``clang-format`` nel vostro repositorio. 40 Altrimenti, potete scaricare una versione pre-generata dei binari di LLVM/clang 47 https://clang.llvm.org/docs/ClangFormat.html 49 https://clang.llvm.org/docs/ClangFormatStyleOptions.html [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/storage/ |
| H A D | .clang-tidy | 1 …clang-analyzer-security.insecureAPI.rand,-clang-analyzer-core.uninitialized.UndefReturn,-clang-ana…
|
| /OK3568_Linux_fs/kernel/Documentation/process/ |
| H A D | clang-format.rst | 3 clang-format 6 ``clang-format`` is a tool to format C/C++/... code according to 10 ``clang-format`` can be used for several purposes: 22 Its configuration file is ``.clang-format`` in the root of the kernel tree. 28 another ``.clang-format`` file in a subfolder. 31 Linux distributions for a long time. Search for ``clang-format`` in 33 LLVM/clang binaries or build the source code from: 39 https://clang.llvm.org/docs/ClangFormat.html 41 https://clang.llvm.org/docs/ClangFormatStyleOptions.html 55 clang-format -i kernel/*.[ch] [all …]
|
| /OK3568_Linux_fs/kernel/ |
| H A D | .clang-format | 3 # clang-format configuration file. Intended for clang-format >= 4. 7 # Documentation/process/clang-format.rst 8 # https://clang.llvm.org/docs/ClangFormat.html 9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html 16 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0 40 #AfterExternBlock: false # Unknown to clang-format-5.0 44 #SplitEmptyFunction: true # Unknown to clang-format-4.0 45 #SplitEmptyRecord: true # Unknown to clang-format-4.0 46 #SplitEmptyNamespace: true # Unknown to clang-format-4.0 49 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.clang | 1 The biggest problem when trying to compile U-Boot with clang is that 2 almost all archs rely on storing gd in a global register and clang user 3 manual states: "clang does not support global register variables; this 27 sudo apt-get install clang 30 CROSS_COMPILE. To compile U-Boot with clang on linux without IAS use e.g.: 31 make HOSTCC=clang rpi_2_defconfig 32 make HOSTCC=clang CROSS_COMPILE=arm-linux-gnueabi- CC=clang -j8 35 make HOSTCC=clang sandbox_defconfig 36 make HOSTCC=clang CC=clang -j8 46 # The following commands compile U-Boot using the clang xdev toolchain. [all …]
|
| /OK3568_Linux_fs/buildroot/package/clang/ |
| H A D | clang.mk | 3 # clang 7 # LLVM, Clang and lld should be version bumped together 10 CLANG_SOURCE = clang-$(CLANG_VERSION).src.tar.xz 18 CLANG_DEPENDENCIES = llvm host-clang 35 # libraries (the same way as host's clang build) and finally 65 -DCLANG_TABLEGEN:FILEPATH=$(HOST_DIR)/bin/clang-tblgen \ 68 # Clang can't be used as compiler on the target since there are no 69 # development files (headers) and other build tools. So remove clang 72 /usr/bin/clang* \ 74 /usr/bin/git-clang-format \ [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/c++/ |
| H A D | clang.cpp | 5 * Inspired by clang example code: 6 * http://llvm.org/svn/llvm-project/cfe/trunk/examples/clang-interpreter/main.cpp 12 #include "clang/Basic/Version.h" 13 #include "clang/CodeGen/CodeGenAction.h" 14 #include "clang/Frontend/CompilerInvocation.h" 15 #include "clang/Frontend/CompilerInstance.h" 16 #include "clang/Frontend/TextDiagnosticPrinter.h" 17 #include "clang/Tooling/Tooling.h" 29 #include "clang.h" 30 #include "clang-c.h" [all …]
|
| /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtbase/ |
| H A D | 0009-Add-OE-specific-specs-for-clang-compiler.patch | 4 Subject: [PATCH] Add OE specific specs for clang compiler 9 mkspecs/linux-oe-clang/qmake.conf | 40 ++++++++++++++++++++++++++ 10 mkspecs/linux-oe-clang/qplatformdefs.h | 1 + 12 create mode 100644 mkspecs/linux-oe-clang/qmake.conf 13 create mode 100644 mkspecs/linux-oe-clang/qplatformdefs.h 15 diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf 19 +++ b/mkspecs/linux-oe-clang/qmake.conf 43 +include(../common/clang.conf) 61 diff --git a/mkspecs/linux-oe-clang/qplatformdefs.h b/mkspecs/linux-oe-clang/qplatformdefs.h 65 +++ b/mkspecs/linux-oe-clang/qplatformdefs.h [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | compiler_attributes.h | 24 * __has_attribute is supported on gcc >= 5, clang >= 2.9 and icc >= 17. 64 * clang: mentioned 82 * clang: https://clang.llvm.org/docs/AttributeReference.html#assume-aligned 105 * Optional: not supported by clang 124 * clang: https://clang.llvm.org/docs/AttributeReference.html#deprecated 130 * Optional: not supported by clang 142 * Optional: only supported since clang >= 14.0 153 * Optional: not supported by clang 165 * clang: https://clang.llvm.org/docs/AttributeReference.html#format 172 * clang: https://clang.llvm.org/docs/AttributeReference.html#gnu-inline [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/mk/ |
| H A D | clang.mk | 2 # CROSS_COMPILE64 and indicates the target that should be passed to clang. Path 6 clang-target := $(patsubst %-,%,$(notdir $(lastword $(CROSS_COMPILE_$(sm))))) 9 CC$(sm) := $(ccache-cmd)clang --target=$(clang-target) 11 # Due to the absence of clang-cpp in AOSP's prebuilt version of clang, 12 # use the equivalent command of 'clang -E' 13 CPP$(sm) := $(ccache-cmd)clang --target=$(clang-target) -E 25 comp-cflags-warns-clang := -Wno-language-extension-token \ 29 # libgcc for clang
|