[all-commits] [llvm/llvm-project] 6ad0dc: [libc] Revamp hdrgen command line and build integr...
Roland McGrath via All-commits
all-commits at lists.llvm.org
Tue Jan 7 15:56:34 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ad0dcf67f5dccdf8506ce5f51d793062a1c6879
https://github.com/llvm/llvm-project/commit/6ad0dcf67f5dccdf8506ce5f51d793062a1c6879
Author: Roland McGrath <mcgrathr at google.com>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
M libc/cmake/modules/LLVMLibCHeaderRules.cmake
M libc/include/CMakeLists.txt
M libc/include/arpa/inet.yaml
M libc/include/assert.yaml
M libc/include/complex.yaml
M libc/include/ctype.yaml
M libc/include/dirent.yaml
M libc/include/dlfcn.yaml
M libc/include/elf.yaml
M libc/include/errno.yaml
M libc/include/fcntl.yaml
M libc/include/features.yaml
M libc/include/fenv.yaml
M libc/include/float.yaml
M libc/include/inttypes.yaml
M libc/include/limits.yaml
M libc/include/link.yaml
M libc/include/locale.yaml
M libc/include/malloc.yaml
M libc/include/math.yaml
M libc/include/pthread.yaml
M libc/include/sched.yaml
M libc/include/search.yaml
M libc/include/setjmp.yaml
M libc/include/signal.yaml
M libc/include/spawn.yaml
M libc/include/stdbit.yaml
M libc/include/stdckdint.yaml
M libc/include/stdfix.yaml
M libc/include/stdint.yaml
M libc/include/stdio.yaml
M libc/include/stdlib.yaml
M libc/include/string.yaml
M libc/include/strings.yaml
M libc/include/sys/auxv.yaml
M libc/include/sys/epoll.yaml
M libc/include/sys/ioctl.yaml
M libc/include/sys/mman.yaml
M libc/include/sys/prctl.yaml
M libc/include/sys/random.yaml
M libc/include/sys/resource.yaml
M libc/include/sys/select.yaml
M libc/include/sys/sendfile.yaml
M libc/include/sys/socket.yaml
M libc/include/sys/stat.yaml
M libc/include/sys/statvfs.yaml
M libc/include/sys/syscall.yaml
M libc/include/sys/time.yaml
M libc/include/sys/types.yaml
M libc/include/sys/utsname.yaml
M libc/include/sys/wait.yaml
M libc/include/termios.yaml
M libc/include/threads.yaml
M libc/include/time.yaml
M libc/include/uchar.yaml
M libc/include/unistd.yaml
M libc/include/wchar.yaml
M libc/utils/hdrgen/header.py
A libc/utils/hdrgen/main.py
M libc/utils/hdrgen/tests/input/test_small.yaml
M libc/utils/hdrgen/tests/test_integration.py
M libc/utils/hdrgen/yaml_to_classes.py
Log Message:
-----------
[libc] Revamp hdrgen command line and build integration (#121522)
This adds a new main command-line entry point for hdrgen, in the
new main.py. This new interface is used for generating a header.
The old ways of invoking yaml_to_classes.py for other purposes
are left there for now, but `--e` is renamed to `--entry-point`
for consistency with the new CLI.
The YAML schema is expanded with the `header_template` key where
the corresponding `.h.def` file's path is given relative to where
the YAML file is found. The build integration no longer gives
the `.h.def` path on the command line. Instead, the script now
emits a depfile that's used by the cmake rules to track that.
The output file is always explicit in the script command line
rather than sometimes being derived from a directory path.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list