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

via libc-commits libc-commits at lists.llvm.org
Mon Jan 22 20:13:34 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Schrodinger ZHU Yifan (SchrodingerZhu)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/79091.diff


1 Files Affected:

- (modified) libc/src/sys/auxv/linux/CMakeLists.txt (+1) 


``````````diff
diff --git a/libc/src/sys/auxv/linux/CMakeLists.txt b/libc/src/sys/auxv/linux/CMakeLists.txt
index b38d63ee0329c7..61e6b7626a7d35 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
 )

``````````

</details>


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


More information about the libc-commits mailing list