[llvm] [Support] mmap when possible in getSTDIN. (PR #162013)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 01:47:09 PDT 2025
================
@@ -143,7 +142,8 @@ class LLVM_ABI MemoryBuffer {
getMemBufferCopy(StringRef InputData, const Twine &BufferName = "");
/// Read all of stdin into a file buffer, and return it.
- static ErrorOr<std::unique_ptr<MemoryBuffer>> getSTDIN();
+ static ErrorOr<std::unique_ptr<MemoryBuffer>>
+ getSTDIN(bool RequiresNullTerminatorRequires = true);
----------------
aokblast wrote:
Thanks I would fix it after CI finish running
https://github.com/llvm/llvm-project/pull/162013
More information about the llvm-commits
mailing list