[all-commits] [llvm/llvm-project] 635ed0: [libc][stat] Move internal statx type definition i...

Jackson Stogel via All-commits all-commits at lists.llvm.org
Wed Jun 24 17:11:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 635ed0edc68c3ea2556b773b3e9f5fffc57aa303
      https://github.com/llvm/llvm-project/commit/635ed0edc68c3ea2556b773b3e9f5fffc57aa303
  Author: Jackson Stogel <jtstogel at gmail.com>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M libc/src/__support/OSUtil/linux/CMakeLists.txt
    A libc/src/__support/OSUtil/linux/stat/CMakeLists.txt
    A libc/src/__support/OSUtil/linux/stat/kernel_statx_types.h
    A libc/src/__support/OSUtil/linux/stat/stat_via_statx.h
    M libc/src/sys/stat/linux/CMakeLists.txt
    M libc/src/sys/stat/linux/fstat.cpp
    R libc/src/sys/stat/linux/kernel_statx.h
    M libc/src/sys/stat/linux/lstat.cpp
    M libc/src/sys/stat/linux/stat.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc][stat] Move internal statx type definition into OSUtil/linux (#203975)

This PR refactors the internally defined `statx` buffer to a shareable
location so other LLVM-libc linux entrypoints may call `statx` without
concern for name conflicts around `linux/stat.h`.

Specifically, this PR moves `libc/src/sys/stat/linux/kernel_statx.h` to
`libc/src/__support/OSUtil/linux/stat/` and splits it into two files,
`kernel_statx_types.h` + `stat_via_statx.h`.

This will be used by `realpath`.



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