[libc-commits] [libc] [libc] fix scudo integration build (PR #116979)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Wed Nov 20 06:44:56 PST 2024


https://github.com/SchrodingerZhu updated https://github.com/llvm/llvm-project/pull/116979

>From 3697a6489870e5b84fa985442c52cec719342b1a Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Wed, 20 Nov 2024 09:37:32 -0500
Subject: [PATCH 1/2] [libc] fix scudo integration build

---
 libc/test/integration/scudo/CMakeLists.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libc/test/integration/scudo/CMakeLists.txt b/libc/test/integration/scudo/CMakeLists.txt
index a5f7e3b63d24c3..06d7ee6eca67d7 100644
--- a/libc/test/integration/scudo/CMakeLists.txt
+++ b/libc/test/integration/scudo/CMakeLists.txt
@@ -21,6 +21,15 @@ add_entrypoint_library(
     libc.src.errno.errno
     libc.src.unistd.__llvm_libc_syscall
     libc.src.sched.__sched_getcpucount
+    libc.src.unistd.sysconf
+    libc.src.sys.auxv.getauxval
+    libc.src.sys.prctl.prctl
+    libc.src.sys.mman.mmap
+    libc.src.sys.mman.munmap
+    libc.src.unistd.read
+    libc.src.unistd.write
+    libc.src.unistd.close
+    libc.src.fcntl.open
 )
 
 add_executable(

>From 8c852204df020666a01dc07f6d0ba16c55e91c0b Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Wed, 20 Nov 2024 09:44:41 -0500
Subject: [PATCH 2/2] [libc] sort

---
 libc/test/integration/scudo/CMakeLists.txt | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/libc/test/integration/scudo/CMakeLists.txt b/libc/test/integration/scudo/CMakeLists.txt
index 06d7ee6eca67d7..b4011e501b96b3 100644
--- a/libc/test/integration/scudo/CMakeLists.txt
+++ b/libc/test/integration/scudo/CMakeLists.txt
@@ -13,23 +13,23 @@ endif()
 add_entrypoint_library(
   libc_for_scudo_integration_test
   DEPENDS
-    libc.src.stdlib.malloc
-    libc.src.stdlib.calloc
-    libc.src.stdlib.realloc
-    libc.src.stdlib.aligned_alloc
-    libc.src.stdlib.free
     libc.src.errno.errno
-    libc.src.unistd.__llvm_libc_syscall
+    libc.src.fcntl.open
     libc.src.sched.__sched_getcpucount
-    libc.src.unistd.sysconf
+    libc.src.stdlib.aligned_alloc
+    libc.src.stdlib.calloc
+    libc.src.stdlib.free
+    libc.src.stdlib.malloc
+    libc.src.stdlib.realloc
     libc.src.sys.auxv.getauxval
-    libc.src.sys.prctl.prctl
     libc.src.sys.mman.mmap
     libc.src.sys.mman.munmap
+    libc.src.sys.prctl.prctl
+    libc.src.unistd.__llvm_libc_syscall
+    libc.src.unistd.close
     libc.src.unistd.read
+    libc.src.unistd.sysconf
     libc.src.unistd.write
-    libc.src.unistd.close
-    libc.src.fcntl.open
 )
 
 add_executable(



More information about the libc-commits mailing list