Home
last modified time | relevance | path

Searched refs:GetPath (Results 1 – 25 of 153) sorted by relevance

1234567

/openbsd-src/gnu/llvm/lldb/source/Target/
H A DModuleCache.cpp70 return fs::create_directories(dir_path.GetPath(), true, fs::perms::owner_all); in MakeDirectory()
79 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec()
104 if (status(sysroot_module_path_spec.GetPath(), st)) in DeleteExistingModule()
111 llvm::sys::fs::remove_directories(module_spec_dir.GetPath()); in DeleteExistingModule()
121 llvm::sys::fs::remove(sysroot_module_path_spec.GetPath()); in DecrementRefExistingModule()
124 llvm::sys::fs::remove(symfile_spec.GetPath()); in DecrementRefExistingModule()
134 platform_module_spec.GetPath().c_str()); in CreateHostSysRootModuleLink()
147 return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(), in CreateHostSysRootModuleLink()
148 sysroot_module_path_spec.GetPath()); in CreateHostSysRootModuleLink()
186 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete()
[all …]
H A DPlatform.cpp321 strm.Printf("WorkingDir: %s\n", GetWorkingDirectory().GetPath().c_str()); in GetStatus()
444 dst_dir.GetPath().c_str()); in RecurseCopy_Callback()
449 std::string src_dir_path(src.GetPath()); in RecurseCopy_Callback()
503 "invalid file detected during copy: %s", src.GetPath().c_str()); in RecurseCopy_Callback()
515 src.GetPath().c_str(), dst.GetPath().c_str()); in Install()
537 relative_spec.AppendPathComponent(dst.GetPath()); in Install()
542 dst.GetPath().c_str()); in Install()
552 dst.GetPath().c_str()); in Install()
567 src.GetPath().c_str(), dst.GetPath().c_str(), in Install()
568 fixed_dst.GetPath().c_str()); in Install()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwinKernel.cpp263 strm.Printf("[%d] %s\n", i, m_search_directories[i].GetPath().c_str()); in GetStatus()
271 m_search_directories_no_recursing[i].GetPath().c_str()); in GetStatus()
291 LLDB_LOGF(log, "%s", pos.second.GetPath().c_str()); in GetStatus()
296 LLDB_LOGF(log, "%s", pos.second.GetPath().c_str()); in GetStatus()
300 LLDB_LOGF(log, "%s", fs.GetPath().c_str()); in GetStatus()
304 LLDB_LOGF(log, "%s", fs.GetPath().c_str()); in GetStatus()
308 LLDB_LOGF(log, "%s", fs.GetPath().c_str()); in GetStatus()
312 LLDB_LOGF(log, "%s", fs.GetPath().c_str()); in GetStatus()
329 std::string developer_dir = HostInfo::GetXcodeDeveloperDirectory().GetPath(); in CollectKextAndKernelDirectories()
430 AddRootSubdirsToSearchPaths(thisp, file_spec.GetPath()); in FindKDKandSDKDirectoriesInDirectory()
[all …]
H A DPlatformDarwinDevice.cpp81 sdk_symbols_symlink_fspec.GetPath().c_str()); in UpdateSDKDirectoryInfosIfNeeded()
97 local_sdk_cache.GetPath().c_str()); in UpdateSDKDirectoryInfosIfNeeded()
100 if (local_sdk_cache.GetPath(path, sizeof(path))) { in UpdateSDKDirectoryInfosIfNeeded()
114 m_sdk_directory_infos[i].directory.GetPath().c_str()); in UpdateSDKDirectoryInfosIfNeeded()
137 sdk_symbols_symlink_fspec.GetPath().c_str()); in UpdateSDKDirectoryInfosIfNeeded()
234 m_device_support_directory = fspec.GetPath(); in GetDeviceSupportDirectory()
261 if (sdk_dir_info->directory.GetPath(path, sizeof(path))) { in GetDeviceSupportDirectoryForOSVersion()
284 return llvm::sys::fs::create_directory(module_cache_folder.GetPath()); in MakeCacheFolderForFile()
323 HostInfo::GetSharedCacheImageInfo(module_spec.GetFileSpec().GetPath()); in GetSharedModuleWithLocalCache()
337 module_spec.GetFileSpec().GetPath().c_str()); in GetSharedModuleWithLocalCache()
[all …]
H A DPlatformRemoteDarwinDevice.cpp62 sdk_dir_info.directory.GetPath().c_str()); in GetStatus()
119 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
125 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
137 m_sdk_directory_infos[sdk_idx].directory.GetPath(); in GetFileInSDK()
170 if (platform_file.GetPath(platform_file_path, sizeof(platform_file_path))) { in GetSymbolFile()
237 if (platform_file.GetPath(platform_file_path, sizeof(platform_file_path))) { in GetSharedModule()
H A DPlatformDarwin.cpp218 llvm::StringRef(symfile_spec.GetPath()) in LocateExecutableScriptingResources()
285 symfile_spec.GetPath().c_str(), in LocateExecutableScriptingResources()
295 symfile_spec.GetPath().c_str(), reason_for_complaint, in LocateExecutableScriptingResources()
376 platform_file.GetPath(platform_path, sizeof(platform_path)); in GetSharedModule()
378 bundle_directory.GetPath(bundle_dir, sizeof(bundle_dir)); in GetSharedModule()
383 module_search_paths_ptr->GetFileSpecAtIndex(i).GetPath( in GetSharedModule()
679 std::string shell_string = shell.GetPath(); in GetResumeCountForLaunchInfo()
773 sdks_spec.GetPath(), find_directories, find_files, find_other, in FindSDKInXcodeForModules()
969 entry_sp->AddStringItem("image", module->GetFileSpec().GetPath(false)); in ExtractCrashInfoAnnotations()
1108 if (FileSystem::Instance().IsDirectory(sysroot_spec.GetPath())) { in AddClangModuleCompilationOptionsForSDKType()
[all …]
H A DPlatformAppleSimulator.cpp96 std::string developer_dir = HostInfo::GetXcodeDeveloperDirectory().GetPath(); in GetStatus()
142 std::string developer_dir = HostInfo::GetXcodeDeveloperDirectory().GetPath(); in ConnectRemote()
246 const std::string core_sim_path(GetCoreSimulatorPath().GetPath()); in LoadCoreSimulator()
258 HostInfo::GetXcodeDeveloperDirectory().GetPath(); in GetSimulatorDevice()
440 resolved_module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
445 module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
456 if (platform_file.GetPath(platform_file_path, sizeof(platform_file_path))) { in GetSymbolFile()
/openbsd-src/gnu/llvm/lldb/source/Host/common/
H A DFileSystem.cpp76 return DirBegin(file_spec.GetPath(), ec); in DirBegin()
89 return GetStatus(file_spec.GetPath()); in GetStatus()
100 return GetModificationTime(file_spec.GetPath()); in GetModificationTime()
113 return GetByteSize(file_spec.GetPath()); in GetByteSize()
124 return GetPermissions(file_spec.GetPath()); in GetPermissions()
131 return GetPermissions(file_spec.GetPath(), ec); in GetPermissions()
152 return file_spec && Exists(file_spec.GetPath()); in Exists()
160 return file_spec && Readable(file_spec.GetPath()); in Readable()
171 return file_spec && IsDirectory(file_spec.GetPath()); in IsDirectory()
181 return file_spec && IsLocal(file_spec.GetPath()); in IsLocal()
[all …]
H A DFileAction.cpp28 llvm::StringRef FileAction::GetPath() const { in GetPath() function in FileAction
86 m_file_spec.GetPath().c_str(), m_arg); in Dump()
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DFileSpec.cpp325 std::string path{GetPath(true)}; in Dump()
366 size_t FileSpec::GetPath(char *path, size_t path_max_len, in GetPath() function in FileSpec
371 std::string result = GetPath(denormalize); in GetPath()
376 std::string FileSpec::GetPath(bool denormalize) const { in GetPath() function in FileSpec
378 GetPath(result, denormalize); in GetPath()
383 return ConstString{GetPath(denormalize)}; in GetPathAsConstString()
386 void FileSpec::GetPath(llvm::SmallVectorImpl<char> &path, in GetPath() function in FileSpec
426 GetPath(current_path, false); in CopyByRemovingLastPathComponent()
435 GetPath(current_path, false); in GetLastPathComponent()
442 GetPath(current_path, false); in PrependPathComponent()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Host/posix/
H A DFileSystemPosix.cpp38 if (::symlink(dst.GetPath().c_str(), src.GetPath().c_str()) == -1) in Symlink()
46 ssize_t count = ::readlink(src.GetPath().c_str(), buf, sizeof(buf) - 1); in Readlink()
58 if (!src.GetPath(resolved_path, sizeof(resolved_path))) { in ResolveSymbolicLink()
60 src.GetPath().c_str()); in ResolveSymbolicLink()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleSaver.cpp38 return path.GetPath().substr(directory.GetPath().size() + 1); in GetRelativePath()
46 output_file.GetPath().c_str(), std::ios::out | std::ios::binary); in WriteBytesToDisk()
54 output_file.GetPath().c_str())); in WriteBytesToDisk()
75 std::ofstream os(trace_path.GetPath()); in SaveTraceBundleDescription()
81 trace_path.GetPath().c_str())); in SaveTraceBundleDescription()
104 sys::fs::create_directories(threads_dir.GetPath().c_str()); in BuildThreadsSection()
201 sys::fs::create_directories(cpus_dir.GetPath().c_str()); in BuildCpusSection()
254 std::string system_path = module_sp->GetPlatformFileSpec().GetPath(); in BuildModulesSection()
259 std::string file = module_sp->GetFileSpec().GetPath(); in BuildModulesSection()
279 llvm::sys::fs::copy_file(file, path_to_copy_module.GetPath())) in BuildModulesSection()
[all …]
H A DTraceIntelPTBundleLoader.cpp396 module.system_path = NormalizePath(module.system_path).GetPath(); in NormalizeAllPaths()
398 module.file = NormalizePath(*module.file).GetPath(); in NormalizeAllPaths()
402 thread.ipt_trace = NormalizePath(*thread.ipt_trace).GetPath(); in NormalizeAllPaths()
409 NormalizePath(cpu.context_switch_trace).GetPath(); in NormalizeAllPaths()
410 cpu.ipt_trace = NormalizePath(cpu.ipt_trace).GetPath(); in NormalizeAllPaths()
415 NormalizePath(bundle_description.kernel->file).GetPath(); in NormalizeAllPaths()
/openbsd-src/gnu/llvm/lldb/tools/lldb-server/
H A Dlldb-platform.cpp101 Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath())); in save_socket_id_to_file()
104 temp_file_spec.GetPath().c_str(), error.AsCString()); in save_socket_id_to_file()
108 temp_file_path = temp_file_spec.GetPath(); in save_socket_id_to_file()
113 temp_file_path, file_spec.GetPath(), socket_id), in save_socket_id_to_file()
130 file_spec.GetPath().c_str(), in save_socket_id_to_file()
136 file_spec.GetPath().c_str()); in save_socket_id_to_file()
304 socket_file.GetPath().c_str(), error.AsCString()); in main_platform()
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DLocateSymbolFileMacOSX.cpp100 if (exec_fspec->GetPath(exec_cf_path, sizeof(exec_cf_path))) in LocateMacOSXFilesUsingDebugSymbols()
163 module_spec.GetFileSpec().GetPath().c_str(), in LocateMacOSXFilesUsingDebugSymbols()
172 module_spec.GetFileSpec().GetPath()); in LocateMacOSXFilesUsingDebugSymbols()
183 module_spec.GetFileSpec().GetPath().c_str(), in LocateMacOSXFilesUsingDebugSymbols()
225 switch (get_file_type(file_spec.GetPath())) { in LocateMacOSXFilesUsingDebugSymbols()
295 std::string dsym_bundle_path = dsym_bundle_fspec.GetPath(); in FindSymbolFileInBundle()
439 DBGSourcePath = resolved_source_path.GetPath(); in GetModuleSpecInfoFromUUIDDictionary()
455 build_path.GetPath(), source_path.GetPath(), true); in GetModuleSpecInfoFromUUIDDictionary()
485 DBGSourcePath = resolved_source_path.GetPath(); in GetModuleSpecInfoFromUUIDDictionary()
579 const std::string dsymForUUID_exe_path = dsymForUUID_exe_spec.GetPath(); in DownloadObjectAndSymbolFile()
[all …]
H A DLocateSymbolFile.cpp168 dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable()
200 dsym_fspec.GetPath().c_str()); in LocateDSYMInVincinityOfExecutable()
337 std::string dirname = dirspec.GetPath(); in LocateExecutableSymbolFile()
360 if (llvm::sys::fs::equivalent(file_spec.GetPath(), in LocateExecutableSymbolFile()
361 module_file_spec.GetPath())) in LocateExecutableSymbolFile()
H A DObjectFile.cpp59 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin()
86 file->GetPath(), g_initial_bytes_to_read, file_offset); in FindPlugin()
94 module_sp->GetFileSpec().GetPath(path_with_object); in FindPlugin()
119 archive_file.GetPath(), g_initial_bytes_to_read, file_offset); in FindPlugin()
162 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin()
194 file.GetPath(), g_initial_bytes_to_read, file_offset); in GetModuleSpecifications()
261 m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset, in ObjectFile()
661 return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset); in MapFileData()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp52 std::string raw_path = lldb_shlib_spec.GetPath(); in DefaultComputeClangResourceDirectory()
90 std::string raw_path = lldb_shlib_spec.GetPath(); in ComputeClangResourceDirectory()
145 raw_path = lldb_shlib_spec.GetPath(); in ComputeClangResourceDirectory()
163 g_cached_resource_dir.GetPath().c_str()); in GetClangResourceDir()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/MacOSX/
H A DSymbolVendorMacOSX.cpp103 module_sp->GetFileSpec().GetPath().c_str()); in CreateInstance()
115 module_sp->GetFileSpec().GetPath().c_str()); in CreateInstance()
141 std::string dsym_root = dsym_fspec.GetPath(); in CreateInstance()
255 build_path.GetPath(), source_path.GetPath(), in CreateInstance()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/Android/
H A DPlatformAndroid.cpp175 FileSpec source_spec(source.GetPath(false), FileSpec::Style::posix); in GetFile()
193 std::string source_file = source_spec.GetPath(false); in GetFile()
218 FileSpec destination_spec(destination.GetPath(false), FileSpec::Style::posix); in PutFile()
221 destination_spec.GetPath(false)); in PutFile()
329 module_sp->GetPlatformFileSpec().GetPath(false).c_str(), in DownloadSymbolFile()
330 symfile_platform_filespec.GetPath(false).c_str()); in DownloadSymbolFile()
/openbsd-src/gnu/llvm/lldb/source/Host/windows/
H A DFileSystem.cpp33 if (!llvm::ConvertUTF8toWide(src.GetPath(), wsrc) || in Symlink()
34 !llvm::ConvertUTF8toWide(dst.GetPath(), wdst)) in Symlink()
54 if (!llvm::ConvertUTF8toWide(src.GetPath(), wsrc)) { in Readlink()
H A DProcessLauncherWindows.cpp103 executable = launch_info.GetExecutableFile().GetPath(); in LaunchProcess()
109 llvm::ConvertUTF8toWide(launch_info.GetWorkingDirectory().GetPath(), in LaunchProcess()
157 llvm::StringRef path = action->GetPath(); in GetStdioHandle()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp100 const auto module_path = module_file_spec.GetPath(false); in GetModuleSpec()
182 working_dir.GetPath().c_str()); in GetRemoteWorkingDirectory()
196 working_dir.GetPath().c_str()); in SetRemoteWorkingDirectory()
374 args.ReplaceArgumentAtIndex(0, exe_file.GetPath(false)); in LaunchProcess()
543 file_spec.GetPath().c_str(), mode, error.GetError(), in MakeDirectory()
558 file_spec.GetPath().c_str(), file_permissions, error.GetError(), in GetFilePermissions()
573 file_spec.GetPath().c_str(), file_permissions, error.GetError(), in SetFilePermissions()
642 src.GetPath().c_str(), dst.GetPath().c_str(), error.GetError(), in CreateSymlink()
653 file_spec.GetPath().c_str(), error.GetError(), error.AsCString()); in Unlink()
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBFileSpec.cpp140 uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const { in GetPath() function in SBFileSpec
143 uint32_t result = m_opaque_up->GetPath(dst_path, dst_len); in GetPath()
173 if (m_opaque_up->GetPath(path, sizeof(path))) in GetDescription()
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DFileSpec.h299 size_t GetPath(char *path, size_t max_path_length,
309 std::string GetPath(bool denormalize = true) const;
322 void GetPath(llvm::SmallVectorImpl<char> &path,

1234567