[all-commits] [llvm/llvm-project] e24196: [libc] Fix macro definition hermeticity (#114467)

Michael Jones via All-commits all-commits at lists.llvm.org
Thu Oct 31 14:43:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e241964b9373786f327ce24b440e2a82a3c4eeea
      https://github.com/llvm/llvm-project/commit/e241964b9373786f327ce24b440e2a82a3c4eeea
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/linux/fcntl-macros.h
    M libc/test/src/sys/mman/linux/CMakeLists.txt
    M libc/test/src/sys/mman/linux/shm_test.cpp

  Log Message:
  -----------
  [libc] Fix macro definition hermeticity (#114467)

Previously shm_test was including <asm-generic/fcntl.h> for the macro
FD_CLOEXEC. This patch adds that macro to the list we have defined, and
redirects the test to use the correct proxy header.



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