[all-commits] [llvm/llvm-project] 240ec5: [libc] Move off_t and stdio macros to proxy hdrs (...

Michael Jones via All-commits all-commits at lists.llvm.org
Tue Jul 9 16:17:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 240ec5a37517f55a64cd0c69fd4fa1613ab30f97
      https://github.com/llvm/llvm-project/commit/240ec5a37517f55a64cd0c69fd4fa1613ab30f97
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-07-09 (Tue, 09 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/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/OSUtil/linux/CMakeLists.txt
    M libc/src/__support/OSUtil/linux/fcntl.cpp
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/fopencookie.cpp
    M libc/src/stdio/setbuf.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Move off_t and stdio macros to proxy hdrs (#98215)

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