File tree 5 files changed +69
-8
lines changed
5 files changed +69
-8
lines changed Original file line number Diff line number Diff line change @@ -267,5 +267,5 @@ def SearchAPI : PublicAPI<"search.h"> {
267
267
}
268
268
269
269
def SysStatvfsAPI : PublicAPI<"sys/statvfs.h"> {
270
- let Types = ["fsblkcnt_t", "fsfilcnt_t", " struct statvfs"];
270
+ let Types = ["struct statvfs"];
271
271
}
Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ set(TARGET_PUBLIC_HEADERS
45
45
libc.include.sys_select
46
46
libc.include.sys_socket
47
47
libc.include.sys_stat
48
- # statvfs is broken, will uncomment once it's fixed.
49
- # libc.include.sys_statvfs
48
+ libc.include.sys_statvfs
50
49
libc.include.sys_syscall
51
50
libc.include.sys_time
52
51
libc.include.sys_types
Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ functions:
64
64
return_type : double
65
65
arguments :
66
66
- type : double
67
- attributes :
68
- - __LIBC_CONST_ATTR
69
67
- name : fabsf
70
68
standards :
71
69
- stdc
@@ -364,6 +362,20 @@ functions:
364
362
arguments :
365
363
- type : double
366
364
- type : double
365
+ - name : fmull
366
+ standards :
367
+ - stdc
368
+ return_type : float
369
+ arguments :
370
+ - type : long double
371
+ - type : long double
372
+ - name : dmull
373
+ standards :
374
+ - stdc
375
+ return_type : double
376
+ arguments :
377
+ - type : long double
378
+ - type : long double
367
379
- name : frexp
368
380
standards :
369
381
- stdc
@@ -1323,6 +1335,30 @@ functions:
1323
1335
- type : long double
1324
1336
- type : long double
1325
1337
guard : LIBC_TYPES_HAS_FLOAT16
1338
+ - name : f16mul
1339
+ standards :
1340
+ - llvm_libc_ext
1341
+ return_type : _Float16
1342
+ arguments :
1343
+ - type : double
1344
+ - type : double
1345
+ guard : LIBC_TYPES_HAS_FLOAT16
1346
+ - name : f16mulf
1347
+ standards :
1348
+ - llvm_libc_ext
1349
+ return_type : _Float16
1350
+ arguments :
1351
+ - type : float
1352
+ - type : float
1353
+ guard : LIBC_TYPES_HAS_FLOAT16
1354
+ - name : f16mull
1355
+ standards :
1356
+ - llvm_libc_ext
1357
+ return_type : _Float16
1358
+ arguments :
1359
+ - type : long double
1360
+ - type : long double
1361
+ guard : LIBC_TYPES_HAS_FLOAT16
1326
1362
- name : f16sqrt
1327
1363
standards :
1328
1364
- llvm_libc_ext
@@ -1756,6 +1792,14 @@ functions:
1756
1792
- type : float128
1757
1793
- type : float128
1758
1794
guard : LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
1795
+ - name : f16mulf128
1796
+ standards :
1797
+ - stdc
1798
+ return_type : _Float16
1799
+ arguments :
1800
+ - type : float128
1801
+ - type : float128
1802
+ guard : LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
1759
1803
- name : f16sqrtf128
1760
1804
standards :
1761
1805
- llvm_libc_ext
@@ -1896,6 +1940,22 @@ functions:
1896
1940
- type : float128
1897
1941
- type : float128
1898
1942
guard : LIBC_TYPES_HAS_FLOAT128
1943
+ - name : fmulf128
1944
+ standards :
1945
+ - llvm_libc_ext
1946
+ return_type : float
1947
+ arguments :
1948
+ - type : float128
1949
+ - type : float128
1950
+ guard : LIBC_TYPES_HAS_FLOAT128
1951
+ - name : dmulf128
1952
+ standards :
1953
+ - llvm_libc_ext
1954
+ return_type : double
1955
+ arguments :
1956
+ - type : float128
1957
+ - type : float128
1958
+ guard : LIBC_TYPES_HAS_FLOAT128
1899
1959
- name : frexpf128
1900
1960
standards :
1901
1961
- stdc
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ header: sys-statvfs.h
2
2
macros : []
3
3
types :
4
4
- type_name : struct_statvfs
5
+ - type_name : fsblkcnt_t
6
+ - type_name : fsfilcnt_t
5
7
enums : []
6
8
objects : []
7
9
functions :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ add_header_library(
8
8
libc.src.__support.common
9
9
libc.src.__support.CPP.optional
10
10
libc.include .sys_syscall
11
- libc.include .llvm-libc-types.struct_statvfs
11
+ libc.include .sys_statvfs
12
12
)
13
13
14
14
add_entrypoint_object(
@@ -19,7 +19,7 @@ add_entrypoint_object(
19
19
../statvfs.h
20
20
DEPENDS
21
21
libc.src.__support.libc_assert
22
- libc.include .llvm-libc-types.struct_statvfs
22
+ libc.include .sys_statvfs
23
23
.statfs_utils
24
24
)
25
25
@@ -31,7 +31,7 @@ add_entrypoint_object(
31
31
../fstatvfs.h
32
32
DEPENDS
33
33
libc.src.__support.libc_assert
34
- libc.include .llvm-libc-types.struct_statvfs
34
+ libc.include .sys_statvfs
35
35
.statfs_utils
36
36
)
37
37
You can’t perform that action at this time.
0 commit comments