Skip to content

Conversation

@izaakschroeder
Copy link
Contributor

@izaakschroeder izaakschroeder commented Jul 2, 2024

Does what it says on the box.

@izaakschroeder izaakschroeder marked this pull request as ready for review July 2, 2024 23:59
@llvmbot llvmbot added the libc label Jul 3, 2024
@llvmbot
Copy link
Member

llvmbot commented Jul 3, 2024

@llvm/pr-subscribers-libc

Author: Izaak Schroeder (izaakschroeder)

Changes

Does what it says on the box.


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

1 Files Affected:

  • (modified) libc/spec/gnu_ext.td (+5-1)
diff --git a/libc/spec/gnu_ext.td b/libc/spec/gnu_ext.td
index 161bb4e4a0d9d..e360c766c5c54 100644
--- a/libc/spec/gnu_ext.td
+++ b/libc/spec/gnu_ext.td
@@ -237,7 +237,11 @@ def GnuExtensions : StandardSpec<"GNUExtensions"> {
       [], // Types
       [], // Enumerations
       [
-        //TODO: Add getauxval here
+          FunctionSpec<
+              "getauxval",
+              RetValSpec<UnsignedLongType>,
+              [ArgSpec<UnsignedLongType>]
+          >,
       ]  // Functions
   >;
 

@izaakschroeder izaakschroeder mentioned this pull request Jul 3, 2024
39 tasks
@SchrodingerZhu SchrodingerZhu merged commit f7b09b5 into llvm:main Jul 3, 2024
kbluck pushed a commit to kbluck/llvm-project that referenced this pull request Jul 6, 2024
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.

4 participants