[all-commits] [llvm/llvm-project] 5aed6d: Reland: [libc] Move off_t and stdio macros to prox...
Michael Jones via All-commits
all-commits at lists.llvm.org
Thu Jul 11 11:10:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5aed6d67e3f051262c67e3295476bf13cfc099c4
https://github.com/llvm/llvm-project/commit/5aed6d67e3f051262c67e3295476bf13cfc099c4
Author: Michael Jones <michaelrj at google.com>
Date: 2024-07-11 (Thu, 11 Jul 2024)
Changed paths:
M libc/config/gpu/api.td
M libc/config/linux/api.td
M libc/hdr/CMakeLists.txt
A libc/hdr/stdio_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/FILE.h
A libc/hdr/types/cookie_io_functions_t.h
A libc/hdr/types/off_t.h
M libc/include/llvm-libc-macros/stdio-macros.h
M libc/newhdrgen/yaml/stdio.yaml
M libc/src/__support/File/CMakeLists.txt
M libc/src/__support/File/file.cpp
M libc/src/__support/File/file.h
M libc/src/__support/File/linux/CMakeLists.txt
M libc/src/__support/File/linux/file.cpp
M libc/src/__support/File/linux/file.h
M libc/src/__support/File/linux/lseekImpl.h
M libc/src/__support/File/linux/stderr.cpp
M libc/src/__support/File/linux/stdin.cpp
M libc/src/__support/File/linux/stdout.cpp
M libc/src/__support/OSUtil/linux/CMakeLists.txt
M libc/src/__support/OSUtil/linux/fcntl.cpp
M libc/src/gpu/rpc_fprintf.h
M libc/src/stdio/CMakeLists.txt
M libc/src/stdio/baremetal/getchar.cpp
M libc/src/stdio/baremetal/printf.cpp
M libc/src/stdio/baremetal/vprintf.cpp
M libc/src/stdio/clearerr.h
M libc/src/stdio/clearerr_unlocked.h
M libc/src/stdio/fclose.h
M libc/src/stdio/fdopen.h
M libc/src/stdio/feof.h
M libc/src/stdio/feof_unlocked.h
M libc/src/stdio/ferror.h
M libc/src/stdio/ferror_unlocked.h
M libc/src/stdio/fflush.h
M libc/src/stdio/fgetc.h
M libc/src/stdio/fgetc_unlocked.h
M libc/src/stdio/fgets.h
M libc/src/stdio/flockfile.cpp
M libc/src/stdio/flockfile.h
M libc/src/stdio/fopen.h
M libc/src/stdio/fopencookie.cpp
M libc/src/stdio/fopencookie.h
M libc/src/stdio/fprintf.cpp
M libc/src/stdio/fprintf.h
M libc/src/stdio/fputc.h
M libc/src/stdio/fputs.h
M libc/src/stdio/fread.h
M libc/src/stdio/fread_unlocked.h
M libc/src/stdio/fscanf.cpp
M libc/src/stdio/fscanf.h
M libc/src/stdio/fseek.h
M libc/src/stdio/fseeko.h
M libc/src/stdio/ftell.h
M libc/src/stdio/ftello.h
M libc/src/stdio/funlockfile.cpp
M libc/src/stdio/funlockfile.h
M libc/src/stdio/fwrite.h
M libc/src/stdio/fwrite_unlocked.h
M libc/src/stdio/generic/CMakeLists.txt
M libc/src/stdio/generic/clearerr.cpp
M libc/src/stdio/generic/clearerr_unlocked.cpp
M libc/src/stdio/generic/fclose.cpp
M libc/src/stdio/generic/feof.cpp
M libc/src/stdio/generic/feof_unlocked.cpp
M libc/src/stdio/generic/ferror.cpp
M libc/src/stdio/generic/ferror_unlocked.cpp
M libc/src/stdio/generic/fflush.cpp
M libc/src/stdio/generic/fgetc.cpp
M libc/src/stdio/generic/fgetc_unlocked.cpp
M libc/src/stdio/generic/fgets.cpp
M libc/src/stdio/generic/fopen.cpp
M libc/src/stdio/generic/fputc.cpp
M libc/src/stdio/generic/fputs.cpp
M libc/src/stdio/generic/fread.cpp
M libc/src/stdio/generic/fread_unlocked.cpp
M libc/src/stdio/generic/fwrite.cpp
M libc/src/stdio/generic/fwrite_unlocked.cpp
M libc/src/stdio/generic/getc.cpp
M libc/src/stdio/generic/getc_unlocked.cpp
M libc/src/stdio/generic/getchar.cpp
M libc/src/stdio/generic/getchar_unlocked.cpp
M libc/src/stdio/generic/printf.cpp
M libc/src/stdio/generic/putc.cpp
M libc/src/stdio/generic/putchar.cpp
M libc/src/stdio/generic/puts.cpp
M libc/src/stdio/generic/stderr.cpp
M libc/src/stdio/generic/stdin.cpp
M libc/src/stdio/generic/stdout.cpp
M libc/src/stdio/generic/ungetc.cpp
M libc/src/stdio/generic/vprintf.cpp
M libc/src/stdio/getc.h
M libc/src/stdio/getc_unlocked.h
M libc/src/stdio/gpu/CMakeLists.txt
M libc/src/stdio/gpu/clearerr.cpp
M libc/src/stdio/gpu/fclose.cpp
M libc/src/stdio/gpu/feof.cpp
M libc/src/stdio/gpu/ferror.cpp
M libc/src/stdio/gpu/fflush.cpp
M libc/src/stdio/gpu/fgetc.cpp
M libc/src/stdio/gpu/fgets.cpp
M libc/src/stdio/gpu/file.h
M libc/src/stdio/gpu/fopen.cpp
M libc/src/stdio/gpu/fputc.cpp
M libc/src/stdio/gpu/fputs.cpp
M libc/src/stdio/gpu/fread.cpp
M libc/src/stdio/gpu/fseek.cpp
M libc/src/stdio/gpu/ftell.cpp
M libc/src/stdio/gpu/fwrite.cpp
M libc/src/stdio/gpu/getc.cpp
M libc/src/stdio/gpu/getchar.cpp
M libc/src/stdio/gpu/putc.cpp
M libc/src/stdio/gpu/putchar.cpp
M libc/src/stdio/gpu/puts.cpp
M libc/src/stdio/gpu/remove.cpp
M libc/src/stdio/gpu/stderr.cpp
M libc/src/stdio/gpu/stdin.cpp
M libc/src/stdio/gpu/stdout.cpp
M libc/src/stdio/gpu/ungetc.cpp
M libc/src/stdio/printf.h
M libc/src/stdio/printf_core/vfprintf_internal.h
M libc/src/stdio/putc.h
M libc/src/stdio/remove.h
M libc/src/stdio/scanf.cpp
M libc/src/stdio/scanf_core/vfscanf_internal.h
M libc/src/stdio/setbuf.cpp
M libc/src/stdio/setbuf.h
M libc/src/stdio/setvbuf.cpp
M libc/src/stdio/setvbuf.h
M libc/src/stdio/sscanf.cpp
M libc/src/stdio/ungetc.h
M libc/src/stdio/vfprintf.cpp
M libc/src/stdio/vfprintf.h
M libc/src/stdio/vprintf.h
M libc/src/unistd/getopt.cpp
M libc/src/unistd/getopt.h
M libc/src/wchar/btowc.cpp
M libc/src/wchar/wctob.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
Reland: [libc] Move off_t and stdio macros to proxy hdrs (#98384)
reland of https://github.com/llvm/llvm-project/pull/98215
Additionally adds proxy headers for FILE and the fopencookie types
The arm32 build has been failing due to redefinitions of the off_t type.
This patch fixes this by moving off_t to a proper proxy header. To do
this, it also moves stdio macros to a proxy header to hopefully avoid
including this proxy header alongside this public stdio.h.
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