Home
last modified time | relevance | path

Searched refs:file_spec (Results 1 – 25 of 68) sorted by relevance

123

/external/lldb/source/Core/
DSourceManager.cpp69 SourceManager::GetFile (const FileSpec &file_spec) in GetFile() argument
71 bool same_as_previous = m_last_file_sp && m_last_file_sp->FileSpecMatches (file_spec); in GetFile()
78 file_sp = debugger_sp->GetSourceFileCache().FindSourceFile (file_spec); in GetFile()
90 file_sp.reset (new File (file_spec, target_sp.get())); in GetFile()
169 const FileSpec &file_spec, in DisplaySourceLinesWithLineNumbers() argument
178 FileSP file_sp (GetFile (file_spec)); in DisplaySourceLinesWithLineNumbers()
247 SourceManager::SetDefaultFileAndLine (const FileSpec &file_spec, uint32_t line) in SetDefaultFileAndLine() argument
250 m_last_file_sp = GetFile (file_spec); in SetDefaultFileAndLine()
266 SourceManager::GetDefaultFileAndLine (FileSpec &file_spec, uint32_t &line) in GetDefaultFileAndLine() argument
270 file_spec = m_last_file_sp->GetFileSpec(); in GetDefaultFileAndLine()
[all …]
DFileSpecList.cpp54 FileSpecList::Append(const FileSpec &file_spec) in Append() argument
56 m_files.push_back(file_spec); in Append()
67 FileSpecList::AppendIfUnique(const FileSpec &file_spec) in AppendIfUnique() argument
70 if (find(m_files.begin(), end, file_spec) == end) in AppendIfUnique()
72 m_files.push_back(file_spec); in AppendIfUnique()
110 FileSpecList::FindFileIndex (size_t start_idx, const FileSpec &file_spec, bool full) const in FindFileIndex() argument
116 bool compare_filename_only = file_spec.GetDirectory().IsEmpty(); in FindFileIndex()
122 if (m_files[idx].GetFilename() == file_spec.GetFilename()) in FindFileIndex()
127 if (FileSpec::Equal (m_files[idx], file_spec, full)) in FindFileIndex()
DFileLineResolver.cpp27 const FileSpec &file_spec, in FileLineResolver() argument
32 m_file_spec (file_spec), in FileLineResolver()
108 FileLineResolver::Reset (const FileSpec &file_spec, in Reset() argument
112 m_file_spec = file_spec; in Reset()
DModuleList.cpp782 FileSpec file_spec(file_path, false); in ResolveSymbolContextForFilePath() local
783 … return ResolveSymbolContextsForFileSpec (file_spec, line, check_inlines, resolve_scope, sc_list); in ResolveSymbolContextForFilePath()
787 ModuleList::ResolveSymbolContextsForFileSpec (const FileSpec &file_spec, uint32_t line, bool check_… in ResolveSymbolContextsForFileSpec() argument
793 … (*pos)->ResolveSymbolContextsForFileSpec (file_spec, line, check_inlines, resolve_scope, sc_list); in ResolveSymbolContextsForFileSpec()
953 FileSpec file_spec = Symbols::LocateExecutableObjectFile (module_spec); in GetSharedModule() local
957 if (file_spec != module_file_spec) in GetSharedModule()
959 if (!file_spec.Exists()) in GetSharedModule()
961 file_spec.GetPath(path, sizeof(path)); in GetSharedModule()
964 if (file_spec.Exists()) in GetSharedModule()
992 platform_module_spec.GetFileSpec() = file_spec; in GetSharedModule()
[all …]
DAddressResolverFileLine.cpp27 const FileSpec &file_spec, in AddressResolverFileLine() argument
32 m_file_spec (file_spec), in AddressResolverFileLine()
DModule.cpp170 Module::Module(const FileSpec& file_spec, in Module() argument
176 m_mod_time (file_spec.GetModificationTime()), in Module()
179 m_file (file_spec), in Module()
514 FileSpec file_spec(file_path, false); in ResolveSymbolContextForFilePath() local
515 … return ResolveSymbolContextsForFileSpec (file_spec, line, check_inlines, resolve_scope, sc_list); in ResolveSymbolContextForFilePath()
519 Module::ResolveSymbolContextsForFileSpec (const FileSpec &file_spec, uint32_t line, bool check_inli… in ResolveSymbolContextsForFileSpec() argument
524 file_spec.GetPath().c_str(), in ResolveSymbolContextsForFileSpec()
533 symbols->ResolveSymbolContext (file_spec, line, check_inlines, resolve_scope, sc_list); in ResolveSymbolContextsForFileSpec()
1445 const FileSpec &file_spec = module_ref.GetFileSpec(); in MatchesModuleSpec() local
1446 if (file_spec) in MatchesModuleSpec()
[all …]
/external/lldb/include/lldb/Core/
DSourceManager.h35 File (const FileSpec &file_spec, Target *target);
59 FileSpecMatches (const FileSpec &file_spec);
102 FileSP FindSourceFile (const FileSpec &file_spec) const;
153 SetDefaultFileAndLine (const FileSpec &file_spec, uint32_t line);
156 GetDefaultFileAndLine (FileSpec &file_spec, uint32_t &line);
165 FindLinesMatchingRegex (FileSpec &file_spec,
174 GetFile (const FileSpec &file_spec);
DModuleSpec.h37 ModuleSpec (const FileSpec &file_spec) : in ModuleSpec() argument
38 m_file (file_spec), in ModuleSpec()
50 ModuleSpec (const FileSpec &file_spec, const ArchSpec &arch) : in ModuleSpec() argument
51 m_file (file_spec), in ModuleSpec()
/external/lldb/source/API/
DSBCompileUnit.cpp56 SBFileSpec file_spec; in GetFileSpec() local
58 file_spec.SetFileSpec(*m_opaque_ptr); in GetFileSpec()
59 return file_spec; in GetFileSpec()
117 FileSpec file_spec; in FindLineEntryIndex() local
119 file_spec = inline_file_spec->ref(); in FindLineEntryIndex()
121 file_spec = *m_opaque_ptr; in FindLineEntryIndex()
196 FileSpec file_spec = support_files.GetFileSpecAtIndex(idx); in GetSupportFileAtIndex() local
197 sb_file_spec.SetFileSpec(file_spec); in GetSupportFileAtIndex()
DSBModule.cpp107 SBFileSpec file_spec; in GetFileSpec() local
110 file_spec.SetFileSpec(module_sp->GetFileSpec()); in GetFileSpec()
115 module_sp.get(), file_spec.get()); in GetFileSpec()
118 return file_spec; in GetFileSpec()
126 SBFileSpec file_spec; in GetPlatformFileSpec() local
129 file_spec.SetFileSpec(module_sp->GetPlatformFileSpec()); in GetPlatformFileSpec()
134 module_sp.get(), file_spec.get()); in GetPlatformFileSpec()
137 return file_spec; in GetPlatformFileSpec()
DSBModuleSpec.cpp176 FileSpec file_spec(path, true); in GetModuleSpecifications() local
177 Host::ResolveExecutableInBundle(file_spec); in GetModuleSpecifications()
178 ObjectFile::GetModuleSpecifications(file_spec, 0, 0, *specs.m_opaque_ap); in GetModuleSpecifications()
/external/lldb/include/lldb/Symbol/
DDeclaration.h59 Declaration (const FileSpec& file_spec, uint32_t line = 0, uint32_t column = 0) :
60 m_file (file_spec), in m_file() argument
242 SetFile (const FileSpec& file_spec) in SetFile() argument
244 m_file = file_spec; in SetFile()
DCompileUnit.h103 …CompileUnit(const lldb::ModuleSP &module_sp, void *user_data, const FileSpec &file_spec, lldb::use…
389 ResolveSymbolContext (const FileSpec& file_spec,
/external/lldb/source/Host/common/
DHost.cpp807 file_spec (fs), in DynamicLibraryInfo()
813 const FileSpec file_spec; member
819 Host::DynamicLibraryOpen (const FileSpec &file_spec, uint32_t options, Error &error) in DynamicLibraryOpen() argument
822 if (file_spec.GetPath(path, sizeof(path))) in DynamicLibraryOpen()
847 return new DynamicLibraryInfo (file_spec, options, opaque); in DynamicLibraryOpen()
905 if (match_dylib_spec != dylib_info->file_spec) in DynamicLibraryGetSymbol()
908 if (dylib_info->file_spec.GetPath (dylib_path, sizeof(dylib_path))) in DynamicLibraryGetSymbol()
928 Host::GetLLDBPath (PathType path_type, FileSpec &file_spec) in GetLLDBPath() argument
946 file_spec.GetDirectory() = g_lldb_so_dir; in GetLLDBPath()
947 return file_spec.GetDirectory(); in GetLLDBPath()
[all …]
DSymbols.cpp88 FileSpec file_spec (filename.c_str(), true); in LocateExecutableSymbolFile() local
90 if (file_spec == module_spec.GetFileSpec()) in LocateExecutableSymbolFile()
93 if (file_spec.Exists()) in LocateExecutableSymbolFile()
96 … const size_t num_specs = ObjectFile::GetModuleSpecifications (file_spec, 0, 0, specs); in LocateExecutableSymbolFile()
104 return file_spec; in LocateExecutableSymbolFile()
DFile.cpp280 File::GetFileSpec (FileSpec &file_spec) const in GetFileSpec()
290 file_spec.SetFile (path, false); in GetFileSpec()
309 file_spec.SetFile (path, false); in GetFileSpec()
317 file_spec.Clear(); in GetFileSpec()
/external/lldb/source/Host/macosx/
DSymbols.cpp56 const FileSpec &file_spec, in SkinnyMachOFileContainsArchAndUUID() argument
104 …DataBufferSP data_buffer_sp (file_spec.ReadFileContents (file_offset, sizeof(struct mach_header_64… in SkinnyMachOFileContainsArchAndUUID()
112 …DataBufferSP data_buffer_sp (file_spec.ReadFileContents (file_offset, sizeof(struct mach_header) +… in SkinnyMachOFileContainsArchAndUUID()
137 const FileSpec &file_spec, in UniversalMachOFileContainsArchAndUUID() argument
156 … DataBufferSP data_buffer_sp (file_spec.ReadFileContents (file_offset, fat_header_and_arch_size)); in UniversalMachOFileContainsArchAndUUID()
178 … DataBufferSP data_buffer_sp (file_spec.ReadFileContents (file_offset + arch_offset, 0x1000)); in UniversalMachOFileContainsArchAndUUID()
189 …if (SkinnyMachOFileContainsArchAndUUID (file_spec, arch, uuid, file_offset + arch_offset, arch_dat… in UniversalMachOFileContainsArchAndUUID()
200 const FileSpec &file_spec, in FileAtPathContainsArchAndUUID() argument
207 DataBufferSP data_buffer_sp (file_spec.ReadFileContents (file_offset, 0x1000)); in FileAtPathContainsArchAndUUID()
223 …return SkinnyMachOFileContainsArchAndUUID (file_spec, arch, uuid, file_offset, data, data_offset, … in FileAtPathContainsArchAndUUID()
[all …]
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderMacOSXDYLD.h174 lldb_private::FileSpec file_spec; // Resolved path for this dylib member
184 file_spec(), in DYLDImageInfo()
200 file_spec.Clear(); in Clear()
214 && file_spec == rhs.file_spec
DDynamicLoaderMacOSXDYLD.cpp80 if (pos->file_spec == platform_file_spec && pos->uuid.IsValid() == false) in GetImageInfo()
84 if (m_dyld.file_spec == platform_file_spec && m_dyld.uuid.IsValid() == false) in GetImageInfo()
350 ModuleSpec module_spec (image_info.file_spec, image_info.GetArchitecture ()); in FindTargetModuleForDYLDImageInfo()
368 … module_sp = m_process->ReadModuleFromMemory (image_info.file_spec, image_info.address); in FindTargetModuleForDYLDImageInfo()
391 if (ParseLoadCommands (data, m_dyld, &m_dyld.file_spec)) in ReadDYLDInfoFromMemoryAndSetNotificationCallback()
393 if (m_dyld.file_spec) in ReadDYLDInfoFromMemoryAndSetNotificationCallback()
863 … commpage_image_module_sp = m_process->ReadModuleFromMemory (image_infos[idx].file_spec, in AddModulesUsingImageInfos()
1048 image_infos[i].file_spec.SetFile(raw_path, resolve_path); in ReadImageInfos()
1449 file_spec.GetPath().c_str()); in PutToLog()
1454 file_spec.GetPath().c_str()); in PutToLog()
[all …]
/external/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwinKernel.cpp482 const FileSpec &file_spec) in GetKextDirectoriesInSDK() argument
485 && (file_spec.GetFileNameExtension() == ConstString("sdk") in GetKextDirectoriesInSDK()
486 || file_spec.GetFileNameExtension() == ConstString("kdk"))) in GetKextDirectoriesInSDK()
488 std::string kext_directory_path = file_spec.GetPath(); in GetKextDirectoriesInSDK()
545 const FileSpec &file_spec) in GetKextsInDirectory() argument
547 …if (file_type == FileSpec::eFileTypeDirectory && file_spec.GetFileNameExtension() == ConstString("… in GetKextsInDirectory()
549 ((std::vector<lldb_private::FileSpec> *)baton)->push_back(file_spec); in GetKextsInDirectory()
550 std::string kext_bundle_path = file_spec.GetPath(); in GetKextsInDirectory()
DPlatformDarwinKernel.h113 const lldb_private::FileSpec &file_spec);
118 const lldb_private::FileSpec &file_spec);
/external/lldb/source/Plugins/SymbolVendor/MacOSX/
DSymbolVendorMacOSX.cpp161 FileSpec file_spec = obj_file->GetFileSpec(); in CreateInstance() local
162 if (!file_spec) in CreateInstance()
163 file_spec = module_sp->GetFileSpec(); in CreateInstance()
165 ModuleSpec module_spec(file_spec, module_sp->GetArchitecture()); in CreateInstance()
/external/lldb/source/Symbol/
DCompileUnit.cpp315 const FileSpec& file_spec, in ResolveSymbolContext() argument
327 const bool full_match = file_spec.GetDirectory(); in ResolveSymbolContext()
328 bool file_spec_matches_cu_file_spec = FileSpec::Equal(file_spec, *this, full_match); in ResolveSymbolContext()
335 uint32_t file_idx = GetSupportFiles().FindFileIndex (1, file_spec, true); in ResolveSymbolContext()
339 file_idx = GetSupportFiles().FindFileIndex (file_idx + 1, file_spec, true); in ResolveSymbolContext()
/external/lldb/include/lldb/Host/
DHost.h416 FileSpec &file_spec);
470 OpenFileInExternalEditor (const FileSpec &file_spec,
486 DynamicLibraryOpen (const FileSpec &file_spec,
/external/lldb/source/Breakpoint/
DBreakpointResolverFileLine.cpp33 const FileSpec &file_spec, in BreakpointResolverFileLine() argument
39 m_file_spec (file_spec), in BreakpointResolverFileLine()

123