[libc-commits] [libc] [libc] add missing header deps to getauxval (PR #79091)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Mon Jan 22 20:13:02 PST 2024


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

`getauxval` depends on `libc.include.sys.auxv`

>From 25966c537db2dc9ce14fb0c282dd86337291cecd Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Mon, 22 Jan 2024 23:10:21 -0500
Subject: [PATCH] [libc] add missing header deps to getauxval

`getauxval` depends on `libc.include.sys.auxv`
---
 libc/src/sys/auxv/linux/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/src/sys/auxv/linux/CMakeLists.txt b/libc/src/sys/auxv/linux/CMakeLists.txt
index b38d63ee0329c79..61e6b7626a7d359 100644
--- a/libc/src/sys/auxv/linux/CMakeLists.txt
+++ b/libc/src/sys/auxv/linux/CMakeLists.txt
@@ -15,4 +15,5 @@ add_entrypoint_object(
     libc.src.fcntl.open
     libc.src.unistd.read
     libc.src.unistd.close
+    libc.include.sys.auxv
 )



More information about the libc-commits mailing list