summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* common-source: fix create-spdx handlingKonrad Weihmann2023-01-161-0/+6
| | | | | | | | | | | | | | | | | | - do_create_spdx does have to wait till the shared source tree is properly populated - override the spdx class code detection to determine if sources are under work-shared. the core code does only look at WORKDIR, which isn’t overridden in every case, more likely only S and B are touched, which make the spdx class code assume that these are per-workdir sources and starts to remove the shared sources via bitbake’s cleandirs settings. Avoid that by let the code always handle recipes including common-source as shared sources. Closes #721 Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
* llvm-project-source: fix create-spdx handlingKonrad Weihmann2023-01-161-0/+2
| | | | | | | | as the recipe populates the shared source tree as part of do_patch, but create-spdx does only wait for do_unpack. Add an explicit dependency to wait to avoid race conditions Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
* clang: Update to 15.0.7Khem Raj2023-01-161-2/+2
| | | | | | | | | | | | * 8dfdcc7b7bf6 [libc++] Fix memory leaks when throwing inside std::vector constructors * 939f5a337113 libc++: bring back the unsigned in the return type in wcstoull_l * 948cadd6d424 [RegAllocFast] Handle new debug values for spills * 1095870e8ced [wasm-ld] Define a `__heap_end` symbol marking the end of allocated memory. * 67fd0d2af4bf [TypePromotion] Add truncate in ConvertTruncs when the original truncate type is not extend type * 74d3ba1af5c0 [X86] Don't zero out %eax if both %al and %ah are used * a8af9f679231 Bump version to 15.0.7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: fix reproducible buildChee Yang Lee2023-01-151-0/+12
| | | | Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
* llvm-project-source: Ensure deploy_source_date_epoch sstate hash doesn't changeKhem Raj2023-01-111-1/+7
| | | | | | | if machines are switched, do_deploy_source_date_epoch would re-run as the stamps are tune specific Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openmp: skip buildpaths QA check for openmp-staticdevRoss Burton2023-01-091-0/+2
| | | | | | | | | | | | The /usr/lib/libomptarget.devicertl.a static library ends up with build paths embedded. The CMake files don't respect our CXXFLAGS so don't use the -fdebug-path-map arguments, but even adding those didn't solve it: it looks like code via goes via LLVM bytecode files doesn't get remapped? Until that is solved, skip the buildpath check. Signed-off-by: Ross Burton <ross.burton@arm.com>
* clang: Fix sizeof stat detection on mips/o32 with 64bit time_tKhem Raj2023-01-043-33/+48
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt-sanitizers: Enable -D_LARGEFILE64_SOURCE on muslKhem Raj2023-01-021-0/+2
| | | | | | | Ideally, the LFS64 functions should be replaced in sanitizers sources but for now just enable the aliases in musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sanitizers: Fix build with 64bit time_tKhem Raj2023-01-022-0/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Refresh off64_t musl patchKhem Raj2022-12-261-27/+74
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix build with LFS64 on muslKhem Raj2022-12-112-0/+85
| | | | | | Ensures that correct cmake checks are used to enable LFS64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Inherit python3targetconfigKhem Raj2022-12-071-8/+4
| | | | | | | | | Ensure that lldb uses correct python-dev headers from target python and not native python during cross compile. Adjust *_PYTHON_* variables accordingly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.6Khem Raj2022-12-054-80/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Drop backported patches already available in this release This brings following changes * 088f33605d8a [CodeGen][ARM] Fix ARMABIInfo::EmitVAAarg crash with empty record type variadic arg * abcd0341d846 [ELF] Handle GCC collect2 -plugin-opt= on Windows * e6e61e9b2ef7 Revert "Reapply: Add an error message to the default SIGPIPE handler" * 25a36ca5c791 Bump version to 15.0.6 * 154e88af7ec9 Bump version to 15.0.5 * a39989663758 [VectorUtils] Skip interleave members with diff type and alloca sizes. * dc8f6ffc3bf2 [lldb] Get rid of __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS * 392963bb1daf [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0 * 68799e789fc5 [GlobalOpt] Don't remove inalloca from varargs functions * 11c3a21f8d1b [analyzer] Workaround crash on encountering Class non-type template parameters * 0988addf2680 Link libclangBasic against libatomic when necessary. * 4c3d83810ad7 Link liblldCOFF against libatomic when necessary * d75ae21044ad Set LLVM_ATOMIC_LIB variable for convenient linking against libatomic * 6750e341b076 [TypePromotion] Replace Zext to Truncate for the case src bitwidth is larger * 58ba50a52ede [cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake * 931b6d51d84e Reenable POSIX builtin library functions in gnu2x mode * c8e7a87b1ed6 [CMake] Fix -Wstrict-prototypes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: backport patches to fix lldb errorsAnuj Mittal2022-11-233-0/+78
| | | | | | | | | | | OE-core recently upgraded to swig 4.1.0 which results in errors: 11:49:31 | /poky/build/tmp/work-shared/llvm-project-source-15.0.4-r0/git/lldb/bindings/interfaces.swig:5: Error: Macro '__STDC_LIMIT_MACROS' redefined, 11:49:31 | :1: Error: previous definition of '__STDC_LIMIT_MACROS'. Backport patches from release/15.x branch to fix these. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: Upgrade to 15.0.4Khem Raj2022-11-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | Brings these changes * 5c68a1cb1231 AMDGPU: Make various vector undefs legal * 80a9fc840b1b [clang][Sema] Fix a clang crash with btf_type_tag * 08bd84e8a635 [SPARC] Make calls to function with big return values work * 9d46557baa84 Take memset_inline into account in analyzeLoadFromClobberingMemInst * dd711a939122 [lld-macho] Canonicalize personality pointers in EH frames * 3010b7e00000 [clang][driver] Remove dynamic gcc-toolset/devtoolset logic * db68723804fd [clangd] Return earlier when snippet is empty * 2d5c43ad4844 [lldb] Automatically unwrap parameter packs in template argument accessors * 1e1c5204c259 [SystemZ] Relase notes for LLVM 15 * dccd0613025a [ELF] Suppress "duplicate symbol" when resolving STB_WEAK and STB_GNU_UNIQUE in different COMDATs * 5834fe66318b [AutoUpgrade] Fix remangling when upgrading struct return type * 5388da13992c Bump version to 15.0.4 * 455e1d765ad6 [InstCombine] Bail out of casting calls when a conversion from/to byval is involved. * ceee53ce564c [SROA] Don't speculate phis with different load user types * 086365be7ce0 [test] Make Linux/sem_init_glibc.cpp robust Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 15.0.3Khem Raj2022-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes * 4a2c05b05ed0 [ARM] Fix for MVE i128 vector icmp costs. * f6af95770615 [clangd] Block clang-tidy misc-const-correctness check * 687250913265 [libc++] Fix std::function's handling of blocks under Objc ARC * b4840279846e [CMake] Provide Findzstd module * 6fba7854a2f0 [llvm] [test] Add missing canonicalization of LLVM_ENABLE_ZSTD * e3b0721b5b73 [llvm] [lit] Fix use_lld() to respect llvm_shlib_dir * dfef316bb3d6 [clang-tidy] Fix a false positive in readability-simplify-boolean-expr * d35bc70e8251 [AArch64][SVE] Fix AArch64_SVE_VectorCall calling convention * f3c5289e7846 Revert "Recommit "[SCEV] Look through single value PHIs." (take 3)" * 6599b6e5ae9e Fix LLDB build on old Linux kernels (pre-4.1) * 02129eab7d58 [Syntax] avoid using c++17 features on 15.x branch * fc47af8c9140 Bump version to 15.0.3 * 27e075fcfad1 [Syntax] Fix macro-arg handling in TokenBuffer::spelledForExpanded * 359ef0c93240 [clangd] Improve inlay hints of things expanded from macros * bd5722b87b5a [X86] Remove AVX512VP2INTERSECT from Sapphire Rapids. * 73ea64f30411 [clangd] Avoid scanning up to end of file on each comment! * 61fa70903191 [LoopVersioning] Invalidate SCEV for phi if new values are added. * c0748fe6dec5 [clang-tools-extra] [clangd] Respect llvm_shlib_dir in tests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Implement finer grained packagingKhem Raj2022-10-071-1/+63
| | | | | | | | | | | Ensure that clang-tidy, clang-format, clang-tools are separated out into own packages and also move libclang-cpp shared object out of clang package too, which should remove every package depending on clang package since this shared object is needed by all tools. Might fix https://github.com/kraj/meta-clang/issues/672 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.2 release tagKhem Raj2022-10-0535-45/+61
| | | | | | | | | | | | | | | | | | | | | | | | | rebase/forward-port all patches brings these changes * 4bd3f3759259 use LLVM_USE_STATIC_ZSTD * 55d4d86e3885 tweak zstd behavior in cmake and llvm config for better testing * 67ac047d7f46 [clang][DebugInfo] Emit debuginfo for non-constant case value * 541ea23a58e7 [gn build] (manually) port 18b4a8bcf35 more * 5f620d003fda [LV] Update handling of scalable pointer inductions after b73d2c8. * b3669eb4ae60 [LV] Add test for #57912. * 966e71daafea [LV] Convert sve-epilog-vect.ll to use opaque pointers. * ebbb5446b0a2 [Clang] Fix variant crashes from GH58028, GH57370 * 77ff99c10bee [ValueTracking] Fix CannotBeOrderedLessThanZero() for fdiv (PR58046) * 6ba100a83f14 [InstSimplify] Add test for PR58046 (NFC) * bcb9b9fc44e4 [libcxx] Make stdatomic.h work when included from a C source file * d3e48d932023 [docs] improve documentation for misc-const-correctness * 0b41e633a338 [clang-tidy] adjust treating of array-of-pointers when 'AnalyzePointers' is deactivated * 10a54971b0d3 Fix build error in StmtPrinterTest.cpp * e08c165dd67a [clangd] Avoid crash when printing call to string literal operator template * 2eba4dd78e2a [ELF] Rewrite R_RISCV_ALIGN nops when r.addend%4 != 0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Bump to 15.0.2Khem Raj2022-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Brings these changes * 451e3b68306d Bump version to 15.0.2 * 9d3635c8675f Exclude check-polly-unittests and check-polly-isl from check-all * a26ef3c19ede [Hexagon] Add defaulted operator= to classes with defaulted copy ctor * f1ad3abf75f0 [MachineCycle][NFC] add a cache for block and its top level cycle * 8d802f78fa8c [libc++] Keep unary_function and binary_function in C++17 for one more release * 5d9fa4d16e0e SPIRV: Fix compilation in NDEBUG. * b73d2c8c720a [LV] Keep track of cost-based ScalarAfterVec in VPWidenPointerInd. * 38b5fa73d585 [LV] Move new epilog-vectorization-widen-inductions.ll to AArch64 dir. * c079a29305bb [LV] Add tests for epilogue vectorization with widened inductions. * d64394b81d6e [libc++] Always query the compiler to find whether a type is always lockfree * c6d2e8bcc033 [docs] Fix build-docs.sh * 43b5b04f27f1 [libcxx] Bump libc++ version to 15.0.1 * d4bada99c069 [CodeGen] Don't zero callee-save registers with zero-call-used-regs (PR57692) * 433f2aaa32bd [lit] Set shlibpath_var on OpenBSD * 063556d02def [clang(d)] Include/Exclude CLDXC options properly * 046d5b917bcd [Libomptarget] Revert changes to AMDGPU plugin destructors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix libclang package files listMichal Wojcik2022-09-271-1/+1
| | | | | | | Use libclang.so.* wildcard to include all .so files (not only dangling symlink ./usr/lib/libclang.so.15 -> libclang.so.15.0.1). Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* compiler-rt-sanitizers: fix multiple installations for orc libMamta Shukla2022-09-201-1/+2
| | | | | | | remove libclang_rt.orc and c_orc.h header since it is being installed by both compiler-rt and compiler-rt-sanitizer when built for arm. Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
* python: Enable build with clang on targetKhem Raj2022-09-171-0/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to latest on release/15.xKhem Raj2022-09-1538-230/+45
| | | | | | | | | | | | | | | | | | | | | | Drop objdump patch and git suffix patch as they are applied upstream brings in these changes * 29d395a1b7a8 [llvm-objdump] Change printSymbolVersionDependency to use ELFFile API * 4936d7ce4852 [llvm-objdump][test] Add verneed-invalid.test * 99882208e234 [compiler-rt] Handle non-canonical triples with new runtime lib layout * 8b75172a754e (origin/release/15.x) [NFC] Fix exception in version-check.py script * 3637f345d2ab Bump version to 15.0.1 * c0141f3c300f Downgrade implicit int and implicit function declaration to warning only * 6fe69891d15c [MachO] Don't fold compact unwind entries with LSDA * a5ae700c67ec [MachO] Fix dead-stripping __eh_frame * c51a59d8a947 [libc++][format] Updates feature-test macros. * 92e7ef99303f [LLD][COFF] Fix writing a map file when range extension thunks are inserted * c643956d69b1 [mlir] Fix building CRunnerUtils on OpenBSD with 15.x * 1a5c5e0f67be [DwarfEhPrepare] Assign dummy debug location for inserted _Unwind_Resume calls (PR57469) * 3a08ad21ce89 [Clang] Fix crash in coverage of if consteval. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lldb: Add missing rdep on lldb-serverKhem Raj2022-09-151-1/+1
| | | | | | lldb server is needed for native debugging with lldb on target Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix llvm-objdump crash on aarch64/muslKhem Raj2022-09-132-0/+158
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt-sanitizers: Fix arm buildsKhem Raj2022-09-121-2/+4
| | | | | | | | | | | | With clang-15, it exposed an error building, where it is trying to link with libgcc even when llvm unwninder is available in distro. Therefore use DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON, other options are to match the recipe with compiler-rt recipe. Fix missing option -DCOMPILER_RT_ENABLE_STATIC_UNWINDER when building with static libcxx Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt-sanitizers: Fix build on mipsKhem Raj2022-09-122-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-config: Replace TARGET_* flags with normal equivalent flagsKhem Raj2022-09-121-4/+4
| | | | | | | TARGET_* are not exported in recipes and hence are not available to this script during build. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Depend on zstdKhem Raj2022-09-121-1/+1
| | | | | | | It could be made as a packageconfig but its useful to enable it by default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Populate cmake needed binaries in sysrootKhem Raj2022-09-121-1/+8
| | | | | | | Some of cmake checks in packages depending upon clang check for presense of these tools during build, therefore populate them into sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use host built clang-pseudo-gen and clang-tidy-confusable-chars-gen toolsKhem Raj2022-09-121-2/+12
| | | | | | | These tools are needed during build but when building target version of clang they must be used from clang-native Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Link with libatomic on mips/riscv32Khem Raj2022-09-121-0/+3
| | | | | | these arches need 64bit atomics which are not available as builtins Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Add compiler-rt and libcxx to build time depends for targetKhem Raj2022-09-121-1/+1
| | | | | | These are not staged into sysroot otherwise and cmake fails to configure Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang, llvm-rutime: Turn per target runtime off and use RelWithDebInfo for buildKhem Raj2022-09-126-4/+15
| | | | | | | | | | | clang can now build multiarch runtimes like debian's setup, but not all arches work equally well, e.g. arm32 bit can not handle arm and armhf case, so lets disable it for now. Use DCMAKE_BUILD_TYPE=RelWithDebInfo as it is needed to set DCMAKE_BUILD_TYPE in 15.x Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spirv-llvm-translator: Update to latest tip of trunkKhem Raj2022-09-121-3/+3
| | | | | | So that we can get llvm 15.x support Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to clang 15.0.0 releaseKhem Raj2022-09-1242-478/+264
| | | | | | | | | | | | | | | | | | Drop upstreamed patches and forward port the remaining to latest sourcess llvm: Fix libzstd detection with zstd cmake files Release Notes [1] [2] [3] [4] [5] [6] [1] https://github.com/llvm/llvm-project/blob/release/15.x/clang/docs/ReleaseNotes.rst [2] https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html [3] https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html [4] https://releases.llvm.org/15.0.0/tools/lld/docs/ReleaseNotes.html [5] https://releases.llvm.org/15.0.0/projects/libcxx/docs/ReleaseNotes.html [6] https://releases.llvm.org/15.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt-sanitizer: fix nativesdk-compiler-rt-sanitizers buildMamta Shukla2022-09-091-1/+1
| | | | Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
* rust-llvm,rust: Use libc++ when RUNTIME = "llvm"Khem Raj2022-08-302-0/+7
| | | | | | | | Use clang to do native builds as well this ensures that concerned dependencies are not asking for different runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Enable installing libc++.so as linker scriptKhem Raj2022-08-301-3/+1
| | | | | | | This ensures that -stdlib=libc++ option works as expected by adding both -lc++ -c++abi to linker command in sequence Signed-off-by: Khem Raj <raj.khem@gmail.com>
* castxml: Update to 0.4.5Khem Raj2022-08-071-3/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sanitizer: Fix build with glibc 2.36Khem Raj2022-08-072-0/+63
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 14.0.6Khem Raj2022-07-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring in following changes * f28c006a5895 Bump version to 14.0.6 * aa586b6f5f55 [clang][AVR] Implement standard calling convention for AVR and AVRTiny * ec42d3c069c7 [AVR] Add more devices * c12386ae247c [MC][AArch64] Enable '+v8a' when nothing specified for MCSubtargetInfo * 4d5dad43b2eb [analyzer] Fix null pointer deref in CastValueChecker * 5b296385298f PR45879: Fix assert when constant evaluating union assignment. * deb573739df9 [clang-tidy] `bugprone-use-after-move`: Fix handling of moves in lambda captures * d0cd5a872f8d [clang-format] Fix SpacesInLineCommentPrefix deleting tokens. * 3cd9df8443f8 [clang-format] Fix PointerAlignment: Right not working with tab indentation. * d350783a0520 [LoopIdiom] Merge TBAA of adjacent stores when creating memset * 198626ad43fd [MIPS] Address instruction selection failure for abs.[sd] * b75bf750fdc2 [LoopIdiom] Fix bailout for aliasing in memcpy transform. * 2e857fe6e390 [ARM] Fix MVE getShuffleCost legalized type check * a517f3439671 [Support] Add missing <cstdint> header to Base64.h * 4d039a7a7189 [Support] Add missing <cstdint> header to Signals.h * 483db58f3eb5 compiler-rt: Allow build without __c11_atomic_fetch_nand * 576e5b39ae4d [clang-tidy] Fix #55134 (regression introduced by 5da7c04) * 99b5eb2d3a61 [Local] Don't remove invoke of non-willreturn function * 885724c60cdc [SimplifyCFG] Add test for invoke of nounwind non-willreturn function (NFC) * 2f0a69c32a4c [OpenMP] Fix partial unrolling off-by-one. * 79147e4722cc [clang][CUDA][Windows] Fix compilation error on Windows with `uint32_t __nvvm_get_smem_pointer` * ec0332328bd6 [clang] Fix some clang->llvm type cache invalidation issues * 10d442522b1a [clang][AVR] Implement standard calling convention for AVR and AVRTiny * 09ec80e16f47 [PowerPC] Treat llvm.fmuladd intrinsic as using CTR Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: backport a patch fixing ARMv5 cross-compileMing Liu2022-07-052-0/+66
| | | | | | | | | | | | | Compiler-rt cross-compile for ARMv5 fails because D99282 made it an error if DMB is used for any pre-ARMv6 targets. More specifically, the "#error only supported on ARMv6+" added in D99282 will cause compilation to fail when any source file which includes assembly.h are compiled for pre-ARMv6 targets. Since the only place where DMB is used is syn-ops.h (which is only included by arm/sync_fetch_and_* and these files are excluded from being built for older targets), this patch moves the definition there to avoid the issues described above. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* clang: Fix native and nativesdk builds for hf targetsEsben Haabendal2022-07-053-3/+6
| | | | | | | | | | Setting the ${HF} variable based on ${TUNE_CCARGS_MFLOAT} does only make sense for target builds, as it defines arguments for target. Without this fix, building with hf machine configuration will cause problems, as native and nativesdk triplets will be include "hf", something like "x86_64hf-linux", which is wrong and not recognized by LLVM build/configuration system. Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
* spirv-llvm-translator: Update for branch renameTeoh Jay Shen2022-06-031-1/+1
| | | | | | | | "master" branch in SPIRV-LLVM-Translator has been renamed to "main" see https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/6db0f312c918bba14a731822b38a18726bb4ce09 Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
* compiler-rt: Build clang_rt.profile library when possibleEsben Haabendal2022-06-011-1/+1
| | | | | | | | | | | | | To enable clang_rt.profile library do something like the following in local.conf or your distro configuration. PACKAGECONFIG:pn-compiler-rt = "profile" The clang_rt.profile library is used to collect coverage information. It is a static library, so does not introduce any additional footprint in target images. Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
* clang: Update to 14.0.4+Khem Raj2022-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings * b950bd2ce7ff Bump version to 14.0.5 * 29f1039a7285 [CUDA][HIP] Externalize kernels with internal linkage * e6de9ed37308 [CUDA][HIP] Externalize kernels in anonymous name space * fecfc8394484 AST: Move __va_list tag back to std conditionally on AArch64. * 725d57c39039 AST: Make getEffectiveDeclContext() a member function of ItaniumMangleContextImpl. NFCI. * 0009cdbd8a3a [clang][NFC] Remove IgnoreLinkageSpecDecls * 53eaee6bf3b3 [clang][NFC] Standard substitution checking cleanup * c81f3d00cbd4 [AVR] Generate 'rcall' instead of 'call' on avr2 and avr25 * 5f6fe6b93e85 [AVR] Fix incorrect calling convention for varargs functions * 42fe7ccbeb44 [SystemZ] Bugfix for symbolic displacements. * f45a01e4a170 [libc++][CI] added XFAIL LIBCXX-AIX-FIXME to new runnning test cases after install locale fileset on AIX OS. * 55e34f3b49b1 [libc++] Always enable the ranges concepts * 5f66e721ec1d [ELF][ARM] Fix unneeded thunk for branches to hidden undefined weak * 3bfae7816bdb Fix crash getting name of a template decl * 76c1c1dd2a01 [OpenMP] Fix library path missing when using OpenMP * 588b95a2b88e [ELF][AArch64] Fix unneeded thunk for branches to hidden undefined weak * e70d79f1e8c0 [ELF] Ignore --no-add-needed * 7a42b2fd5be3 [BOLT] Compact legacy profiles * d6319246f89b [CodeGen] Use ABI alignment for C++ new expressions * daef3113e819 [compiler-rt] Add NO_EXEC_STACK_DIRECTIVE on s390x * c65b0cd2421d [GlobalIsel] Fix fallback if stack protector isn't supported. * cda300eab8dd [Driver][Solaris] -r: imply -nostdlib like GCC * 9827a185b611 [Driver][Ananas] -r: imply -nostdlib like GCC * 087082a828ff [cmake] Increase -fms-compatibility-version in Windows toolchain file * c56415735060 [SystemZ] Bugfix in SystemZTargetLowering::combineINT_TO_FP() * be653f6292e7 [X86] combineX86ShuffleChain - don't fold to truncate(concat(V1,V2)) if it was already a PACK op * 52528806579b [AArch64] Ampere1 does not support MTE * 53433dd0b503 [AArch64] Support for Ampere1 core * c6d56a324ef8 [AArch64] Add native CPU detection for Ampere1 * 60c8e02c9d12 [IPSCCP] Support unfeasible default dests for switch. * 0108630f8bc5 [InstCombine] Fix scalable-vector bitwise select matching * 39e909731a11 [InstCombine] add scalable vector test for logical select; NFC * cd597588217a [HIP] Fix HIP include path * 50d4a84152c6 Fix test for c7ee0b8bda8b32a800bc01e9151b364446a6e1b1 * 869c1d7d0902 [Clang] Fix the guaranteed alignment of memory returned by malloc/new on OpenBSD * 5c4cf01f47da [Driver][Linux] Remove D.Dir+"/../lib" from default search paths for LLVM_ENABLE_RUNTIMES builds * f3f90ec42ae6 [MC][ELF] Improve st_size propagation rule * 9ed930e5cd74 [MC][test] Improve offset.s * 5eb22621bcd2 Bump version to 14.0.4 * 019d4f1ceb96 [libc++abi] Remove XFAIL on arm64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 14.0.3Khem Raj2022-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings these changes * 1f9140064dfb Bump version to 14.0.3 * 2e7e14177186 workflows: Add a test to ensure that the LLVM version is correct * 0e27d08cdeb3 [RISCV] Fix crash for section alignment with .option norvc * a36801750327 [asan] Always skip first object from dl_iterate_phdr * 1f4c7b2a9120 [RISCV] Don't emit fractional VIDs with negative steps * e19be4195b87 [RISCV] Add another test showing incorrect BUILD_VECTOR lowering * 9efcce92b55b [RISCV] Fix lowering of BUILD_VECTORs as VID sequences * 21ce6cfd1d93 [RISCV] Add tests showing incorrect BUILD_VECTOR lowering * 58d5fbe2c20b [llvm-mt] Add support /notify_update * 50c6ba751fa2 [RISCV] Only try LUI+SH*ADD+ADDI for int materialization if LUI+ADDI+SH*ADD failed. * dc30b0d3320d [ELF] --emit-relocs: fix missing STT_SECTION when the first input section is synthetic * 324127d8da95 [libcxx] Add some missing xlocale wrapper functions for OpenBSD * ebf29ba9f0a3 [LV] Remove stray debug dump added in 0d2efbb8b82c. * 0d2efbb8b82c [LV] Always use add to add scalar iv and (startidx + step) for ints. * e7a9fd4f57d6 [LV] Add test case for PR54427. * 9a3e81e1f91f [InstCombine] canonicalize select with signbit test * b83c4a2dc0fb [x86] Fix infinite loop inside DAG combiner with lzcnt feature. * 0fbe860711be [Clang][Fortify] drop inline decls when redeclared * 571c7d8f6dae Reland "[llvm][AArch64] Insert "bti j" after call to setjmp" * 0f56ce0fb207 [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes * e8f03f2057ee Force GHashCell to be 8-byte-aligned. * 09fba23d41f7 [compiler-rt] Implement __clear_cache on FreeBSD/powerpc * 33504b3bbe10 [PowerPC] Allow absolute expressions in relocations * 3400d0293a14 [CMake] Update cache file for Win to ARM Linux cross toolchain builders. NFC. * 6c41c8edb0cc [CMake] Replace `TARGET_TRIPLE` with `TOOLCHAIN_TARGET_TRIPLE` for Win-to-Arm cross toolchain cache file. NFC. * b6dbee34387d [CMake] Update cache file for Win to ARM cross tooolchain. NFC. * 46d19f3a8699 [CMake] Use CMAKE_SYSROOT to build libs for Win to ARM cross tooolchain. NFC. * e11b929a3c97 [LLD][COFF] Fix TypeServerSource matcher with more than one collision * d800180f6bee [lld][COFF] Fix TypeServerSource lookup on GUID collisions * 8c3445ac1c8b [AArch64][LOH] Don't ignore regmasks in bundles by iterating over instrs. * 43ee392dd462 [InstCombine] try to fold low-mask of ashr to lshr * 5ea5e3c01b7b [InstCombine] add tests for low-mask of ashr; NFC * fe8a27acd716 [LV] Handle zero cost loops in selectInterleaveCount. * 2c4d288eae8b [RISCV][NFC] Add missing lit.local.cfg in test/CodeGen/MIR/RISCV/ * d0f27fb44952 [RISCV] Fixing stack offset for RVV object with vararg in stack. * b6e91d4a331e [RISCV] Pre-commit for fixing stack offset for RVV object * 87599bdabbd1 [RISCV] Store/restore RISCVMachineFunctionInfo into MIR YAML file * 5c9eed741dbd [libc++] Make __dir_stream visibility declaration consistent * c62053979489 [AArch64] Fix the upper limit for folded address offsets for COFF * 6697c5bc3a1e [compiler-rt] [scudo] Use -mcrc32 on x86 when available * 8475349bd639 [AARCH64] ssbs should be enabled by default for cortex-x1, cortex-x1c, cortex-a77 * d4e3c50b2bda [libc++] Define `namespace views` in its own detail header. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Fix nativesdk buildingEsben Haabendal2022-04-251-0/+7
| | | | Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
* compiler-rt: Fix nativesdk buildingEsben Haabendal2022-04-251-1/+6
| | | | Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>