[all-commits] [llvm/llvm-project] 02a543: [libc] Add a simple implementation of the posix_sp...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Oct 13 11:48:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02a543db66518b93b126feed43080feca0b14bd2
      https://github.com/llvm/llvm-project/commit/02a543db66518b93b126feed43080feca0b14bd2
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/linux/api.td
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/posix_spawnattr_t.h
    M libc/spec/posix.td
    M libc/spec/spec.td
    M libc/src/spawn/CMakeLists.txt
    A libc/src/spawn/linux/CMakeLists.txt
    A libc/src/spawn/linux/posix_spawn.cpp
    A libc/src/spawn/posix_spawn.h
    M libc/test/integration/src/CMakeLists.txt
    A libc/test/integration/src/spawn/CMakeLists.txt
    A libc/test/integration/src/spawn/posix_spawn_test.cpp
    A libc/test/integration/src/spawn/posix_spawn_test_binary.cpp
    A libc/test/integration/src/spawn/test_binary_properties.h
    A libc/test/integration/src/spawn/testdata/CMakeLists.txt
    M libc/utils/IntegrationTest/CMakeLists.txt
    A libc/utils/IntegrationTest/test.cpp

  Log Message:
  -----------
  [libc] Add a simple implementation of the posix_spawn function.

The implementation currently ignores all spawn attributes. Support for
them will be added in future changes.

A simple allocator for integration tests has been added so that the
integration test for posix_spawn can use the
posix_spawn_file_actions_add* functions.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D135752




More information about the All-commits mailing list