Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] add missing header deps to getauxval #79091

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

SchrodingerZhu
Copy link
Contributor

@SchrodingerZhu SchrodingerZhu commented Jan 23, 2024

getauxval depends on libc.include.sys_auxv

`getauxval` depends on `libc.include.sys.auxv`
@llvmbot llvmbot added the libc label Jan 23, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Jan 23, 2024

@llvm/pr-subscribers-libc

Author: Schrodinger ZHU Yifan (SchrodingerZhu)

Changes

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 --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
 )

@lntue lntue merged commit 86f0547 into llvm:main Jan 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants