/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/source/Host/common/PipeBase.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | //===-- source/Host/common/PipeBase.cpp -----------------------------------===// |
2 | | // |
3 | | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | | // See https://llvm.org/LICENSE.txt for license information. |
5 | | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | | // |
7 | | //===----------------------------------------------------------------------===// |
8 | | |
9 | | #include "lldb/Host/PipeBase.h" |
10 | | |
11 | | using namespace lldb_private; |
12 | | |
13 | 8.69k | PipeBase::~PipeBase() = default; |
14 | | |
15 | | Status PipeBase::OpenAsWriter(llvm::StringRef name, |
16 | 0 | bool child_process_inherit) { |
17 | 0 | return OpenAsWriterWithTimeout(name, child_process_inherit, |
18 | 0 | std::chrono::microseconds::zero()); |
19 | 0 | } |
20 | | |
21 | 5 | Status PipeBase::Read(void *buf, size_t size, size_t &bytes_read) { |
22 | 5 | return ReadWithTimeout(buf, size, std::chrono::microseconds::zero(), |
23 | 5 | bytes_read); |
24 | 5 | } |