| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | Declaration.cpp | 15 if (m_file) { in Dump() 18 *s << m_file; in Dump() 20 *s << m_file.GetFilename(); in Dump() 36 if (m_file) { in DumpStopContext() 38 *s << m_file; in DumpStopContext() 40 m_file.GetFilename().Dump(s); in DumpStopContext() 59 int result = FileSpec::Compare(a.m_file, b.m_file, true); in Compare() 74 int file_compare = FileSpec::Compare(this->m_file, declaration.m_file, true); in FileAndLineEqual()
|
| H A D | Module.cpp | 204 m_file = module_spec.GetFileSpec(); in Module() 206 m_file = matching_module_spec.GetFileSpec(); in Module() 924 SearchFilterByModule filter(target_sp, m_file); in FindAddressesForLine() 1064 m_file = file; in SetFileSpecAndObjectName() 1089 const char *filename = m_file.GetFilename().GetCString(); in GetDescription() 1094 if (m_file.GetPath(path, sizeof(path))) in GetDescription() 1234 s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(), in Dump() 1264 else if (m_file) in GetObjectFile() 1265 file_size = FileSystem::Instance().GetByteSize(m_file); in GetObjectFile() 1273 shared_from_this(), &m_file, m_object_offset, in GetObjectFile() [all …]
|
| /llvm-project-15.0.7/lldb/source/Host/windows/ |
| H A D | LockFileWindows.cpp | 35 : LockFileBase(fd), m_file(reinterpret_cast<HANDLE>(_get_osfhandle(fd))) {} in LockFileWindows() 40 return LockFileBase::IsValidFile() && m_file != INVALID_HANDLE_VALUE; in IsValidFile() 44 return fileLock(m_file, LOCKFILE_EXCLUSIVE_LOCK, start, len); in DoWriteLock() 49 return fileLock(m_file, LOCKFILE_EXCLUSIVE_LOCK | LOCKFILE_FAIL_IMMEDIATELY, in DoTryWriteLock() 54 return fileLock(m_file, 0, start, len); in DoReadLock() 59 return fileLock(m_file, LOCKFILE_FAIL_IMMEDIATELY, start, len); in DoTryReadLock() 65 if (!::UnlockFileEx(m_file, 0, m_len, 0, &overlapped) && in DoUnlock() 70 if (!::GetOverlappedResult(m_file, &overlapped, &bytes, TRUE)) in DoUnlock()
|
| H A D | ConnectionGenericFileWindows.cpp | 54 : m_file(INVALID_HANDLE_VALUE), m_owns_file(false) { in ConnectionGenericFile() 61 : m_file(file), m_owns_file(owns_file) { in ConnectionGenericFile() 69 ::CloseHandle(m_file); in ~ConnectionGenericFile() 89 return m_file && (m_file != INVALID_HANDLE_VALUE); in IsConnected() 124 if (m_file == INVALID_HANDLE_VALUE) { in Connect() 145 HANDLE old_file = m_file; in Disconnect() 146 m_file = INVALID_HANDLE_VALUE; in Disconnect() 181 result = ::ReadFile(m_file, dst, dst_len, NULL, &m_overlapped); in Read() 252 static_cast<void *>(this), m_file, dst, dst_len, in Read() 277 result = ::WriteFile(m_file, src, src_len, NULL, &m_overlapped); in Write() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | Declaration.h | 44 : m_file(file_spec), m_line(line), m_column(column) {} in m_file() function 58 m_file.Clear(); in Clear() 107 FileSpec &GetFile() { return m_file; } in GetFile() 113 const FileSpec &GetFile() const { return m_file; } in GetFile() 146 return m_file && m_line != 0 && m_line != LLDB_INVALID_LINE_NUMBER; in IsValid() 161 void SetFile(const FileSpec &file_spec) { m_file = file_spec; } in SetFile() 180 FileSpec m_file;
|
| H A D | ModuleSpec.h | 39 else if (m_file) in m_file() 44 : m_file(file_spec), m_arch(arch), m_object_offset(0), in ModuleSpec() 47 FileSpec *GetFileSpecPtr() { return (m_file ? &m_file : nullptr); } in GetFileSpecPtr() 50 return (m_file ? &m_file : nullptr); in GetFileSpecPtr() 53 FileSpec &GetFileSpec() { return m_file; } in GetFileSpec() 55 const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec() 130 m_file.Clear(); in Clear() 143 if (m_file) 164 if (m_file) { in Dump() 166 strm << m_file; in Dump() [all …]
|
| H A D | Module.h | 149 module_sp->m_file = module_sp->m_objfile_sp->GetFileSpec(); in CreateModuleFromObjectFile() 477 const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec() 494 return m_file; in GetPlatformFileSpec() 1002 FileSpec m_file; ///< The file representation on disk for this module (if variable
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | PThreadMutex.cpp | 21 : m_pMutex(m.Mutex()), m_function(function), m_file(file), m_line(line), in Locker() 28 : m_pMutex(m ? m->Mutex() : NULL), m_function(function), m_file(file), in Locker() 35 : m_pMutex(mutex), m_function(function), m_file(file), m_line(line), in Locker() 48 m_pMutex, m_function, m_file, m_line); in Lock() 53 m_file, m_line); in Lock() 61 m_pMutex, DNBTimer::GetTimeOfDay() - m_lock_time, m_function, m_file, in Unlock()
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionGroupOutputFile.h | 32 const OptionValueFileSpec &GetFile() { return m_file; } in GetFile() 37 return m_file.OptionWasSet() || m_append.OptionWasSet(); in AnyOptionWasSet() 41 OptionValueFileSpec m_file;
|
| H A D | OptionGroupFile.h | 38 OptionValueFileSpec &GetOptionValue() { return m_file; } in GetOptionValue() 40 const OptionValueFileSpec &GetOptionValue() const { return m_file; } in GetOptionValue() 43 OptionValueFileSpec m_file;
|
| /llvm-project-15.0.7/lldb/include/lldb/Symbol/ |
| H A D | ObjectContainer.h | 41 m_file(), // This file can be different than the module's file spec in ObjectContainer() 44 m_file = *file; in ObjectContainer() 161 FileSpec m_file; ///< The file that represents this container objects (which
|
| H A D | ObjectFile.h | 292 virtual FileSpec &GetFileSpec() { return m_file; } in GetFileSpec() 299 virtual const FileSpec &GetFileSpec() const { return m_file; } in GetFileSpec() 729 FileSpec m_file;
|
| /llvm-project-15.0.7/lldb/source/Plugins/TraceExporter/ctf/ |
| H A D | CommandObjectThreadTraceExportCTF.cpp | 35 m_file.assign(std::string(option_arg)); in SetOptionValue() 56 m_file.clear(); in OptionParsingStarting() 89 return htr.Export(m_options.m_file); in DoExecute()
|
| /llvm-project-15.0.7/lldb/unittests/TestingSupport/Symbol/ |
| H A D | YAMLModuleTester.cpp | 20 m_file = std::move(*File); in YAMLModuleTester() 22 m_module_sp = std::make_shared<Module>(m_file->moduleSpec()); in YAMLModuleTester()
|
| H A D | YAMLModuleTester.h | 30 llvm::Optional<TestFile> m_file; variable
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | TestLineEntry.cpp | 43 llvm::Optional<TestFile> m_file; member in LineEntryTest 50 m_file.emplace(std::move(*ExpectedFile)); in SetUp() 51 m_module_sp = std::make_shared<Module>(m_file->moduleSpec()); in SetUp()
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionGroupOutputFile.cpp | 42 error = m_file.SetValueFromString(option_arg); in SetOptionValue() 58 m_file.Clear(); in OptionParsingStarting()
|
| H A D | OptionGroupFile.cpp | 36 Status error(m_file.SetValueFromString(option_arg)); in SetOptionValue() 42 m_file.Clear(); in OptionParsingStarting()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbIndex.h | 50 llvm::pdb::PDBFile *m_file = nullptr; variable 118 llvm::pdb::PDBFile &pdb() { return *m_file; } in pdb() 119 const llvm::pdb::PDBFile &pdb() const { return *m_file; } in pdb()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/ |
| H A D | MinidumpParser.h | 97 llvm::object::MinidumpFile &GetMinidumpFile() { return *m_file; } in GetMinidumpFile() 107 std::unique_ptr<llvm::object::MinidumpFile> m_file; variable
|
| H A D | MinidumpParser.cpp | 40 : m_data_sp(std::move(data_sp)), m_file(std::move(file)) {} in MinidumpParser() 48 return m_file->getRawStream(stream_type).value_or(llvm::ArrayRef<uint8_t>()); in GetStream() 140 llvm::Expected<const SystemInfo &> system_info = m_file->getSystemInfo(); in GetArchitecture() 199 auto ExpectedCSD = m_file->getString(system_info->CSDVersionRVA); in GetArchitecture() 368 auto ExpectedName = m_file->getString(module.ModuleNameRVA); in GetFilteredModuleList()
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | ObjectFile.cpp | 246 m_file(), // This file could be different from the original module's file in ObjectFile() 252 m_file = *file_spec_ptr; in ObjectFile() 261 m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset, in ObjectFile() 268 : ModuleChild(module_sp), m_file(), m_type(eTypeInvalid), in ObjectFile() 760 strm.Format("{0}-{1}-{2}", m_file, GetType(), GetStrata()); in GetCacheHash()
|
| /llvm-project-15.0.7/lldb/test/API/api/multithreaded/ |
| H A D | test_stop-hook.cpp.template | 84 m_file = m_dbg.GetInputFileHandle(); 89 m_dbg.SetInputFileHandle(m_file, false); 95 FILE *m_file;
|
| /llvm-project-15.0.7/lldb/examples/summaries/ |
| H A D | lldb | 19 type summary add -w lldb "lldb_private::Module" -s "${var.m_file%S}" 20 type summary add -w lldb "lldb_private::ModuleSpec" -s "${var.m_file%S}"
|
| /llvm-project-15.0.7/lldb/include/lldb/Host/windows/ |
| H A D | LockFileWindows.h | 36 HANDLE m_file;
|