| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
This is to workaround issue [1] seen with LLVM mips
[1] https://github.com/llvm/llvm-project/issues/54213
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
This reverts commit a6cea51ab2b0923340012655ac0f13afba899e57.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
See https://github.com/meta-qt5/meta-qt5/pull/453
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Workaround for clang crash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This reverts d5219d8 and 24e8c73 since clang has been fixed 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>
|
|
|
|
|
|
| |
Workaround Clang14 crash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Clang14 is currently crashing in optimizers, therefore workaround it by
using -O0 for now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
There are missing features in llvm-objdump especially for gnu-hash
sections for mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
do_populate_sysroot will execute the cross STRIP as part of the
processing. In non-clang builds this is present via POPULATESYSROOTDEPS
pulling in binutils, but in clang builds STRIP is set to llvm-strip which
obviously isn't part of binutils.
Set POPULATESYSROOTDEPS correctly to ensure that do_populate_sysroot has
the strip binary available.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
| |
its not going to be backward ABI compatible with honister due to variable renaming.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Enable riscv64 as the support is now available
this update is needed for it to work with clang14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These tools are better integrated with clang produced output consumption
pipeline, therefore use them when using clang as compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This is until upstream bugs are fixed, linux-firmware change however is
legit and will be permanent
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>
|
|
|
|
|
|
| |
for riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: yangpeng1995 <1336781165@qq.com>
|
|
|
|
|
|
| |
This version supports llvm main, llvm 13.x, and llvm 14.x.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
latest opensbi seems to build fine now a days
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
When building libunwind, install new headers which are refactored from
unwind.h in clang 14.0.0 onwards
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Drop upstreamed patch 0001-Remove-APInt-APSInt-toString-std-string-variants.patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Commit a494bbb6ec44 ("clang: support android runtime") introduced an
unrelated change causing builds with RUNTIME="llvm" and COMPILER_RT not
set to get a dependency on virtual/${TARGET_PREFIX}compilerlibs.
This is clearly unrelated to addition of support for android runtime,
and causing unwanted depdencies to gcc-runtime for LLVM builds.
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Fixes a warning additionally generated by clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It needs work to get going with clang. Until then keep using gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The code has inline arm asm in header files which is not compilable with
clang's internal assembler.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes in this uprev
* 75e33f71c2da [X86] combineVectorHADDSUB - remove the broken HOP(x,x) merging code (PR51974)
* 6349865a8f37 [CMake] Don't use -fno-semantic-interposition with Clang<=13
* b3dcd156472f [ARM] Define ComplexPatternFuncMutatesDAG
* 1f1854ce0fe5 [Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind
* fc043d8a256b Revert "[lld][CMake] Add LLD_DEFAULT_NOSTART_STOP_GC"
* 5869ea6c6254 [sanitizer] msan build fix on non linux platforms
* b9a243d1cac2 (tag: llvmorg-13.0.1-rc2) [Coroutines] Enhance symmetric transfer for constant CmpInst
* 9d9efb1f67ff [lld][CMake] Add LLD_DEFAULT_NOSTART_STOP_GC
* 52a400d8e4c4 [InlineCost] model calls to llvm.is.constant* more carefully
* eaeb7dcf3249 ARM: make FastISel & GISel pass -1 to ADJCALLSTACKUP to signal no callee pop.
* eecd0f055baa Have lit preserve SOURCE_DATE_EPOCH
* bfb1bd1b9906 [Clang][Sema] Avoid crashing for va_arg expressions with bool argument
* 1ac6bb3c4dd4 [Clang][CFG] check children statements of asm goto
* 12aaa8553f82 [InstCombine] Remove attributes after hoisting free above null check
* 35df3f98639e [DIArgList] Re-unique after changing operands to fix non-determinism
* 0f915e755eae [RegAllocFast] Fix nondeterminism in debuginfo generation
* 33f7aa65f5d7 [DSE] Fix invalid removal of store instruction
* 426297cce9d5 [DSE] Add test case showing bug PR52774.
* 0d44201451f0 [MachineOutliner] Don't outline functions starting with PATCHABLE_FUNCTION_ENTER/FENTRL_CALL
* 69fcfdedc505 [AArch64][GlobalISel] Fix an crash in RBS due to a new regclass being added.
* d31f8cc6884b [AArch64] Avoid crashing on invalid -Wa,-march= values
* 67b5bc26bde8 [DebugInfo] Check DIEnumerator bit width when comparing for equality
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Extending poky's create-spdx class for SDKs results in a dependency loop:
nativesdk-clang-glue.bb:do_create_spdx ->clang_git.bb:do_create_spdx ->
clang-crosssdk_git.bb:do_create_spdx ->
nativesdk-clang-glue.bb:do_create_spdx. Delete spdx tasks from
nativesdk-clang-blue.bb
Signed-off-by: Andres Beltran <abeltran@microsoft.com>
|
|
|
|
|
|
|
| |
run-clang-tidy.py is being run on unique files only
when using this patch
Signed-off-by: Serikzhan Kazi <doze-tile-ruse-exit@mbition.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This brings in
* 9468a0f95385 [PowerPC] Define XL-compatible macros only for AIX and Linux
* ae24102617c9 [X86] Don't add implicit REP prefix to VIA PadLock xstore
* c95753ff5c11 [NFC][X86] Add MC tests for all untested VIA PadLock instructions
* d9f927f2cfe8 [sanitizer] Disable test incompartible with recert GLIBC
* abc0cf92bb14 [sanitizer] Intercept lstat on Linux
* b40f07b048c4 [msan] Add stat-family interceptors on Linux
* 59289a837b00 [AA] Handle callbr instructions in alias analysis
* 5b2990a6ff77 [ELF] #undef PPC to support GCC powerpc32 build
* bdd28a2a138f [sanitizer] Don't test __pthread_mutex_lock with GLIBC 2.34
* 2c6c3e4b713b [asan] Fix "no matching function" on GCC
* c1b51f098751 [msan] Disabled test failing on new GLIBC
* 578e500fe5ba [Sparc] Create an error when `__builtin_longjmp` is used
* cd4ebb2918ae [LazyCallGraph] Skip blockaddresses
* d4a57c84834c workflows: Update workaround for lldb on Mac OS
* d96358a28193 [compiler-rt] Increase kDlsymAllocPoolSize to fix test failures
* c446ac46746e [Passes] Fix relative lookup table converter pass
* 9fb79e6940b2 [PowerPC] Handle base load with reservation mnemonic
* e68f640deecc [ELF][PPC32] Make R_PPC32_PLTREL retain .got
* 87ca22cba2fa [Support] Attempt to fix deadlock in ThreadGroup
* d904698b53e4 [Analysis] Ignore casts and unary ops for uninitialized values
* 5932c004778c [MC][ELF] Fix accepting abbreviated form with Type change
* 29276490d13c [MC][ELF] Do not error on parsing .debug_* section directive for MIPS
* 724ed207b760 [ELF] Hint -z nostart-stop-gc for __start_ undefined references
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This helps in creating cross utilities to be used during OE cross builds
as noted in
Issue #491
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
|
|
|
|
|
|
|
|
| |
```virtual/${TARGET_PREFIX}binutils``` shall be used and not ```binutils-cross-${TARGET_ARCH}```
In the case of an external arm toolchain, ```binutils-cross-aarch64``` does not exist and creates following error:
```
Missing or unbuildable dependency chain was: ['tisdk-base-image', 'packagegroup-core-standalone-sdk-target', 'libcxx-dev', 'compiler-rt', 'clang-cross-aarch64', 'binutils-cross-aarch64']
```
Signed-off-by: Guillaume Pais <guillaume.pais@siemens.com>
|
|
|
|
|
|
| |
Ensures right dependencies are added, and keep it off by default
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is new variable added in clang 14+ to defaultl to PIE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fixes brought in
* f3394dc82c20 [libc++] Fix wrongly non-inline basic_string::shrink_to_fit
* 52bfd2c1ccd8 [ELF] Do not report undefined weak references in shared libraries
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Build on OpenEmbedded Host, compiler-rt-native do_configure failed with
following error:
compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang -target x86_64-linux
-isystem/path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/include
-O2 -pipe
/path/to/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/share/cmake-3.21/Modules/CMakeCCompilerABI.c`
| /build/tmp-glibc/hosttools/ld: cannot find crtbeginS.o: No such file or directory
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
Since OpenEmbedded Host's gcc install path is different with clang's
default search form, patch for OpenEmbedded Host's gcc library install
path.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
| |
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
|
|
|
|
|
|
|
| |
While building bcc for the target it depends on flex target recipe. So
add that dependency explicity.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
|