[all-commits] [llvm/llvm-project] 8aeace: [libc++] Add initial support for picolibc

Michael Platings via All-commits all-commits at lists.llvm.org
Wed Nov 29 07:43:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8aeacebf288b2f5dc9d3f23e9ac9a4f910238504
      https://github.com/llvm/llvm-project/commit/8aeacebf288b2f5dc9d3f23e9ac9a4f910238504
  Author: Michael Platings <michael.platings at arm.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    A libcxx/cmake/caches/Armv7M-picolibc.cmake
    M libcxx/docs/index.rst
    A libcxx/test/configs/armv7m-picolibc-libc++.cfg.in
    M libcxx/test/libcxx/atomics/atomics.types.generic/atomics.types.float/lockfree.pass.cpp
    M libcxx/test/libcxx/clang_modules_include.gen.py
    M libcxx/test/libcxx/selftest/dsl/dsl.sh.py
    M libcxx/test/libcxx/selftest/pass.cpp/run-error.pass.cpp
    M libcxx/test/libcxx/selftest/pass.mm/run-error.pass.mm
    M libcxx/test/libcxx/system_reserved_names.gen.py
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/assign.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/compare_exchange_strong.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/compare_exchange_weak.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/ctor.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/exchange.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/load.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/lockfree.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_all.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/notify_one.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.float.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/store.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/wait.pass.cpp
    M libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp
    M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp
    M libcxx/test/std/depr/depr.c.headers/fenv_h.compile.pass.cpp
    M libcxx/test/std/depr/depr.c.headers/uchar_h.compile.pass.cpp
    M libcxx/test/std/experimental/simd/simd.reference/reference_assignment.pass.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/clog.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cout.sh.cpp
    M libcxx/test/std/iterators/iterator.primitives/iterator.traits/cxx20_iterator_traits.compile.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
    M libcxx/test/std/language.support/support.runtime/ctime.timespec.compile.pass.cpp
    M libcxx/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp
    M libcxx/test/std/strings/c.strings/cuchar.compile.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.file/to_from_sys.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.hires/now.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.system/from_time_t.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.system/now.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.system/to_time_t.pass.cpp
    M libcxx/test/std/time/time.point/time.point.nonmember/op_-duration.pass.cpp
    M libcxx/utils/ci/BOT_OWNERS.txt
    A libcxx/utils/ci/build-picolibc.sh
    M libcxx/utils/ci/buildkite-pipeline.yml
    M libcxx/utils/ci/run-buildbot
    M libcxx/utils/libcxx/test/features.py
    A libcxxabi/test/configs/armv7m-picolibc-libc++abi.cfg.in
    M libcxxabi/test/test_demangle.pass.cpp
    A libunwind/test/configs/armv7m-picolibc-libunwind.cfg.in

  Log Message:
  -----------
  [libc++] Add initial support for picolibc

Picolibc is a C Standard Library that is commonly used in embedded
environments. This patch adds initial support for this configuration
along with pre-commit CI. As of this patch, the test suite only builds
the tests and nothing is run. A follow-up patch will make the test suite
actually run the tests.

Differential Revision: https://reviews.llvm.org/D154246




More information about the All-commits mailing list