/llvm-project/lldb/source/Host/common/ |
H A D | StreamFile.cpp | 19 StreamFile::StreamFile(uint32_t flags, uint32_t addr_size, ByteOrder byte_order) in StreamFile() function in StreamFile 24 StreamFile::StreamFile(int fd, bool transfer_ownership) : Stream() { in StreamFile() function in StreamFile 29 StreamFile::StreamFile(FILE *fh, bool transfer_ownership) : Stream() { in StreamFile() function in StreamFile 33 StreamFile::StreamFile(const char *path, File::OpenOptions options, in StreamFile() function in StreamFile 47 StreamFile::~StreamFile() = default; 49 void StreamFile::Flush() { m_file_sp->Flush(); } in Flush() 51 size_t StreamFile::WriteImpl(const void *s, size_t length) { in WriteImpl()
|
/llvm-project/lldb/include/lldb/Host/ |
H A D | StreamFile.h | 22 class StreamFile : public Stream { 24 StreamFile(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order); 26 StreamFile(int fd, bool transfer_ownership); 28 StreamFile(const char *path, File::OpenOptions options, 31 StreamFile(FILE *fh, bool transfer_ownership); 33 StreamFile(std::shared_ptr<File> file) : m_file_sp(file) { assert(file); }; in StreamFile() function 35 ~StreamFile() override; 51 StreamFile(const StreamFile &) = delete; 52 const StreamFile &operator=(const StreamFile &) = delete;
|
/llvm-project/lldb/source/API/ |
H A D | SBStream.cpp | 108 m_opaque_up = std::make_unique<StreamFile>(std::move(file.get())); in RedirectToFile() 143 m_opaque_up = std::make_unique<StreamFile>(file_sp); in RedirectToFile() 164 m_opaque_up = std::make_unique<StreamFile>(fd, transfer_fh_ownership); in RedirectToFileDescriptor()
|
H A D | SBInstructionList.cpp | 16 #include "lldb/Host/StreamFile.h" 116 StreamFile stream(out, false); in Print() 124 StreamFile stream(out.m_opaque_sp); in Print() 132 StreamFile stream(out_sp); in Print()
|
H A D | SBInstruction.cpp | 295 StreamFile out_stream(out_sp); in Print()
|
H A D | SBDebugger.cpp | 45 #include "lldb/Host/StreamFile.h" 512 StreamFile &stream_file = m_opaque_sp->GetOutputStream(); in GetOutputFileHandle() 531 StreamFile &stream_file = m_opaque_sp->GetErrorStream(); in GetErrorFileHandle()
|
H A D | SBProcess.cpp | 22 #include "lldb/Host/StreamFile.h" 325 StreamFile stream(out); in ReportEventState()
|
/llvm-project/lldb/include/lldb/Interpreter/ |
H A D | CommandReturnObject.h | 12 #include "lldb/Host/StreamFile.h" 75 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateErrorFile() 82 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateOutputStream()
|
/llvm-project/lldb/source/Core/ |
H A D | EmulateInstruction.cpp | 319 StreamFile strm(stdout, false); in ReadMemoryDefault() 334 StreamFile strm(stdout, false); in WriteMemoryDefault() 347 StreamFile strm(stdout, false); in ReadRegisterDefault() 364 StreamFile strm(stdout, false); in WriteRegisterDefault()
|
H A D | Debugger.cpp | 25 #include "lldb/Host/StreamFile.h" 878 m_output_stream_sp(std::make_shared<StreamFile>(stdout, false)), in Debugger() 879 m_error_stream_sp(std::make_shared<StreamFile>(stderr, false)), in Debugger() 1087 m_output_stream_sp = std::make_shared<StreamFile>(file_sp); 1092 m_error_stream_sp = std::make_shared<StreamFile>(file_sp); in ClearIOHandlers() 1256 out = std::make_shared<StreamFile>(stdout, false); in PushIOHandler() 1266 err = std::make_shared<StreamFile>(stderr, false); in PopIOHandler()
|
/llvm-project/lldb/source/Interpreter/ |
H A D | ScriptInterpreter.cpp | 209 m_output_file_sp(std::make_shared<StreamFile>(std::move(output))), in ScriptInterpreterIORedirect() 243 m_output_file_sp = std::make_shared<StreamFile>(outfile_handle, true); in ScriptInterpreterIORedirect()
|
/llvm-project/lldb/include/lldb/Core/ |
H A D | Debugger.h | 24 #include "lldb/Host/StreamFile.h" 146 StreamFile &GetOutputStream() { return *m_output_stream_sp; } in GetOutputStream() 148 StreamFile &GetErrorStream() { return *m_error_stream_sp; } in GetErrorStream()
|
/llvm-project/llvm/utils/gn/secondary/lldb/source/Host/ |
H A D | BUILD.gn | 46 "common/StreamFile.cpp",
|
/llvm-project/lldb/source/Host/ |
H A D | CMakeLists.txt | 40 common/StreamFile.cpp
|
/llvm-project/lldb/include/lldb/ |
H A D | lldb-forward.h | 216 class StreamFile; 434 typedef std::shared_ptr<lldb_private::StreamFile> StreamFileSP; 212 class StreamFile; global() variable
|
/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectSettings.cpp | 345 StreamFile out_file(path.c_str(), options, in DoExecute()
|
H A D | CommandObjectThread.cpp | 2201 std::optional<StreamFile> out_file; in DoExecute() 2396 std::optional<StreamFile> out_file; in DoExecute()
|
H A D | CommandObjectMemory.cpp | 769 std::make_unique<StreamFile>(std::move(outfile.get())); in DoExecute()
|
/llvm-project/lldb/source/Target/ |
H A D | StackFrameList.cpp | 14 #include "lldb/Host/StreamFile.h" 403 StreamFile s(stdout, false); in SynthesizeTailCallFrames()
|
H A D | DynamicRegisterInfo.cpp | 11 #include "lldb/Host/StreamFile.h" 753 StreamFile s(stdout, false); in Dump()
|
H A D | Target.cpp | 35 #include "lldb/Host/StreamFile.h" 1186 StreamFile out_file(path.c_str(), in CreateBreakpointsFromFile()
|
/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
H A D | InstrumentationRuntimeTSan.cpp | 18 #include "lldb/Host/StreamFile.h" 867 StreamFile &s = process_sp->GetTarget().GetDebugger().GetOutputStream(); in NotifyBreakpointHit()
|
/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemote.cpp | 40 #include "lldb/Host/StreamFile.h" 116 StreamFile stream(std::move(file.get())); in DumpProcessGDBRemotePacketHistory()
|
/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.cpp | 62 #include "lldb/Host/StreamFile.h" 8867 StreamFile s(stdout, false); in DumpTypeDescription()
|