[libc-commits] [libc] [libc] final edits to newheadergen yaml files (PR #98983)
via libc-commits
libc-commits at lists.llvm.org
Tue Jul 16 17:11:35 PDT 2024
https://github.com/RoseZhang03 updated https://github.com/llvm/llvm-project/pull/98983
>From 7d122283f1fdf1db568a89b249992cf80974eb1b Mon Sep 17 00:00:00 2001
From: Rose Zhang <rosezhang at google.com>
Date: Tue, 16 Jul 2024 02:33:28 +0000
Subject: [PATCH 1/2] [libc] final edits to newheadergen yaml files
Performed one last run of integration tests, removing duplicate types
and removing unneeded files.
Currently looked through all sys files, will finish checking other yaml
files this week.
---
libc/newhdrgen/yaml/sys/sys_time.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libc/newhdrgen/yaml/sys/sys_time.yaml b/libc/newhdrgen/yaml/sys/sys_time.yaml
index a901cdafd26a1..eb3dd548389b3 100644
--- a/libc/newhdrgen/yaml/sys/sys_time.yaml
+++ b/libc/newhdrgen/yaml/sys/sys_time.yaml
@@ -1,8 +1,7 @@
header: sys-time.h
standards: Linux
macros: []
-types:
- - type_name: struct_timeval
+types: []
enums: []
functions: []
objects: []
>From 59f349d1301498b151a16b7947dfbcbe1d654048 Mon Sep 17 00:00:00 2001
From: Rose Zhang <rosezhang at google.com>
Date: Wed, 17 Jul 2024 00:11:20 +0000
Subject: [PATCH 2/2] fixed mismatched data in yaml files and added statvfs to
linux x86_64 headers.txt
---
libc/config/linux/x86_64/headers.txt | 1 +
libc/newhdrgen/yaml/arpa_inet.yaml | 5 +----
libc/newhdrgen/yaml/sys/sys_random.yaml | 2 +-
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/libc/config/linux/x86_64/headers.txt b/libc/config/linux/x86_64/headers.txt
index df276894246c4..0294f62bc2f7a 100644
--- a/libc/config/linux/x86_64/headers.txt
+++ b/libc/config/linux/x86_64/headers.txt
@@ -45,6 +45,7 @@ set(TARGET_PUBLIC_HEADERS
libc.include.sys_select
libc.include.sys_socket
libc.include.sys_stat
+ libc.include.sys_statvfs
libc.include.sys_syscall
libc.include.sys_time
libc.include.sys_types
diff --git a/libc/newhdrgen/yaml/arpa_inet.yaml b/libc/newhdrgen/yaml/arpa_inet.yaml
index 945a602705dba..c01235d4327a5 100644
--- a/libc/newhdrgen/yaml/arpa_inet.yaml
+++ b/libc/newhdrgen/yaml/arpa_inet.yaml
@@ -1,9 +1,6 @@
header: arpa-inet.h
macros: []
-types:
- - type_name: uint32_t
- - type_name: uint16_t
- - type_name: inttypes.h
+types: []
enums: []
objects: []
functions:
diff --git a/libc/newhdrgen/yaml/sys/sys_random.yaml b/libc/newhdrgen/yaml/sys/sys_random.yaml
index 233fb2c7988cb..6d84056d7dd71 100644
--- a/libc/newhdrgen/yaml/sys/sys_random.yaml
+++ b/libc/newhdrgen/yaml/sys/sys_random.yaml
@@ -4,7 +4,7 @@ types:
- type_name: ssize_t
- type_name: size_t
enums: []
-objects:
+objects: []
functions:
- name: getrandom
standards:
More information about the libc-commits
mailing list