[libc-commits] [libc] [libc] Correct the entrypoints list for ARM/darwin (PR #107331)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Sep 4 16:55:24 PDT 2024


https://github.com/michaelrj-google created https://github.com/llvm/llvm-project/pull/107331

These entrypoints were added to every target without testing. They don't
work on ARM macs.


>From daae791a8862148a5c2a67fe35d915003dc71c1a Mon Sep 17 00:00:00 2001
From: Michael Jones <michaelrj at google.com>
Date: Wed, 4 Sep 2024 16:53:56 -0700
Subject: [PATCH] [libc] Correct the entrypoints list for ARM/darwin

These entrypoints were added to every target without testing. They don't
work on ARM macs.
---
 libc/config/darwin/arm/entrypoints.txt | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/libc/config/darwin/arm/entrypoints.txt b/libc/config/darwin/arm/entrypoints.txt
index 36da9e13136638..a012504daa5c54 100644
--- a/libc/config/darwin/arm/entrypoints.txt
+++ b/libc/config/darwin/arm/entrypoints.txt
@@ -94,16 +94,6 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.stdlib.calloc
     libc.src.stdlib.realloc
     libc.src.stdlib.free
-
-    # stdio.h external entrypoints
-    libc.src.stdio.snprintf
-    libc.src.stdio.sprintf
-    libc.src.stdio.asprintf
-    libc.src.stdio.asprintf
-    libc.src.stdio.vprintf
-    libc.src.stdio.vsnprintf
-    libc.src.stdio.vsprintf
-    libc.src.stdio.vasprintf
 )
 
 set(TARGET_LIBM_ENTRYPOINTS
@@ -148,9 +138,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.cospif
     libc.src.math.dfmal
     libc.src.math.dsqrtl
-    libc.src.math.daddl
     libc.src.math.ddivl
-    libc.src.math.dsubl
     libc.src.math.erff
     libc.src.math.exp
     libc.src.math.expf



More information about the libc-commits mailing list