[all-commits] [llvm/llvm-project] 3f9658: [libc] Add POSIX execv and execve functions.

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Oct 6 12:50:43 PDT 2022


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

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/linux/aarch64/entrypoints.txt
    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/__exec_argv_t.h
    A libc/include/llvm-libc-types/__exec_envp_t.h
    M libc/loader/linux/aarch64/start.cpp
    M libc/loader/linux/x86_64/CMakeLists.txt
    M libc/loader/linux/x86_64/start.cpp
    M libc/spec/posix.td
    M libc/src/unistd/CMakeLists.txt
    A libc/src/unistd/environ.cpp
    A libc/src/unistd/environ.h
    A libc/src/unistd/execv.h
    A libc/src/unistd/execve.h
    M libc/src/unistd/linux/CMakeLists.txt
    A libc/src/unistd/linux/execv.cpp
    A libc/src/unistd/linux/execve.cpp
    M libc/test/integration/src/unistd/CMakeLists.txt
    A libc/test/integration/src/unistd/execv_test.cpp
    A libc/test/integration/src/unistd/execv_test_normal_exit.cpp
    A libc/test/integration/src/unistd/execv_test_signal_exit.cpp
    A libc/test/integration/src/unistd/execve_test.cpp

  Log Message:
  -----------
  [libc] Add POSIX execv and execve functions.

The POSIX global variable environ has also been added.

Reviewed By: michaelrj

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




More information about the All-commits mailing list