diff options
author | Izaak Schroeder <izaak.schroeder@gmail.com> | 2024-07-03 08:16:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 08:16:17 -0700 |
commit | f7b09b5225a58a657fc0315377438077f9e9363f (patch) | |
tree | 6fa4b412d2d2daf3f5b84783ac58444129403dbc /libc | |
parent | f1a8f94bba8b090a0d667065e4b8b4fc66b6a5cc (diff) | |
download | llvm-f7b09b5225a58a657fc0315377438077f9e9363f.zip llvm-f7b09b5225a58a657fc0315377438077f9e9363f.tar.gz llvm-f7b09b5225a58a657fc0315377438077f9e9363f.tar.bz2 |
[libc] Add function spec for `getauxval` (#97492)
Does what it says on the box.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/spec/gnu_ext.td | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/spec/gnu_ext.td b/libc/spec/gnu_ext.td index 161bb4e..e360c76 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 >; |