[all-commits] [llvm/llvm-project] 0914d2: [libc] Add loff_t type (#204641)

Jeff Bailey via All-commits all-commits at lists.llvm.org
Tue Jun 23 09:46:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0914d20f2f8fc3c85e956d93b643a54f683638c3
      https://github.com/llvm/llvm-project/commit/0914d20f2f8fc3c85e956d93b643a54f683638c3
  Author: Jeff Bailey <jbailey at raspberryginger.com>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/linux/CMakeLists.txt
    A libc/include/llvm-libc-types/linux/loff_t.h
    A libc/include/llvm-libc-types/loff_t.h
    M libc/include/sys/types.yaml

  Log Message:
  -----------
  [libc] Add loff_t type (#204641)

Added loff_t type definition. This is a Linux extension required for
large file offsets.

* llvm-libc-types/loff_t.h: Include linux/loff_t.h on Linux.
* llvm-libc-types/linux/loff_t.h: Added Linux definition using
__kernel_loff_t.
* llvm-libc-types/CMakeLists.txt: Include linux subdirectory and add
dependency for loff_t.
* llvm-libc-types/linux/CMakeLists.txt: Registered loff_t.
* sys/types.yaml: Added loff_t to sys/types.
* libc/include/CMakeLists.txt: Added dependency to sys_types target.

Assisted-by: Automated tooling, human reviewed.



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