[all-commits] [llvm/llvm-project] bfd702: [LibC] Refactor arm64 to aarch64 for darwin. (#141...

Aly ElAshram via All-commits all-commits at lists.llvm.org
Thu May 29 20:41:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfd7024b0d665de02abbfc7b16f593020d2c12c9
      https://github.com/llvm/llvm-project/commit/bfd7024b0d665de02abbfc7b16f593020d2c12c9
  Author: Aly ElAshram <71949028+AlyElashram at users.noreply.github.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M libc/cmake/modules/LLVMLibCArchitectures.cmake
    A libc/config/darwin/aarch64/entrypoints.txt
    A libc/config/darwin/aarch64/headers.txt
    R libc/config/darwin/arm/entrypoints.txt
    R libc/config/darwin/arm/headers.txt
    A libc/src/__support/OSUtil/darwin/aarch64/CMakeLists.txt
    A libc/src/__support/OSUtil/darwin/aarch64/syscall.h
    R libc/src/__support/OSUtil/darwin/arm/CMakeLists.txt
    R libc/src/__support/OSUtil/darwin/arm/syscall.h
    M libc/src/__support/OSUtil/darwin/syscall.h

  Log Message:
  -----------
  [LibC] Refactor arm64 to aarch64 for darwin. (#141509)

Fixes [#141505](https://github.com/llvm/llvm-project/issues/141505)

The main intention behind this PR is to update the
LibCTargetArchitecture for arm64 to use the implementation of aarch64
architecture and not arm32.

This is a historical issue , and is a blocker to issue #138407. 

The intended fix is to set the `LibCTargetArchitecture` to aarch64 when
it matches arm64 , this in turn would help us run darwin/aarch64
specific code on our MacOs pipeline in the git actions.

Methods used to search and find "darwin/arm" directories was  

1. "find . -type d -path "*/libc/*/darwin/arm" in a linux terminal to
check for arm specifically
2. "find . -type d -path "*/libc/*/darwin/*" to ensure there are no
directories that are named "*arm*" where star is a wildcard for any
character.



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