[all-commits] [llvm/llvm-project] 3b6557: [libc][stdlib] move abort to a header library and ...

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Tue Apr 7 15:50:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b6557f178691b97c86724c0744f13bd510de3e3
      https://github.com/llvm/llvm-project/commit/3b6557f178691b97c86724c0744f13bd510de3e3
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2026-04-07 (Tue, 07 Apr 2026)

  Changed paths:
    M libc/src/assert/generic/CMakeLists.txt
    M libc/src/assert/generic/__assert_fail.cpp
    M libc/src/assert/gpu/CMakeLists.txt
    M libc/src/assert/gpu/__assert_fail.cpp
    M libc/src/compiler/generic/CMakeLists.txt
    M libc/src/compiler/generic/__stack_chk_fail.cpp
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/abort.cpp
    A libc/src/stdlib/abort_utils.h
    M libc/src/stdlib/baremetal/CMakeLists.txt
    R libc/src/stdlib/baremetal/abort.cpp
    A libc/src/stdlib/baremetal/abort_utils.h
    M libc/src/stdlib/gpu/CMakeLists.txt
    R libc/src/stdlib/gpu/abort.cpp
    A libc/src/stdlib/gpu/abort_utils.h
    M libc/src/stdlib/linux/CMakeLists.txt
    R libc/src/stdlib/linux/abort.cpp
    M libc/src/stdlib/linux/abort_utils.h
    M libc/test/integration/src/stdlib/abort_test.cpp
    M libc/test/src/assert/assert_test.cpp

  Log Message:
  -----------
  [libc][stdlib] move abort to a header library and cleanup its usage (#190845)

This PR moves abort implementation to a header library so that internal
dependency no longer relies on the entrypoint object.
Additionally, it clean up prior dependency to the entrypoint object and
update staled tests.

Assisted-by: Claude Opus 4.6 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list