[all-commits] [llvm/llvm-project] 9b8ca3: [libc] Add global stdout and stderr objects.

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu May 26 22:44:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b8ca3c1f18c6c906c8ba8d5ac7a082f2d3b5bd4
      https://github.com/llvm/llvm-project/commit/9b8ca3c1f18c6c906c8ba8d5ac7a082f2d3b5bd4
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M libc/config/linux/api.td
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/public_api.td
    M libc/spec/spec.td
    M libc/spec/stdc.td
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux_file.cpp
    M libc/src/stdio/CMakeLists.txt
    A libc/src/stdio/stderr.cpp
    A libc/src/stdio/stderr.h
    A libc/src/stdio/stdout.cpp
    A libc/src/stdio/stdout.h
    M libc/test/src/CMakeLists.txt
    M libc/test/src/__support/File/platform_file_test.cpp
    M libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
    M libc/utils/HdrGen/PublicAPICommand.cpp
    M libc/utils/LibcTableGenUtil/APIIndexer.cpp
    M libc/utils/LibcTableGenUtil/APIIndexer.h

  Log Message:
  -----------
  [libc] Add global stdout and stderr objects.

They are added as entrypoint object targets. The header-gen
infrastructure has been extended to enable handling standard required
global objects. The libc-api-test has also been extended to verify the
global object declarations.

Reviewed By: lntue

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




More information about the All-commits mailing list