| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
During building clang, arm_neon_sve_bridge.h is not copied
to the correct destination folder, failing compiling applications
using this header.
This has been fixed upstream starting in clang 16. This patch
is a backport of the fix.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
|
|
|
|
|
|
| |
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Signed-off-by: Akash Hadke <akash.hadke27@gmail.com>
|
|
|
|
|
|
|
|
| |
* branch was renamed long time ago, nanbield and newer already have this updated since:
2d9f57f spirv-llvm-translator: Update to latest 16.0.0 branch
but kirkstone was still using master
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 96b2f3da50c8cf814f661fba37df0a098457b016.
The is required to be applied globally and not only for libcxx.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
(cherry picked from commit 9e0ef14c505b8621baad385328293f5eb2d1202a)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
| |
Fix syntax error, '-DD' -> '-D'
(cherry picked from commit e47fd133a06e584e4947643bbcb9748b6521b3ac)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Native builds of compiler-rt-sanitizers fail because llvm-ranlib,
llvm-ar, and llvm-nm are not found where the recipe specifies that
they'll be. Other recipes (in particular: compiler-rt) only specify the
locations of those tools for target and nativesdk builds, and they build
fine. This commit implements the same thing for compiler-rt-sanitizers,
fixing native builds.
Signed-off-by: Eric Sun <ericsun2@cisco.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On arm64 OE-Core has moved the gcc default configuration done
with --enable-standard-branch-protection to be a CFLAGS option
which is appended to CC variable, this means that this option can
override the package's default to not use it e.g. libunwind where
the library has to be built without it.
Fixes https://github.com/kraj/meta-clang/issues/963
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 79169d9 fixed non existing libclang package, but only libclang
symlink was packaged. Use libclang.so.* wildcard to also include the
shared library without hardcoding its version.
Before:
$ dpkg -c ./tmp/deploy/ipk/cortexa57/libclang_14.0.6-r0_cortexa57.ipk
drwxr-xr-x root/root 0 2011-04-06 01:00 ./usr/
drwxr-xr-x root/root 0 2011-04-06 01:00 ./usr/lib/
lrwxrwxrwx root/root 0 2011-04-06 01:00 ./usr/lib/libclang.so.13 -> libclang.so.14.0.6
After:
$ dpkg -c ./tmp/deploy/ipk/cortexa57/libclang13_14.0.6-r0_cortexa57.ipk
drwxr-xr-x root/root 0 2011-04-06 01:00 ./usr/
drwxr-xr-x root/root 0 2011-04-06 01:00 ./usr/lib/
lrwxrwxrwx root/root 0 2011-04-06 01:00 ./usr/lib/libclang.so.13 -> libclang.so.14.0.6
-rwxr-xr-x root/root 29451416 2011-04-06 01:00 ./usr/lib/libclang.so.14.0.6
Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
|
|
|
|
|
|
|
| |
LLDB can't be built using kirkstone poky (swig 4.0.2) and current
kirkstone clang 14.0.6, because of compiler error mentioned in patches
Signed-off-by: Maxime Roussin-Belanger <maxime.roussinbelanger@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop 0038-Add-missing-cstdint.patch as it is part of the 14.0.6 release.
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>
(cherry picked from commit ad6f0176e462574437163205503df285150bfad0)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
(cherry picked from commit a49a75be369d564e3d641216add16277537aac85)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It pokes at target llvm.cmake and gets the path
LLVM_TOOLS_BINARY_DIR pointing to target sysroot
however during cross builds it should be looking
for tools for cross building in native sysroot
MJ: otherwise it may fail to build with gold linker:
DWARF error: invalid or unhandled FORM value: 0x23
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
|
|
| |
--libfiles Fully qualified library filenames for makefile depends.
This option is being used by ispc cmake.
https://github.com/ispc/ispc/blob/main/cmake/FindLLVM.cmake#L116
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
| |
* The perl scan-build script need some perl-modules to be executable
Signed-off-by: Michel Zink <m.zink@rational-online.com>
|
|
|
|
|
|
|
|
| |
Fixes
ERROR: lib32-clang-15.0.7-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblldb contains symlink .so '/usr/lib/liblldbIntelFeatures.so'
non -dev/-dbg/nativesdk- package lib32-liblldb contains symlink .so '/usr/lib/liblldb.so' [dev-so] ERROR: lib32-clang-15.0.7-r0 do_package_qa: Fatal QA errors were found, failing task.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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>
(cherry picked from commit 16c67b492aeb5f356688858b2bafda75fec49069)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
Relates to #721
Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
When built with thin LTO enabled, LLVM produces object files containing
LLVM IR, which ld can't understand. Since we're forcing the toolchain
to clang anyway, let's also force using lld.
Fixes GitHub #708
Signed-off-by: Jan Dorniak <jaskij@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
These are not staged into sysroot otherwise and cmake fails to configure
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
|
|
|
|
|
|
|
|
|
| |
Upstream doesn't have a branch 'master' anymore so switch to using LLVM
14 specific branch.
meta-clang master uses main branch so that doesn't have this problem.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
(cherry picked from commit 9cea73660aa56b461f96487ddcbfba5e7b64fafb)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
(cherry picked from commit 659d43190d906b6e6081deb48a4bdb038eea0f27)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
| |
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were never really supposed to build for multiple target architectures in one
compiler-rt build, so let's use the feature created to do exactly that.
This also happens to fix building for ARM softfp ABI builds, where the target
architecture guessing logics ends up with:
-- Builtin supported architectures: arm;armv6m
And later on bailing out because of duplicate ninja rules:
ninja: error: build.ninja:56765: multiple rules generate lib/clang/14.0.0/lib/linux/libclang_rt.builtins-arm.a [-w dupbuild=err]
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
|
|
| |
They need to be explicitly exported
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
brings in these fixes
* ec13fed5867f [X86] lowerV8I16Shuffle - use explicit SmallVector<SDValue, 4> width to avoid MSVC AVX alignment bug
* aaf0c921a54a [clang-repl] Add an accessor to our underlying execution engine
* d150523f0776 [AArch64] Use correct calling convention for each vararg
* fd98b0f1a6a1 [SelectionDAG] Don't create illegally-typed nodes while constant folding
* d53e2603383a [AArch64] Allow .variant_pcs before the symbol is registered
* 67a290460c37 [VectorCombine] Insert addrspacecast when crossing address space boundaries
* 353068233f21 [ELF] Fix llvm_unreachable failure when COMMON is placed in SHT_PROGBITS output section
* 311a622edd31 [Object][test] Fix invalid.test
* 1007cb795a3c [llvm-objdump] --private-headers: change errors to warnings for dynamic section dumping
* c9ec4902c3e3 [llvm-objdump][test] dos2unix some files
* 5b9dd016bec7 [SelectionDAG][RISCV] Make RegsForValue::getCopyToRegs explicitly zero_extend constants.
* e9b26b5b2a70 [RISCV] Add test case for miscompile caused by treating ANY_EXTEND of constants as SIGN_EXTEND.
* a4681df0202c [libcxx] [test] Avoid spurious test breakage in clang-cl-dll configs with newer CMake
* db07d9f098b3 [MC] Fix llvm_unreachable when a STB_GNU_UNIQUE symbol needs a relocation
* 22d7bee01a5a [PPCISelLowering] Avoid emitting calls to __multi3, __muloti4
* 23d08271a4b2 Add cmake/ to release tarballs via concatenation
* b69247dcbd80 [libcxx] random_device, specify optimal entropy properties for all OS's using arc4random()
* 63e7af77ec42 [Clang][NeonEmitter] emit ret decl first for -Wdeclaration-after-statement
* f3b89727716a [Driver][OpenBSD] Disable unwind tables on Arm
* fe5c24e93754 [docs] Fix typo in tutorial
* 99c0f85ef992 Re-commit: Driver: Don't warn on -mbranch-protection when linking
* 0547ffef5d39 workflows: Consolidate tests to reduce the number of build jobs
* bd8dc965cff1 Bump version to 14.0.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Account for 64bit builtin atomic which are missing on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
openmp is not ported for ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
ppc is not yet supported by openmp
see https://github.com/llvm/llvm-project/blob/main/openmp/runtime/cmake/LibompGetArchitecture.cmake#L16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
If they are set by recipe in env, respect that
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is useful when using clang cross compiler and the packages rely on
llvm-config to detect paths and various attributes of clang/llvm install
Update to latest on 14.x as well
* 3f43d803382d [libc++] Re-enable workaround for pre-ranges CTAD in std::span
* add3ab7f4c8a [libc++] Add workaround to avoid breaking users of <span> when <ranges> are disabled
* 329fda39c507 NFC: Mention auto-vec support for SVE in release notes.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
LLVM_LIBDIR_SUFFIX is already computed fine in clang.inc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This ensures that signature of do_patch does not change between multilib
and non-multilib builds of clang-native, this essentially hardcodes the
multilib variants to lib32 lib64 libx32 which is 99.9% usecase, if you
fall into 0.1% then go ahead and modify MULTILIB_VARIANTS in a bbappend
file and it will be fine.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings in these changes
* 69ba522c58d0 [Hexagon] Fix crash with shuffle_vector of v128f16
* ac3398a0b003 Revert "[CMake] Include runtimes test suites in check-all"
* df2fcea78fb8 Revert "Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases"""
* 893b864cb855 Revert "GCC ABI Compatibility: Preserve alignment of non-pod members in packed structs"
* a9415df334f0 Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases""
* e54a7bf0c0f1 [CMake] Include runtimes test suites in check-all
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
ppc32 build fails, disable for now
NativeThreadLinux.cpp:(.text._ZN12lldb_private13process_linux17NativeThreadLinuxC2ERNS0_18NativeProcessLinuxEy+0x84): undefined reference to `lldb_private::process_linux::NativeRegisterContextLinux::CreateHostNativeRegisterContextLinux(lldb_private::ArchSpec const&, lldb_private::process_linux::NativeThreadLinux&)'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable __int128 for compiler-rt/ppc32
Drop redundant ppc patch which is fixed upstream already
Brings these fixes
* e879b2bf82ef [libcxxabi] [test] Depend on unwind only if available
* 569b773323a3 [libcxx][CI] Set Arm triples to match native clang build's default
* f7007c570a21 Lambdas are not necessarily locals. This resolves DR48250.
* eb84577cbc23 Revert "[release] Use the Bootstrapping build for building LLVM releases"
* d843bde69aab [clang][driver] Fix float128 diagnostics with glibc >= 2.32
* ba9ff030d302 [SimplifyCFG][PhaseOrdering] Defer lowering switch into an integer range comparison and branch until after at least the IPSCCP
* da3953fb0315 [NFC][PhaseOrdering] Add some tests from D119839
* 8b51e5ee0a2e [NewPM][Inliner] Make inlined calls to functions in same SCC as callee exponentially expensive
* 6a713120502a [llvm] [bindings/OCaml] Remove unused dep on ounit2
* 2de2a2bba998 [LICM][PhaseOrder] Don't speculate in LICM until after running loop rotate
* 7d1cd3380add [NFC][PhaseOrdering] Improve test coverage for D119975
* 1f4613675051 [NFC][PhaseOrdering] spurious-peeling.ll: also test -O1/-O2 results
* 36bf1a9e628d [NFC][PhaseOrdering] Precommit tests from D119965
* 67555104d23a [MachineSink] Disable if there are any irreducible cycles
* 1e4fd59253c6 [CodeGen] Add test for PR53990 (NFC)
* bfaed485756a [BOLT][CMAKE] Remove CMake 3.13.4 incompatible parameter
* 43b4544023b7 [LLD] [COFF] Order .debug_* sections at the end, to avoid leaving gaps if stripped
* e6d2aa9b0f13 [MC][WebAssembly] Fix crash when relocation addend underlows U32
* f6a4df3a0a3d [WebAssembly] Covert llvm/test/MC/WebAssembly/reloc-code.ll to asm. NFC
* 9d54fe21c67f [docs] Add RISC-V release notes for LLVM 14
* 1e3d5ccab6b6 Add cmake to source release tarballs
* 0205cc086e50 [OpenMP][FIX] Ensure custom state machine works
* 0826716786cd [Mips] support "sp" named register
* 09546e1b5103 [libc++][doc] Update the release notes.
* 8f9f84c6873e [docs] clang/docs/ReleaseNotes.rst: Add blank line
* aab33202d239 [docs] PowerPC release notes formatting/grammar fixes
* acf67b7a0dfc [docs] Tweak wording of note re: LTO on AIX
* ce1e90fc8dba [docs] Add PowerPC release notes for LLVM 14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 65d53279b1fd RISCV] More correctly ignore Zfinx register classes in getRegForInlineAsmConstraint.
* f1e7f848bf3e [clang][tests] Fix ve-toolchain tests with CLANG_DEFAULT_UNWINDLIB
* 6d5afef3a7e6 [examples][BuildingAJIT] Use the right layer when adding code in Chapter 3.
* 4fde843cd5c0 [ORC] Set ResolverBlockAddr in EPCIndirectionUtils::writeResolverBlock.
* a98c04d58930 [Attributor][FIX] Use liveness information of the right function
* 261253aa60cc [Clang][docs] Add preprocessor changes to ReleaseNotes.
* 967296bfefee [RISCV] Fix inline asm errors in zfinx
* 4c9110a5f37b [MIPS] Recognize DT_MIPS_XHASH dynamic table tag
* ce3d57ad61db Revert "[BPF] Fix a BTF type pruning bug"
* 19149538e9a9 [BPF] Fix a BTF type pruning bug
* da33d400682a [SLP] Don't try to vectorize pair with insertelement
* 3001b0d51963 [fir] Fix FlangOptimizerTests link on Solaris
* 41d4f89e38b7 [X86ISelLowering] permit BlockAddressSDNode "i" constraints for PIC
* d245bcf536a3 [Mangler] Mangle aliases to fastcall/vectorcall functions correctly
* 0372676278dd [AArch64][SME] Remove term 'streaming-sve' from assembler diagnostics.
* f58ab3285021 [Attributor][FIX] Pipe UsedAssumedInformation through more interfaces
* 4327d39b15b2 [libcxx] Add an explicit option to build against system-libcxxabi
* 3d913ec92308 [llvm] [cmake] Fix finding modern ounit2
* b3e9abd9683b [libunwind] Further fix for 32-bit PowerPC processors without AltiVec
* d09f84adff1e [compiler-rt] Force ABI to libcxxabi when building cxustom libc++
* e08bab88c900 [Driver][DragonFly] -r: imply -nostdlib like GCC
* 21f87ad9f590 [Driver][NetBSD] -r: imply -nostdlib like GCC
* 779871c3515a [mlir-tblgen] Fix non-deterministic generating static verifier in DRR.
* 4de8e5698278 [RISCV] Fix parseBareSymbol to not double-parse top-level operators
* b29813fbbbaf [OpenMP] Use executable path when searching for lld
* 14c432b6a17a [OpenMP] Add search path for llvm-strip
* 453361d5ac01 [DSE] Fall back to CFG scan for unreachable terminators.
* 03cf88fc94da [DSE] Extract a common PDT check (NFC)
* ee0ae47691d3 [RISCV] Avoid infinite loop between DAGCombiner::visitMUL and RISCVISelLowering::transformAddImmMulImm
* 61e78c64a38a [libunwind] Only include cet.h if __CET__ defined
* 5f5b687460c3 Fix warning introduced by 47eff645d8e873ba531014751c1c06a716a367e9
* 64534d2f406c [InstCombine] Bail out of load-store forwarding for scalable vector types
* 4fe93c000b20 [SLP] Fix assert from non-constant index in insertelement
* a2398c560144 [Driver][OpenBSD] Enable unwind tables on all architectures
* aadd03a2accd [clang][ASTReader] Fix memory leak while reading FriendTemplateDecls
* 8a323ada234b [clang][SemaTemplate] Fix a stack use after scope
* d61805a8b686 [libc++] Fix double file closing in `std::filesystem::remove_all()`.
* f8ca5fabdb54 [ELF][X86] Don't create IBT .plt if there is no PLT entry
* 8400036358c8 [libunwind][test] remember_state_leak.pass.sh.s: link with -no-pie
* df3182a7df19 [clang] [test] Skip hip-fpie-option.hip if default-pie
* cdd8cca0c33c [ELF] Support some absolute/PC-relative relocation types for REL format
* e89602b7b2ec [clang-tidy] Fix `readability-suspicious-call-argument` crash for arguments without name-like identifier
* 1f7e8b1c6893 [Docs] Added note about LLDB Win/Arm64 binary release
* bdbca8f3d0b2 [asan][test] asan_prelink_test.cpp: use -fno-pie -no-pie
* 3e10605abcb2 [Driver][test] Remove soon irrelevant pie tests
* 2a492dfd6b4e [Driver][test] Make hexagon-toolchain-elf.c work with CLANG_DEFAULT_PIE_ON_LINUX=on
* 443f68c280ac [clang][test] Make mips-vector-return.c work with CLANG_DEFAULT_PIE_ON_LINUX=on
* 500889f56bce [MIPS] Add `-no-pie` option to the clang driver's tests depend on it
Drop 0036-Avoid-infinite-loop-between-DAGCombiner-visitMUL-and.patch
which is upstreamed now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport a fix to avoid compiler hangs on RISCV [1]
This brings following changes
* 2fe5bf57172c [Driver] Use libatomic for 32-bit SPARC atomics support
* 46266b3518b6 [mlir][sparse] Rename index_t to index_type again
* 03d9a4094763 [AArch64][SVE] Fix selection failure during lowering of shuffle_vector
* 8b5b29c4c2c5 Fix incorrect TypeSize->uint64_t cast in InductionDescriptor::isInductionPHI
* 8c33ea3ab0ef [SVE][CodeGen] Bail out for scalable vectors in AArch64TargetLowering::ReconstructShuffle
* 1362f8bdfce7 [AArch64][SVE] Fix selection failure caused by fp/int convert using non-Neon types
* 88f8980a4d95 [AArch64][SVE] Add structured load/store opcodes to getMemOpInfo
* cefe6876d6e5 [llvm-objcopy][COFF] Fix section name encoding
* 3367c24735c3 [COFF] Move section name encoding into BinaryFormat
* 9672d11441fd [MLIR][Presburger] Disambiguate call to floor
* 08ad9ae10f32 [InstSimplify] Strip offsets once in computePointerICmp()
* 5593af72d0c5 [Attributor][FIX] Heap2Stack needs to use the alloca AS
* b3d3501aa128 [OpenMP][FIX] Eliminate race on the IsSPMD global
* 9bf8897c84f7 [OpenMP] Add RTL function to externalization RAII
* 56ac6dbc7369 [RuntimeDyld] Fix building on OpenBSD
* fef110bf8b2b [clangd] Fix building SerializationTests unit test on OpenBSD
* 13fdc7afa856 [Attributor][FIX] Reachability needs to account for readonly callees
* f3cfaf8bc8eb [MemoryBuiltins][FIX] Adjust index type size properly wrt. AS casts
* c06cc1c3a7f8 [libc++] Fix std::__debug_less in c++17.
* 7d8e83dab37a [funcattrs] check reachability to improve noreturn
* e1b3afbbdef1 [SLP] Simplify indices processing for insertelements
* 1e340705f142 [PowerPC] Add default handling for single element vectors, and split/promote vNi1 vectors.
* 908c1bae6e7f [RISCV] Fix incorrect extend type in vwmulsu combine.
[1] https://github.com/llvmbot/llvm-project/pull/95
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 42a797ef011b [ELF] Fix .strtab corruption when a symbol name is empty
* 4dc3cb8e3255 ReleaseNotes: add BOLT subsection
* 192d9680c1b1 [RISCV] add the MC layer support of Zfinx extension
* 1e348e6042fc [OpenCL] Guard atomic_double with cl_khr_int64_*
* 880717cc801d clang-analyzer plugins require LLVM_ENABLE_PLUGINS also
* 9bc22aa50780 [OpenMP][CUDA] Refine the logic to determine grid size
* ecdd25c86511 [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM.
* b0ae8076cf4c [SDAG] enable binop identity constant folds for fmul/fdiv
* 6311bae1b424 [X86] Add test cases for fmul/fdiv with select.
* 812894f74a8a [runtimes] Move warning messages for FOO_SYSROOT & friends above their default value
* c561bf0daa95 [runtimes] Add release note for deprecation of FOO_SYSROOT & friends
* 8b10e0a84047 [runtimes] Deprecate FOO_SYSROOT & friends
* 89309e187631 [lld] One more formatting fix for the release notes
* 9e1f13d14e19 [lld] Fix RST formatting in release notes
* 5264342c242b [Docs][OpenCL] Update OpenCL 3.0 status in docs.
* e8712accba11 [Docs][OpenCL] Release 14 notes.
* b54c95790b8a [Docs] Release 14 notes for SPIR-V in clang.
* fc2dbf90d12a [libc++] Mark test as unsupported with apple-clang
* edf64474d662 [ELF][PPC64] Fix assertion failure for branches to hidden undefined weak for -no-pie
* 2fc17e919f0c [libc++] Temporarily silence failing debug mode test
* dfc24b8522ba [libc++][NFC] Work around false positive ODR violations from ASan.
* 199e05e34bb8 [libc++] Add missing UNSUPPORTED for the has-no-incomplete-ranges test
* 7fdca71be63a [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES.
* e493f08f8222 [lld-macho] Fill out release notes for 14.x
* ea97fc6b564e [OpenMP][FIX] The `llvm.amdgcn.s.barrier` is actually not aligned
* 062111fe8073 InferAddressSpaces: Fix assert on inferred source for inttoptr/ptrtoint
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
These provide the cross tool prefixed with CROSS_COMPILE tuples
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|