[libc-commits] [libc] [libc] remove staled header libraries (PR #192656)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Fri Apr 17 06:42:57 PDT 2026


https://github.com/SchrodingerZhu created https://github.com/llvm/llvm-project/pull/192656

None

>From 3687f9e71dba6a52d3dce5beea2b03b78939a451 Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Fri, 17 Apr 2026 09:42:04 -0400
Subject: [PATCH] [libc] remove staled header libraries

---
 libc/src/__support/CMakeLists.txt              |  9 ---------
 libc/src/__support/OSUtil/linux/CMakeLists.txt | 13 -------------
 2 files changed, 22 deletions(-)

diff --git a/libc/src/__support/CMakeLists.txt b/libc/src/__support/CMakeLists.txt
index ce69d4e6f69ac..84de7766d071b 100644
--- a/libc/src/__support/CMakeLists.txt
+++ b/libc/src/__support/CMakeLists.txt
@@ -105,15 +105,6 @@ add_header_library(
     libc.hdr.stdint_proxy
 )
 
-add_header_library(
-  bit
-  HDRS
-    bit.h
-  DEPENDS
-    libc.src.__support.macros.attributes
-    libc.src.__support.CPP.type_traits
-)
-
 add_header_library(
   math_extras
   HDRS
diff --git a/libc/src/__support/OSUtil/linux/CMakeLists.txt b/libc/src/__support/OSUtil/linux/CMakeLists.txt
index 8a686d4bce7dc..b02fa141fa456 100644
--- a/libc/src/__support/OSUtil/linux/CMakeLists.txt
+++ b/libc/src/__support/OSUtil/linux/CMakeLists.txt
@@ -38,19 +38,6 @@ add_header_library(
     libc.src.__support.threads.callonce
 )
 
-add_header_library(
-  getrandom
-  HDRS
-    getrandom.h
-  DEPENDS
-    libc.src.__support.OSUtil.osutil
-    libc.src.__support.common
-    libc.src.__support.error_or
-    libc.src.__support.macros.config
-    libc.hdr.types.ssize_t
-    libc.include.sys_syscall
-)
-
 add_header_library(
   vdso_sym
   HDRS



More information about the libc-commits mailing list