[libc-commits] [libc] 9830518 - [libc][obvious] fix strdup being listed twice

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Oct 27 11:13:12 PDT 2021


Author: Michael Jones
Date: 2021-10-27T11:13:08-07:00
New Revision: 98305180828b74e3e765975b9964ca051ea54df2

URL: https://github.com/llvm/llvm-project/commit/98305180828b74e3e765975b9964ca051ea54df2
DIFF: https://github.com/llvm/llvm-project/commit/98305180828b74e3e765975b9964ca051ea54df2.diff

LOG: [libc][obvious] fix strdup being listed twice

strdup was being included even if malloc wasn't and that was causing
a build failure.

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

Added: 
    

Modified: 
    libc/config/linux/x86_64/entrypoints.txt

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt
index b70aabd88a05..9f25e9e8efd5 100644
--- a/libc/config/linux/x86_64/entrypoints.txt
+++ b/libc/config/linux/x86_64/entrypoints.txt
@@ -36,7 +36,6 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.string.strcmp
     libc.src.string.strcpy
     libc.src.string.strcspn
-    libc.src.string.strdup
     libc.src.string.strlen
     libc.src.string.strncat
     libc.src.string.strncmp


        


More information about the libc-commits mailing list