| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 185b81e034ba [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression
* 42f2e6efd844 [AA] Fix comparison of AliasResults (PR63019)
* 57c54b25929c [GVN] Add test for PR63019 (NFC)
* 726af32b5cee [X86][BF16] Fix 2 crashes with vector broadcast
* 4fd1b8691da0 [Analysis][LoongArch] Add sign extension for i32 parameters and returns
* 74b5a0af52eb [lld][WebAssembly] Initial support for stub libraries
* 9c865c230791 [lld][WebAssembly] Implement --why-extract flag from the ELF backend
* ad815b672d22 [Clang][Sema] Fix invalid cast when validating SVE types within CheckVariableDeclarationType.
* cf85b3e5662d [clang] Fix crash when handling nested immediate invocations
* e32cbe930f5b [CMake][AIX] Fixing AIX rpath
* b98da4c71edd [CMake] Don't set absolute paths as install runpaths on ELF platforms in llvm_setup_rpath()
* 87e99dec85b6 Revert DSE workarounds, this was causing some problems in main.
* 84078877549b [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization
* 3a69d8111157 [CMake] Set compatibility policy for lists in LLVM-Config.cmake.
* 35bd94a4b791 [clang-format] Handle <chrono> ud suffixes in IntegerLiteralSeparator
* 9d0a2a41081b [BOLT][CMake] Use correct output paths and passthrough necessary options
* 094f77145b95 [Hexagon] Add patterns for bspap/bitreverse for scalar vectors
* 07808f6947a9 [llvm-mca] Fix duplicate symbols error
* 17ceb9512a52 Reland "[Driver] Support multi /guard: options"
* cd932165e595 Revert "[Driver] Support multi /guard: options"
* 8c6c56dca37b [X86] Don't crash on instruction prefetch intrinsics without PREFETCHI support.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When INHIBIT_DEFAULT_DEPS = "1" then the toolchain is not staged in
Recipe specific native sysroot at all, therefore there is no point of
creating the symlink
Moreover it also fixes build of such recipes when ld-is-lld is set at
distro level
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
See [1]
[1] https://codereview.qt-project.org/c/yocto/meta-qt6/+/476890
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
| |
Updating to latest URIs used by GitHub.com
|
|
|
|
|
|
|
|
|
| |
the upstream changed the shebang of python scripts in tools folder[1],
this would cause do_install:append cannot conver all scripts.
[1] https://github.com/iovisor/bcc/commit/3f5e402bcadf44ce0250864db52673bf7317797b
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
|
|
|
|
|
|
|
| |
Document a way to let clang provide llvm as well.
This helps this layer pass the yocto check layer test
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings in
* 5729e63ac7b4 Fix ArgsAsWritten being null for ConceptSpecializationExpr in certain circumstances when parsing ASTs
* 2eb26b66c639 workflows/release-tasks: Remove stray backslash
* 812ea0780cfa Bump version to 16.0.5
* ae42196bc493 clangd] Fix builds after 4ddae8b941398a6579d3
* 21f3dfbc2673 [clangd] Fix test failure when it's built with compiler flags unknown by clang
* 82b4446f25d4 [Clang][BPF] Type print btf_type_tag properly
* e24a8596a81b [SelectionDAG][RISCV] Remove code for handling too small shift type from SimplifyDemandedBits.
* 46e68a277715 [Driver] Support multi /guard: options
* d5cce0a7781b [cmake] Disable GCC lifetime DSE
* 57262bbd32c3 [clang-tidy][test] Add trailing -- to suppress compile_commands.json read
* df309b120853 fix stack probe lowering for x86_intrcc
* 1a04a5f1cf15 [flang] Fix optional assertion in PFTBuilder
* bef3459fcde7 [clang] Fix default initializers being ignored when initializing templated aggregate types
* 83c2387c87e6 Reapply "[SystemZ] Bugfix in expansion of memmem operations."
* 3c1576cc0c54 Bump version to 16.0.4
* da3cd333bea5 compiler-rt] [test] Mark dfsan tests XFAIL on glibc-2.37
* 0c7669bc2bbf [clang][driver] Pass `-femulated-tls` through to the linker in LTO mode
* 753307debc04 [RuntimeDyld] Disable some ppc64 tests on 32-bit architectures.
* 93e555fbd794 [InstCombine] Fix buggy `(mul X, Y)` -> `(shl X, Log2(Y))` transform PR62175
* ff9dc9c4fb11 [clang] Fix 2 bugs with parenthesized aggregate initialization
* 3cc0a562969b Clear read_fd_set if EINTR received
* 5db6c9daf033 [SimplifyCFG] Don't merge invoke if this makes immarg non-constant (PR61265)
* 33b41a6564f9 [clang] Fix a crash with parenthesized aggregate initialization and base classes
* 7a26555f8d48 [LLD][COFF] Add /inferasanlibs to lld-link as ignored flag
* 4676274c9eb2 [LLD][COFF] Print object file name for unsupported directives
* e86119670799 [CodeGen][MachineLastInstrsCleanup] fix INLINEASM_BR hazard
* ec79a4730428 [CodeGen] precommit machine-latecleanup test
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required with clang after the assembly file is added which uses
these instructions. it works with gcc because it uses
.option directive to enable zbb extentions in toolchain on the fly
clang does not have similar option
| <instantiation>:6:21: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax'
| .option arch, +zbb
This fixes
| src/libavcodec/riscv/bswapdsp_rvb.S:61:9: error: instruction requires the following: 'Zbb' (Basic Bit-Manipulation) or 'Zbkb' (Bitmanip instructions for Cryptography)
| rev8 t0, t0
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Create a symbolic link lld -> ld in recipe sysroot to choose the
default linker lld when ld-is-lld is set in DISTRO_FEATURES. othereise,
we can get linking issues when '-fuse-ld=lld' is in LDFLAGS but the
actual ld is not lld.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
| |
0037-clang-Call-printName-to-get-name-of-Decl.patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This bbappend is now just:
YOCTO_ALTERNATE_EXE_PATH:toolchain-clang = "${STAGING_LIBDIR}/llvm-config"
YOCTO_ALTERNATE_EXE_PATH:toolchain-clang = "1"
This results in YOCTO_ALTERNATE_EXE_PATH being "1". The second line is
clearly a typo, so if we remove this then it changes the path from
STAGING_BINDIR (as set in clang.bbclass) to STAGING_LIBDIR. If this is
the correct change to make then it should be done in clang.bbclass
instead.
Also, the only place that YOCTO_ALTERNATE_EXE_PATH is respected is as an
environment variable, and this is never exported. It is likely that the
second line was meant to end [export] = "1".
This parameter appears to be no longer needed, so remove the append.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
|
|
|
| |
--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>
|
|
|
|
|
|
|
|
| |
e.g. -msha will otherwise be deemed available when using clang which is
not correct, therefore treat unused-command-line-argument as error which
will be flagged on non-x86 arches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
| |
The function was renamed in 9d190cb3b3
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings these set of changes
* bd6783b38076 [compiler-rt] Fix invalid triple on ARM build
* ccbab5979b7b [compiler-rt] Fix scudo build on ARM
* 464bda7750a3 workflows/release-tasks: Always run apt-get update before installing deps
* 64a7c127cea8 workflows/release-binaries: Install missing dependencies
* 12f17d196eff [docs] Add missing Clang release note.
* 6e5368c3967a workflows/release-binaries: Add missing output variable
* 57c2b1e9232a Bump version to 16.0.3
* 18ddebe1a1a9 Remove UB-implying metadata when promoting speculative instruction.
* dbcd2e9330cd [runtimes][asan] Fix swapcontext interception
* ec006fb244ff [nfc][asan] Reformat the file
* c4ac4533ea2b [test][asan] Simplify test
* f2b0bf320824 llvm-exegesis: Only run target specfic tests on native hosts
* b32dda29731d github: Add manual workflow to build and upload release binaries
* ef4c1777ee80 [flang] Complex numbers in function arguments on Windows
* 840ac8c52fd1 [clang-format] Fix regression with AlignTrailingComments set to true
* 70e4662aa499 Revert "[clang-format] Handle object instansiation in if-statements"
* bf80902fdd43 [StackProtector] don't check stack protector before calling nounwind functions
* 82432ac5cc7d [libunwind][LoongArch] Restore $r1 before $r4 in `jumpto`
* ecbc5ca533cd [libunwind][test] Add test to check for unw_resume()
* 1c76740cb3b9 [AArch64] Basic target(+crypto) handling
* b5aa566a7e53 [Support] Improve Windows performance of buffered raw_ostream
* 74e76ab7b6f8 [LinkerWrapper] Switch to add_clang_tool() macro
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This option is not available in clang yet
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Clang gives a name to the constructors of anonymous structures in
debug info that's based on the filename of the structure's definition.
It didn't respect the debug-prefix-map setting, causimg QA warnings
in several recipes, notably libcxx.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
|
|
|
|
| |
* The perl scan-build script need some perl-modules to be executable
Signed-off-by: Michel Zink <m.zink@rational-online.com>
|
|
|
|
|
|
|
| |
* it's needed for compatibility with updated fetcher from:
https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings following changes
* cd89023f7979 [SPARC] Attempt to fix bug introduced by D142458
* c57b104e95c1 [SPARC] Implement hooks for conditional branch relaxation
* c3591d714b49 [Local] Handle size mismatch between pointer/int in copyRangeMetadata()
* dae44c8ccc84 [clang-format] Don't annotate left brace of struct as FunctionLBrace
* 86b0c6e40502 [SelectionDAG] Correctly reduce BV to shuffle with zero on big endian
* b27338656d7d [llvm-rc] Fix the reference to the option for disabling preprocessing in a message
* b9857e6711a2 [llvm-rc] Look for "clang-<major>" when locating a suitable preprocessor
* 35551022bf04 [llvm-rc] Respect the executable specified in the --preprocessor command
* 1fa1bc9c2dff [libc++] Don't try to provide source_location on AppleClang 1403
* 555e0e732d48 [RISCV] Support emulated TLS
* 356cb7e0d016 [clang-format] Add MinDigits suboptions to IntegerLiteralSeparator
* 6bf663061947 [clang-format] Don't format already formatted integer literals
* 7b133944eb89 [RISCV] Allow llvm-objdump to disassemble objects with unrecognised versions of known extensions
* 110b4fd2d9cf Revert "[dsymutil] dsymutil produces broken lines info (probably) with LTO on mac"
* 1e33c7482b45 [clang][MinGW] Add asan DLL lib before other libs and objects
* e59e0b9bd374 ARMFrameLowering.cpp - fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
* 79e743f16cd9 [ARM] Handle generating SEH unwind info for t2STR_PRE/t2LDR_POST
* c163d43e2207 [libc++] Mark a test relying on `typeid` as unsupported without RTTI.
* 9ec8096d0d50 [release/16.x][libc++] Revert the bitset sort optimization
* 34e907fdba13 [libc++] Fix CI on release/16.x
* e16f668f5ed0 [clang-format] Handle '_' in ud-suffix for IntegerLiteralSeparator
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang-cl is a symlink to clang, if we package it into clang-tools then
it created an automatic dependency on the package providing clang binary
which is clang in this case. So when someone wants to install just
clang-tools, it will drag the compiler along as well, which may not be
desired, this fixes the problem.
Fixes https://github.com/kraj/meta-clang/issues/676
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
There is no need to enforce clang for nativesdk here
let it use defaults.
Fixes https://github.com/kraj/meta-clang/issues/686
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It supports clang-16
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>
|
|
|
|
|
|
|
| |
Keep the packageconfig for gallium-llvm from core
export YOCTO_ALTERNATE_EXE_PATH only when toolchain-clang is in use
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings following bugfixes
* 42d1b276f779 Bump version to 16.0.1
* ebafcb86c35c [CMake] Respect variables for specifying host tools even without LLVM_USE_HOST_TOOLS set
* 8de1b29840b5 [llvm-objdump] Fix help message for --print-imm-hex
* 1ca4b5cfaa70 [sanitizer][win] Change cmdline check to allow double backslashs
* 973cea755440 [BOLT] Search section based on relocation symbol
* 140c68db4fe4 [libc++] Avoid ODR violations in __exception_guard
* a18482ac5089 [BOLT][AArch64] Replace NOP with adrp in AdrRelaxationPass to preserve relative offsets.
* c2ef3257df81 [BOLT][NFC] Remove C-style out of bounds array ref
* 1c1ab11d6e1e [RISCV][MC] Adjust conditions to emit R_RISCV_ADD*/R_RISCV_SUB* pairs
* 34194d85544f [test] Add some interesting cases to MC/RISCV/riscv64-64b-pcrel.s
* ee1493c713d6 [test] Improve MC/RISCV/riscv64-64b-pcrel.s to demonstrate regression due to D132262
* 4f243f137859 [test] Improve MC/RISCV/riscv64-64b-pcrel.s
* 1f9ea2d3f045 [X86] AMD Genoa (znver4) Scheduler model update
* 0b4106274631 [BOLT] Reject symbols pointing to section end
* 14ed120b2307 No longer issue static lambda pedantic warning for pre-c++2b compat
* 32b8cc7031f0 [BOLT] Fix data reoder for aarch64
* 867c59c2da17 [Coroutines] Pass size parameter for deallocation function when qualified
* 6dc69d034845 [libc++][ranges] Fix incorrect integer typedef in `elements_view` test.
* 99af55f91f5d [libc++][format] Fix a missing include in tests.
* 8a80823218a8 [libunwind][PowerPC] Fix saving/restoring VSX registers on LE systems
* c5b23ab2a31a JITLink: Add missing EHFrame NULL terminator on aarch64/ELF
* 2352a1b1e917 Reapply [lld][flang] Add exceptions for Flang runtime libraries on MinGW.
* 37ea87b88d07 No longer issue pedantic warning about pre-c++2b compat
* a70565f7de2e [libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module)
* 56edf062bdb6 [dsymutil] dsymutil produces broken lines info (probably) with LTO on mac
* bec9a607690b [compiler-rt] Add missing #else clause to fix the build on NetBSD.
* 3c0850337bd8 [X86] Fix encoding for ATOMIC_LOGIC_OP
* ba22382d514b [X86] Add negative test for D145930
* 2861fa247395 [Driver][FreeBSD] Simplify ARM handling
* 1172ed57d823 [analyzer] Fix crashing getSValFromInitListExpr for nested initlists
* 830229ee918d [WebAssembly] Add auto-upgrade for renamed intrinsics
* b5f9ea64b207 [X86] Support load/store for bf16 in avx
* bb6a97c15aa2 [AArch64] fix bug #55005 handle DW_CFA_GNU_NegateRAState
* aef3508f89c4 [flang] Fixed uninitialized std::unique_ptr dereference.
* fbf716ffe163 [flang] Fixed restrictions checking for OpenACC loop-associated constructs.
* 2ecbe73ceeda [flang] Fix dereference of std::optional with no value
* 0e227de08e32 [LLDB][ObjectFileELF] Correct the return type of Reloc{Offset,Addend}32
* 7d28293f17fa [LLDB][ObjectFileELF] Correct the return type of RelocOffset64 and RelocAddend64
* 6d3b7679ef21 [LLDB][ObjectFileELF] Support LoongArch64 in ApplyReloctions
* a824efcd0158 [BPF] Improve pruning to avoid generate more types in BTF
* ab86d147e852 [libunwind][AArch64] Unbreak building with GNU assembler
* 526102b37e59 [InstCombine] Canonicalize icmp eq pow2 more thoroughly
* 7049d5895700 [InstCombine] Add additional test for icmp eq/ne with bool load (NFC)
* b3ea3484c063 [Pipelines] Restore old DAE position in LTO pipeline
* 72cb90bd7b62 [PhaseOrdering] Add test for DAE/GlobalDCE interaction (NFC)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
It fails to run task do_package of compiler-rt with
[installed-vs-shipped] issue when ${libdir} does not equal
${nonarch_libdir}. Update do_install script to fix the issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
|
|
|
|
|
| |
This ensures bundled gn is built propertly using gnu rumtime for build
host
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
This reverts commit 20a8cff8ba0ce02773946cd7ba398fc08969ce1e.
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It does not build them with 16.0.0+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Try to compile with clang 16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Clang-16 adds this new warnings which triggers on nodejs, disable it for
now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Clang-16 finds more warnings which are treated as errors, lets disable
them for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This needs to get several recipes to work with clang-16, originally the
problem is in vala I think. Which should be fixed in due course
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It fails to configure in lit tests during cross compile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Install uses MAJOR_VERSION only but clang still searches in
${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} for it, so this inconsistency
needs to be fixed until them we just move the install from
${MAJOR_VER} -> ${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Changes are described here [1]
[1] https://discourse.llvm.org/t/llvm-16-0-0-release/69326
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The recipe has been patched to remove the clang dependency and moved to meta-openembedded at
https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
|
| |
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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Use system provided bpf and bcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When the bbappend was moved to Meson in 2019[1] the EXTRA_OEMESON
variable was misspelt as EXTRA_OEMASON.
As this assignment hasn't been needed since 2019, we can remove it.
[1] 66f826b89d9e290f8a82c15dea251f41c2580fc3
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
|
| |
qemux86 and qemux86-64 builds are successful without these now, so
remove them.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|