[libc-commits] [PATCH] D158193: [libc][NFC] Put definitions of stdout and friends into their own object files.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Aug 17 08:58:26 PDT 2023


sivachandra created this revision.
sivachandra added a reviewer: jhuber6.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
sivachandra requested review of this revision.

This is done so that test which only require platform file but not the
platform streams can be run as unit tests. The tests which use platform
streams can only be hermetic tests to avoid conflicts with the
system-libc streams.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158193

Files:
  libc/src/__support/File/CMakeLists.txt
  libc/src/__support/File/linux/CMakeLists.txt
  libc/src/__support/File/linux/file.cpp
  libc/src/__support/File/linux/file.h
  libc/src/__support/File/linux/stderr.cpp
  libc/src/__support/File/linux/stdin.cpp
  libc/src/__support/File/linux/stdout.cpp
  libc/src/stdio/CMakeLists.txt
  libc/src/stdio/generic/CMakeLists.txt
  libc/src/unistd/CMakeLists.txt
  libc/test/src/__support/File/CMakeLists.txt
  libc/test/src/__support/File/platform_file_test.cpp
  libc/test/src/__support/File/platform_stderr_test.cpp
  libc/test/src/__support/File/platform_stdin_test.cpp
  libc/test/src/__support/File/platform_stdout_test.cpp
  libc/test/src/stdio/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158193.551163.patch
Type: text/x-patch
Size: 17183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230817/46173f16/attachment-0001.bin>


More information about the libc-commits mailing list