/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | SourceManager.cpp | 99 if (FileSP file_sp = in GetFile() local 102 if (file_sp->PathRemappingIsStale()) { in GetFile() 108 debugger_sp->GetSourceFileCache().RemoveSourceFile(file_sp); in GetFile() 109 process_sp->GetSourceFileCache().RemoveSourceFile(file_sp); in GetFile() 111 file_sp.reset(); in GetFile() 113 return file_sp; in GetFile() 119 FileSP file_sp = debugger_sp->GetSourceFileCache().FindSourceFile(file_spec); in GetFile() local 123 if (file_sp) in GetFile() 127 if (file_sp && file_sp->PathRemappingIsStale()) { in GetFile() 129 file_sp.reset(); in GetFile() [all …]
|
H A D | Debugger.cpp | 1042 void Debugger::SetInputFile(FileSP file_sp) { in SetInputFile() argument 1043 assert(file_sp && file_sp->IsValid()); in SetInputFile() 1044 m_input_file_sp = std::move(file_sp); in SetInputFile() 1050 void Debugger::SetOutputFile(FileSP file_sp) { in SetOutputFile() argument 1051 assert(file_sp && file_sp->IsValid()); in SetOutputFile() 1052 m_output_stream_sp = std::make_shared<StreamFile>(file_sp); in SetOutputFile() 1055 void Debugger::SetErrorFile(FileSP file_sp) { in SetErrorFile() argument 1056 assert(file_sp && file_sp->IsValid()); in SetErrorFile() 1057 m_error_stream_sp = std::make_shared<StreamFile>(file_sp); in SetErrorFile()
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBCommandReturnObject.cpp | 121 size_t SBCommandReturnObject::PutOutput(FileSP file_sp) { in PutOutput() argument 122 LLDB_INSTRUMENT_VA(this, file_sp); in PutOutput() 123 if (!file_sp) in PutOutput() 125 return file_sp->Printf("%s", GetOutput()); in PutOutput() 145 size_t SBCommandReturnObject::PutError(FileSP file_sp) { in PutError() argument 146 LLDB_INSTRUMENT_VA(this, file_sp); in PutError() 147 if (!file_sp) in PutError() 149 return file_sp->Printf("%s", GetError()); in PutError() 278 void SBCommandReturnObject::SetImmediateOutputFile(FileSP file_sp) { in SetImmediateOutputFile() argument 279 LLDB_INSTRUMENT_VA(this, file_sp); in SetImmediateOutputFile() [all …]
|
H A D | SBStream.cpp | 128 void SBStream::RedirectToFile(FileSP file_sp) { in RedirectToFile() argument 129 LLDB_INSTRUMENT_VA(this, file_sp); in RedirectToFile() 131 if (!file_sp || !file_sp->IsValid()) in RedirectToFile() 143 m_opaque_up = std::make_unique<StreamFile>(file_sp); in RedirectToFile()
|
H A D | SBFile.cpp | 19 SBFile::SBFile(FileSP file_sp) : m_opaque_sp(file_sp) { in SBFile() argument 22 LLDB_INSTRUMENT_VA(this, file_sp); in SBFile()
|
H A D | SBDebugger.cpp | 411 SBError SBDebugger::SetInputFile(FileSP file_sp) { in SetInputFile() argument 412 LLDB_INSTRUMENT_VA(this, file_sp); in SetInputFile() 413 return SetInputFile(SBFile(file_sp)); in SetInputFile() 416 SBError SBDebugger::SetOutputFile(FileSP file_sp) { in SetOutputFile() argument 417 LLDB_INSTRUMENT_VA(this, file_sp); in SetOutputFile() 418 return SetOutputFile(SBFile(file_sp)); in SetOutputFile() 446 SBError SBDebugger::SetErrorFile(FileSP file_sp) { in SetErrorFile() argument 447 LLDB_INSTRUMENT_VA(this, file_sp); in SetErrorFile() 448 return SetErrorFile(SBFile(file_sp)); in SetErrorFile() 491 File &file_sp = m_opaque_sp->GetInputFile(); in GetInputFileHandle() local [all …]
|
H A D | SBLineEntry.cpp | 127 ref().file_sp = std::make_shared<SupportFile>(filespec.ref()); in SetFileSpec() 129 ref().file_sp = std::make_shared<SupportFile>(); in SetFileSpec()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
H A D | CommandReturnObject.h | 66 void SetImmediateOutputFile(lldb::FileSP file_sp) { in SetImmediateOutputFile() argument 69 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateOutputFile() 73 void SetImmediateErrorFile(lldb::FileSP file_sp) { in SetImmediateErrorFile() argument 76 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateErrorFile()
|
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | LineEntry.cpp | 17 : range(), file_sp(std::make_shared<SupportFile>()), in LineEntry() 24 file_sp = std::make_shared<SupportFile>(); in Clear() 40 const FileSpec &file = file_sp->GetSpecOnly(); in DumpStopContext() 249 file_sp = std::make_shared<SupportFile>(*new_file_spec, in ApplyFileMappings()
|
H A D | LineTable.cpp | 291 line_entry.file_sp = std::make_shared<SupportFile>( in ConvertEntryAtIndexToLineEntry()
|
H A D | SymbolContext.cpp | 484 next_frame_sc.line_entry.file_sp = std::make_shared<SupportFile>( in GetParentOfInlinedScope()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | LineEntry.h | 134 const FileSpec &GetFile() const { return file_sp->GetSpecOnly(); } in GetFile() 140 lldb::SupportFileSP file_sp; member
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | SourceManager.h | 113 void AddSourceFile(const FileSpec &file_spec, FileSP file_sp); 114 void RemoveSourceFile(const FileSP &file_sp); 124 void AddSourceFileImpl(const FileSpec &file_spec, FileSP file_sp);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
H A D | PythonDataObjects.cpp | 1361 FileSP file_sp; in ConvertToFile() local 1365 file_sp = std::make_shared<NativeFile>(fd, options.get(), false); in ConvertToFile() 1367 file_sp = std::static_pointer_cast<File>( in ConvertToFile() 1370 if (!file_sp->IsValid()) in ConvertToFile() 1374 return file_sp; in ConvertToFile() 1405 FileSP file_sp; in ConvertToFileForcingUseOfScriptingIOMethods() local 1411 file_sp = std::static_pointer_cast<File>( in ConvertToFileForcingUseOfScriptingIOMethods() 1422 file_sp = std::static_pointer_cast<File>( in ConvertToFileForcingUseOfScriptingIOMethods() 1426 if (!file_sp) in ConvertToFileForcingUseOfScriptingIOMethods() 1430 if (!file_sp->IsValid()) in ConvertToFileForcingUseOfScriptingIOMethods() [all …]
|
H A D | ScriptInterpreterPython.cpp | 624 bool ScriptInterpreterPythonImpl::SetStdHandle(FileSP file_sp, in SetStdHandle() argument 628 if (!file_sp || !*file_sp) { in SetStdHandle() 632 File &file = *file_sp; in SetStdHandle()
|
/freebsd/contrib/llvm-project/lldb/bindings/lua/ |
H A D | lua-typemaps.swig | 235 lldb::FileSP file_sp; 236 file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); 237 if (!file_sp->IsValid()) 239 $1 = file_sp;
|
/freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBFile.h | 27 SBFile(FileSP file_sp);
|
/freebsd/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 15070 lldb::FileSP file_sp; in _wrap_SBCommandReturnObject_PutOutput__SWIG_1() local 15071 file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); in _wrap_SBCommandReturnObject_PutOutput__SWIG_1() 15072 if (!file_sp->IsValid()) in _wrap_SBCommandReturnObject_PutOutput__SWIG_1() 15074 arg2 = file_sp; in _wrap_SBCommandReturnObject_PutOutput__SWIG_1() 15244 lldb::FileSP file_sp; in _wrap_SBCommandReturnObject_PutError__SWIG_1() local 15245 file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); in _wrap_SBCommandReturnObject_PutError__SWIG_1() 15246 if (!file_sp->IsValid()) in _wrap_SBCommandReturnObject_PutError__SWIG_1() 15248 arg2 = file_sp; in _wrap_SBCommandReturnObject_PutError__SWIG_1() 15604 lldb::FileSP file_sp; in _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1() local 15605 file_sp = std::make_shared<lldb_private::NativeFile>(p->f, false); in _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1() [all …]
|