reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Utility/FileSpec.h
  316   std::string GetPath(bool denormalize = true) const;

References

tools/lldb/include/lldb/Utility/Reproducer.h
   94             directory.CopyByAppendingPathComponent("root").GetPath(),
   95             directory.GetPath())) {}
  106     m_collector->writeMapping(mapping.GetPath());
  160         m_os(filename.GetPath(), ec, llvm::sys::fs::OF_Text), m_record(true) {}
  308         llvm::vfs::getRealFileSystem()->getBufferForFile(file.GetPath());
tools/lldb/source/API/SBDebugger.cpp
   65       llvm::sys::DynamicLibrary::getPermanentLibrary(spec.GetPath().c_str());
tools/lldb/source/API/SBLaunchInfo.cpp
  230   ConstString shell(m_opaque_sp->GetShell().GetPath().c_str());
tools/lldb/source/API/SBPlatform.cpp
  486                                        src.ref().GetPath().c_str());
  501                                        src.ref().GetPath().c_str());
tools/lldb/source/API/SBReproducerPrivate.h
   42         m_stream(directory.CopyByAppendingPathComponent("sbapi.bin").GetPath(),
tools/lldb/source/API/SBSection.cpp
  211               objfile->GetFileSpec().GetPath(), file_size, file_offset);
tools/lldb/source/Breakpoint/BreakpointResolverAddress.cpp
   87                                      m_module_filespec.GetPath());
tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
  101                                  m_file_spec.GetPath());
  256   s->Printf("file = '%s', line = %u, ", m_file_spec.GetPath().c_str(),
tools/lldb/source/Commands/CommandObjectMemory.cpp
  773     std::string path = outfile_spec.GetPath();
 1360           m_memory_options.m_infile.GetPath(), length,
tools/lldb/source/Commands/CommandObjectProcess.cpp
  238             exe_module_sp->GetFileSpec().GetPath().c_str(), archname);
tools/lldb/source/Commands/CommandObjectReproducer.cpp
  254           vfs::getRealFileSystem()->getBufferForFile(vfs_mapping.GetPath());
  262           std::move(buffer.get()), nullptr, vfs_mapping.GetPath());
  327       auto error_or_file = MemoryBuffer::getFile(gdb_file.GetPath());
tools/lldb/source/Commands/CommandObjectSettings.cpp
  377     std::string path(file_spec.GetPath());
tools/lldb/source/Commands/CommandObjectSource.cpp
  856                                      start_file.GetPath().c_str());
tools/lldb/source/Commands/CommandObjectTarget.cpp
  278                                      core_file.GetPath().c_str());
  284                                      core_file.GetPath().c_str());
  296                                          symfile.GetPath().c_str());
  391               std::string remote_path = remote_file.GetPath();
  453               file_spec.GetPath().c_str(),
  820                    sc.comp_unit->GetPath().c_str(),
  821                    sc.module_sp->GetFileSpec().GetPath().c_str());
  824                    sc.module_sp->GetFileSpec().GetPath().c_str());
  827         s.Printf("Global variables for %s\n", sc.comp_unit->GetPath().c_str());
  934                   comp_unit->GetPath().c_str());
  968                   module_file.GetPath().c_str());
 1352       std::string fullpath = file_spec_ptr->GetPath();
 2514                     strm.GetData(), module_spec.GetFileSpec().GetPath().c_str(),
 2515                     module_spec.GetSymbolFileSpec().GetPath().c_str());
 2521                     module_spec.GetFileSpec().GetPath().c_str());
 2579           std::string resolved_path = file_spec.GetPath();
 4145                 module_fs.GetPath().c_str());
 4186             !fs::is_regular_file(symbol_fspec.GetPath())
 4193             !fs::is_regular_file(symbol_fspec.GetPath())
 4348                   module_spec.GetSymbolFileSpec().GetPath();
tools/lldb/source/Core/FileLineResolver.cpp
   73             m_file_spec.GetPath().c_str(), m_line_number);
tools/lldb/source/Core/Module.cpp
  143               module_spec.GetFileSpec().GetPath().c_str(),
  241               m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(",
  273               m_file.GetPath().c_str(), m_object_name.IsEmpty() ? "" : "(",
  585                      file_spec.GetPath().c_str(), line,
 1052   std::string spec(GetFileSpec().GetPath());
 1199   s->Printf("Module %s%s%s%s\n", m_file.GetPath().c_str(),
 1243                       GetFileSpec().GetPath().c_str());
 1408           std::string new_path(file.GetPath());
 1409           std::string old_path(obj_file->GetFileSpec().GetPath());
 1508                     scripting_fspec.GetPath().c_str());
tools/lldb/source/Core/ModuleList.cpp
  591                 module_file_spec.GetPath().c_str());
tools/lldb/source/Core/PluginManager.cpp
  115           plugin_file_spec.GetPath().c_str(), &pluginLoadError);
tools/lldb/source/Core/SearchFilter.cpp
  196         file_list.GetFileSpecAtIndex(i).GetPath()));
  508       std::make_shared<StructuredData::String>(m_module_spec.GetPath()));
tools/lldb/source/Core/SourceManager.cpp
  552   std::string path = GetFileSpec().GetPath(/*denormalize*/ false);
tools/lldb/source/Core/Value.cpp
  454                     module->GetFileSpec().GetPath().c_str());
  459                     address, module->GetFileSpec().GetPath().c_str());
tools/lldb/source/Expression/REPL.cpp
   57     m_repl_source_path = tmpdir_file_spec.GetPath();
   63   return tmpdir_file_spec.GetPath();
tools/lldb/source/Host/common/FileSystem.cpp
   61       llvm::vfs::getRealFileSystem()->getBufferForFile(mapping.GetPath());
   67                                                    nullptr, mapping.GetPath()),
   90   return DirBegin(file_spec.GetPath(), ec);
  100   return GetStatus(file_spec.GetPath());
  109   return GetModificationTime(file_spec.GetPath());
  120   return GetByteSize(file_spec.GetPath());
  131   return GetPermissions(file_spec.GetPath());
  136   return GetPermissions(file_spec.GetPath(), ec);
  157   return Exists(file_spec.GetPath());
  165   return Readable(file_spec.GetPath());
  176   return IsDirectory(file_spec.GetPath());
  186   return IsLocal(file_spec.GetPath());
  311   return CreateDataBuffer(file_spec.GetPath(), size, offset);
  422     m_collector->addFile(file_spec.GetPath());
  467   return GetExternalPath(file_spec.GetPath());
tools/lldb/source/Host/common/Host.cpp
  503       llvm::sys::fs::createUniqueFile(tmpdir_file_spec.GetPath(),
  575   llvm::sys::fs::remove(output_file_spec.GetPath());
tools/lldb/source/Host/common/HostInfoBase.cpp
   46       llvm::sys::fs::remove_directories(m_lldb_process_tmp_dir.GetPath());
  223   std::string raw_path = lldb_file_spec.GetPath();
  277   if (llvm::sys::fs::create_directory(temp_file_spec.GetPath()))
  300   if (llvm::sys::fs::create_directory(temp_file_spec.GetPath()))
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp
  251       std::string shell_executable = m_shell.GetPath();
  282             new_path += working_dir.GetPath();
tools/lldb/source/Host/linux/HostInfoLinux.cpp
  187   file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str());
tools/lldb/source/Host/posix/HostInfoPosix.cpp
  138   file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str());
tools/lldb/source/Host/posix/PipePosix.cpp
  141     llvm::sys::fs::createUniqueFile(tmpdir_file_spec.GetPath(),
tools/lldb/source/Interpreter/CommandInterpreter.cpp
  393                         HostInfo::GetDefaultShell().GetPath().c_str());
 2341   std::string cmd_file_path = cmd_file.GetPath();
tools/lldb/source/Interpreter/OptionValueFileSpec.cpp
   50       strm << '"' << m_current_value.GetPath().c_str() << '"';
  114         FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath());
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  943                m_module_sp->GetFileSpec().GetPath().c_str());
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  326                             image_object_file->GetFileSpec().GetPath().c_str());
  555                 exe_module_sp->GetFileSpec().GetPath().c_str());
  570                 dyld_sp->GetFileSpec().GetPath().c_str());
  774              uuid.GetAsString(), file_spec.GetPath());
  777              address, mod_date, uuid.GetAsString(), file_spec.GetPath());
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  110             executable_sp ? executable_sp->GetFileSpec().GetPath().c_str()
  144               executable_sp->GetFileSpec().GetPath().c_str());
  159                   module_sp ? module_sp->GetFileSpec().GetPath().c_str()
  729       process_info.GetExecutableFile().GetPath().c_str());
  765   return module_sp->GetFileSpec().GetPath() == "[vdso]";
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  260   search_opts.ResourceDir = GetClangResourceDir().GetPath();
  909       std::string temp_source_path = tmpdir_file_spec.GetPath();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
   51   std::string raw_path = lldb_shlib_spec.GetPath();
  164               g_cached_resource_dir.GetPath().c_str());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  627     search_path_argument.append(search_path.GetPath());
  635     if (FileSystem::Instance().IsDirectory(clang_resource_dir.GetPath())) {
  637       compiler_invocation_arguments.push_back(clang_resource_dir.GetPath());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  494                 f.GetPath());
tools/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
   41   if (libcpp_regex.match(f.GetPath())) {
   74     llvm::sys::path::append(resource_dir, GetClangResourceDir().GetPath(),
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
  747         filename = decl.GetFile().GetPath();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 2445   auto data_sp = FileSystem::Instance().CreateDataBuffer(file.GetPath());
 2979       FileSystem::Instance().CreateDataBuffer(fs.GetPath(), size, addr);
 4587       std::string path = outfile_spec.GetPath();
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
  306           module_sp->GetFileSpec().GetPath().c_str(),
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  521                     __FUNCTION__, file.GetPath().c_str(),
  537                       __FUNCTION__, file.GetPath().c_str());
  566                     __FUNCTION__, file.GetPath().c_str(),
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 2023               dyld_shared_cache.GetPath().c_str(),
 3695                           module_sp->GetFileSpec().GetPath().c_str());
 6242         std::string core_file_path(outfile.GetPath());
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  170   auto binary = llvm::object::createBinary(file.GetPath());
  243   auto binary = llvm::object::createBinary(m_file.GetPath());
  248               m_file ? m_file.GetPath().c_str() : "<NULL>",
  264             m_file ? m_file.GetPath().c_str() : "<NULL>",
  990     if (!llvm::sys::fs::real_path(dll_specs.GetPath(), dll_fullpath))
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
  411   const auto output_filename = output_file_spec.GetPath();
  436   const auto local_file_path = local_file.GetPath();
  444   const auto remote_file_path = remote_file.GetPath(false);
  469   const auto local_file_path(local_file.GetPath());
  475   file_description << remote_file.GetPath(false).c_str() << "," << kDefaultMode;
  519   const std::string remote_file_path(remote_file.GetPath(false));
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
  192   FileSpec source_spec(source.GetPath(false), FileSpec::Style::posix);
  235   FileSpec destination_spec(destination.GetPath(false), FileSpec::Style::posix);
tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
  234   std::string shell_string = shell.GetPath();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
   80               strcasestr(symfile_spec.GetPath().c_str(),
  147                         symfile_spec.GetPath().c_str(),
  157                         symfile_spec.GetPath().c_str(), reason_for_complaint,
  199   return llvm::sys::fs::create_directory(module_cache_folder.GetPath());
  240       std::string module_path(module_spec.GetFileSpec().GetPath());
  273           auto MD5 = llvm::sys::fs::md5_contents(module_cache_spec.GetPath());
 1169           FileSystem::Instance().CreateDataBuffer(temp_file_spec.GetPath());
 1243   std::string shell_string = shell.GetPath();
 1278     std::string path_to_shlib = fspec.GetPath();
 1419       sdks_spec.GetPath(), find_directories, find_files, find_other,
 1575   if (FileSystem::Instance().IsDirectory(sysroot_spec.GetPath())) {
 1577     options.push_back(sysroot_spec.GetPath());
 1641         dir.GetDirectory().SetCString(xcode_lldb_resources.GetPath().c_str());
 1655             cmd_line_lldb_resources.GetPath().c_str());
 1730           module_search_paths_ptr->GetFileSpecAtIndex(i).GetPath().c_str());
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
  169           xcode_contents_path = fspec.GetPath();
  259       std::string module_path(platform_file.GetPath());
  271           llvm::sys::fs::create_directory(module_cache_folder.GetPath()));
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
   63                 sdk_dir_info.directory.GetPath().c_str());
  117             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  122             resolved_module_spec.GetFileSpec().GetPath().c_str());
  128         resolved_module_spec.GetFileSpec().GetPath().c_str());
  194                 sdk_symbols_symlink_fspec.GetPath().c_str());
  215                 local_sdk_cache.GetPath().c_str());
  233                       m_sdk_directory_infos[i].directory.GetPath().c_str());
  258                   sdk_symbols_symlink_fspec.GetPath().c_str());
  418         m_sdk_directory_infos[sdk_idx].directory.GetPath();
tools/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
  203   std::string shell_string = shell.GetPath();
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  102             resolved_module_spec.GetFileSpec().GetPath().c_str());
  106             resolved_module_spec.GetFileSpec().GetPath().c_str());
  163             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  195               resolved_module_spec.GetFileSpec().GetPath().c_str(),
  200               resolved_module_spec.GetFileSpec().GetPath().c_str());
  242     std::string src_path(source.GetPath());
  245     std::string dst_path(destination.GetPath());
  262       std::string src_path(source.GetPath());
  265       std::string dst_path(destination.GetPath());
  303   std::string src_path(source.GetPath());
  306   std::string dst_path(destination.GetPath());
  528                   exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
  754   path = remote_file.GetPath();
tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
  216             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  249               resolved_module_spec.GetFileSpec().GetPath().c_str(),
  254               resolved_module_spec.GetFileSpec().GetPath().c_str());
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  147             resolved_module_spec.GetFileSpec().GetPath().c_str(),
  152             resolved_module_spec.GetFileSpec().GetPath().c_str());
  158         resolved_module_spec.GetFileSpec().GetPath().c_str());
  169   const auto module_path = module_file_spec.GetPath(false);
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
   62         crash_file->GetPath(), header_size, 0);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  964                   __FUNCTION__, debugserver_file_spec.GetPath().c_str());
  981                     __FUNCTION__, debugserver_file_spec.GetPath().c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  778     exe_path = exe_file.GetPath(false);
 1752     std::string path{file_spec.GetPath(false)};
 1772     std::string path{file_spec.GetPath(false)};
 1792     std::string path{file_spec.GetPath(false)};
 1828     std::string path{working_dir.GetPath(false)};
 2824     std::string path{working_dir.GetPath(false)};
 2858   std::string path{file_spec.GetPath(false)};
 2880   std::string path{file_spec.GetPath(false)};
 2921   std::string path(file_spec.GetPath(false));
 2954   std::string path(file_spec.GetPath(false));
 2972   std::string path{file_spec.GetPath(false)};
 3072   std::string src_path{src.GetPath(false)}, dst_path{dst.GetPath(false)};
 3072   std::string src_path{src.GetPath(false)}, dst_path{dst.GetPath(false)};
 3105   std::string path{file_spec.GetPath(false)};
 3138   std::string path(file_spec.GetPath(false));
 3157   std::string path(file_spec.GetPath(false));
 3536   std::string module_path = module_file_spec.GetPath(false);
 3641         json::Object{{"file", module_file_spec.GetPath(false)},
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
  181   auto error_or_file = MemoryBuffer::getFile(path.GetPath());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
 1096         matched_module_spec.GetFileSpec().GetPath());
 1162     const auto file_path = matched_module_spec.GetFileSpec().GetPath();
 1300       FindModuleFile(req_module_path_spec.GetPath(), arch);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  137     socket_name = GetDomainSocketPath("gdbserver").GetPath();
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  465                         target_definition_fspec.GetPath().c_str());
 4242   const ModuleCacheKey key(module_file_spec.GetPath(),
 4252               __FUNCTION__, module_file_spec.GetPath().c_str(),
 4261               __FUNCTION__, module_file_spec.GetPath().c_str(),
 4274       m_cached_module_specs[ModuleCacheKey(spec.GetPath(),
 4277       m_cached_module_specs[ModuleCacheKey(spec.GetFileSpec().GetPath(),
 4902   std::string file_path = file.GetPath(false);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
   68         crash_file->GetPath(), header_size, 0);
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  142   auto DataPtr = FileSystem::Instance().CreateDataBuffer(crash_file->GetPath(),
  152       FileSystem::Instance().CreateDataBuffer(crash_file->GetPath(), -1, 0);
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 2028   if (LoadScriptingModule(file_spec.GetPath().c_str(), true, true, error,
 2718     std::error_code ec = status(target_file.GetPath(), st);
 3206     AddToSysPath(AddLocation::Beginning, file_spec.GetPath(false));
 3208     AddToSysPath(AddLocation::Beginning, file_spec.GetPath(false));
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  359     return unit->GetAbsolutePath().GetPath();
  994                               .GetPath()
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  671   if (fs::get_file_type(path.GetPath(), false) != fs::file_type::symlink_file)
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  716             if (module_sp->RemapSourceFile(cu_file_spec.GetPath(),
 1645                 llvm::StringRef(m_objfile_sp->GetFileSpec().GetPath())
 1646                     .endswith(dwo_module_spec.GetFileSpec().GetPath())) {
 1659                   dwo_module_spec.GetFileSpec().GetPath().c_str(),
 3844         FileSpec(m_objfile_sp->GetFileSpec().GetPath() + ".dwp");
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
  430               oso_file.GetPath().c_str(), llvm::to_string(oso_mod_time).c_str(),
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  286         loadMatchingPDBFile(m_objfile_sp->GetFileSpec().GetPath(), m_allocator);
  296       file_up = loadPDBFile(symfile.GetPath(), m_allocator);
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  138     std::string exePath = m_objfile_sp->GetFileSpec().GetPath();
  151                              llvm::StringRef(symfile.GetPath()), m_session_up);
  799         file_spec.GetPath(), PDB_NameSearchFlags::NS_CaseInsensitive);
 1780   std::string path = comp_unit.GetPath();
tools/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
   87                      module_sp->GetFileSpec().GetPath().c_str());
tools/lldb/source/Symbol/Block.cpp
  344                   func_decl.GetFile().GetPath().c_str(), func_decl.GetLine(),
  347                   module_sp->GetFileSpec().GetPath().c_str());
  356                   module_sp->GetFileSpec().GetPath().c_str());
tools/lldb/source/Symbol/Function.cpp
  310                       GetName().GetCString(), m_comp_unit->GetPath().c_str());
tools/lldb/source/Symbol/LocateSymbolFile.cpp
  161                   dsym_fspec.GetPath().c_str());
  193                         dsym_fspec.GetPath().c_str());
  327     std::string dirname = dirspec.GetPath();
  350       if (llvm::sys::fs::equivalent(file_spec.GetPath(),
  351                                     module_file_spec.GetPath()))
tools/lldb/source/Symbol/ObjectFile.cpp
   43         module_sp->GetFileSpec().GetPath().c_str(),
   78           data_sp = FileSystem::Instance().CreateDataBuffer(file->GetPath(),
  123                 archive_file.GetPath(), 512, file_offset);
  182                        module_sp->GetFileSpec().GetPath().c_str(),
  212       FileSystem::Instance().CreateDataBuffer(file.GetPath(), 512, file_offset);
  280             m_file ? m_file.GetPath().c_str() : "<NULL>", m_file_offset,
  684   return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset);
tools/lldb/source/Symbol/Symbol.cpp
  164         (uintptr_t)ConstString(fspec.GetPath().c_str()).GetCString());
tools/lldb/source/Symbol/Symtab.cpp
   85               file_spec.GetPath().c_str(), object_name ? "(" : "",
tools/lldb/source/Target/ModuleCache.cpp
   69   return fs::create_directories(dir_path.GetPath(), true, fs::perms::owner_all);
   78   return FileSpec(module_file_spec.GetPath() + kSymFileExtension);
  103   if (status(sysroot_module_path_spec.GetPath(), st))
  110   llvm::sys::fs::remove_directories(module_spec_dir.GetPath());
  120   llvm::sys::fs::remove(sysroot_module_path_spec.GetPath());
  123   llvm::sys::fs::remove(symfile_spec.GetPath());
  133                platform_module_spec.GetPath().c_str());
  146   return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(),
  147                                          sysroot_module_path_spec.GetPath());
  185   llvm::sys::fs::remove(m_file_spec.GetPath());
  198   const auto tmp_file_path = tmp_file.GetPath();
  200       llvm::sys::fs::rename(tmp_file_path, module_file_path.GetPath());
  203                   module_file_path.GetPath().c_str(),
  210                   module_file_path.GetPath().c_str(), error.AsCString());
  232     return Status("Module %s not found", module_file_path.GetPath().c_str());
  236                   module_file_path.GetPath().c_str());
  245                   module_file_path.GetPath().c_str(), error.AsCString());
  296   llvm::FileRemover tmp_file_remover(tmp_download_file_spec.GetPath());
  316   llvm::FileRemover tmp_symfile_remover(tmp_download_sym_file_spec.GetPath());
tools/lldb/source/Target/PathMappingList.cpp
   36     return ConstString(FileSpec(path.GetStringRef()).GetPath());
  181     new_path = remapped.GetPath();
  188   std::string path = file.GetPath();
  205   std::string orig_path = orig_spec.GetPath();
tools/lldb/source/Target/Platform.cpp
  573     std::string src_dir_path(src.GetPath());
  578     recurse_dst.GetDirectory().SetCString(dst_dir.GetPath().c_str());
  627         "invalid file detected during copy: %s", src.GetPath().c_str());
  639             src.GetPath().c_str(), dst.GetPath().c_str());
  639             src.GetPath().c_str(), dst.GetPath().c_str());
  661           relative_spec.AppendPathComponent(dst.GetPath());
  666               dst.GetPath().c_str());
  676             dst.GetPath().c_str());
  691             src.GetPath().c_str(), dst.GetPath().c_str(),
  691             src.GetPath().c_str(), dst.GetPath().c_str(),
  692             fixed_dst.GetPath().c_str());
  698     switch (fs::get_file_type(src.GetPath(), false)) {
  700       llvm::sys::fs::remove(fixed_dst.GetPath());
  710         std::string src_dir_path(src.GetPath());
  719       llvm::sys::fs::remove(fixed_dst.GetPath());
  724       llvm::sys::fs::remove(fixed_dst.GetPath());
  749     if (std::error_code ec = llvm::sys::fs::set_current_path(file_spec.GetPath())) {
  763     return llvm::sys::fs::create_directory(file_spec.GetPath(), permissions);
  776     auto Value = llvm::sys::fs::getPermissions(file_spec.GetPath());
  793     return llvm::sys::fs::setPermissions(file_spec.GetPath(), Perms);
  876                                    module_spec.GetFileSpec().GetPath().c_str());
 1023         std::string shell_str = (shell) ? shell.GetPath() : "<null>";
 1226   if (fs::is_symlink_file(source.GetPath()))
 1335   auto Result = llvm::sys::fs::md5_contents(file_spec.GetPath());
 1631   llvm::raw_fd_ostream dst(dst_file_spec.GetPath(), EC, llvm::sys::fs::OF_None);
 1634                                    dst_file_spec.GetPath().c_str());
tools/lldb/source/Target/Process.cpp
 2400               file_spec.GetPath().c_str());
 2940                 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
 2957                 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
 2996           exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str()
tools/lldb/source/Target/RemoteAwarePlatform.cpp
  104     if (llvm::sys::fs::file_size(file_spec.GetPath(), Size))
  132     return llvm::sys::fs::remove(file_spec.GetPath());
tools/lldb/source/Target/SectionLoadList.cpp
  147         module_name = module_file_spec.GetPath();
  181       module_name = module_file_spec.GetPath();
tools/lldb/source/Target/Target.cpp
  975   std::string path(file.GetPath());
 1076                                    file.GetPath().c_str());
 1083         "Invalid breakpoint data from input file: %s.", file.GetPath().c_str());
 1097           file.GetPath().c_str());
 1111           file.GetPath().c_str(), error.AsCString());
 1393                        executable_sp->GetFileSpec().GetPath().c_str());
 2833             launch_info.GetExecutableFile().GetPath().c_str());
tools/lldb/source/Target/TargetList.cpp
  154                   module_spec.GetFileSpec().GetPath().c_str());
  388               "\"%s\" doesn't contain architecture %s", file.GetPath().c_str(),
  392                                          file.GetPath().c_str());
  419         target_sp->SetArg0(file.GetPath().c_str());
tools/lldb/source/Utility/FileSpec.cpp
  347     std::string path{GetPath(true)};
  376   std::string result = GetPath(denormalize);
  388   return ConstString{GetPath(denormalize)}.AsCString(nullptr);
  455   return PrependPathComponent(new_path.GetPath(false));
  466   return AppendPathComponent(new_path.GetPath(false));
tools/lldb/source/Utility/Reproducer.cpp
   38       auto ec = sys::fs::create_directory(root->GetPath());
  178   llvm::sys::fs::remove_directories(m_root.GetPath());
  188   auto strm = std::make_unique<raw_fd_ostream>(index.GetPath(), EC,
  210   auto error_or_file = MemoryBuffer::getFile(index.GetPath());
  263     files.push_back(recorder->GetFilename().GetPath());
  268   llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_Text);
  280   llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_Text);
  289   llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_Text);
  299   m_stream_up = std::make_unique<raw_fd_ostream>(history_file.GetPath(), EC,
  312   auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath());
  326     file = absolute_path.GetPath();
tools/lldb/source/Utility/ReproducerInstrumentation.cpp
   38   auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath());
tools/lldb/source/Utility/StructuredData.cpp
   41   auto buffer_or_error = llvm::MemoryBuffer::getFile(input_spec.GetPath());
   44                                     input_spec.GetPath(),
tools/lldb/tools/lldb-server/lldb-platform.cpp
  100   Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath()));
  111                            temp_file_path, temp_file_spec.GetPath(), socket_id),
  128                                            file_spec.GetPath().c_str(),
  134                   file_spec.GetPath().c_str());
  299               socket_file.GetPath().c_str(), error.AsCString());
tools/lldb/unittests/Expression/ClangParserTest.cpp
   39   return clang_dir.GetPath();
tools/lldb/unittests/Expression/CppModuleConfigurationTest.cpp
   37   llvm::sys::path::append(resource_dir, GetClangResourceDir().GetPath(),
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
  195   EXPECT_EQ("/foo/bar.so", result.getValue()[0].GetFileSpec().GetPath());
  220   EXPECT_EQ("/foo/bar.so", result.getValue()[0].GetFileSpec().GetPath());
tools/lldb/unittests/Target/PathMappingListTest.cpp
   35     SCOPED_TRACE(match.original.GetPath() + " -> " + match.remapped.GetPath());
   35     SCOPED_TRACE(match.original.GetPath() + " -> " + match.remapped.GetPath());
   36     std::string orig_normalized = match.original.GetPath();
   38         map.RemapPath(ConstString(match.original.GetPath()), actual_remapped));
   42     std::string unmapped_path = unmapped_spec.GetPath();
tools/lldb/unittests/Utility/FileSpecTest.cpp
  234               FileSpec(test.first, FileSpec::Style::posix).GetPath());
  266               FileSpec(test.first, FileSpec::Style::windows).GetPath())