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

Derived Classes

tools/lldb/include/lldb/Symbol/CompileUnit.h
   35 class CompileUnit : public std::enable_shared_from_this<CompileUnit>,

Declarations

tools/lldb/include/lldb/Host/HostInfoBase.h
   24 class FileSpec;
tools/lldb/include/lldb/Host/posix/HostProcessPosix.h
   18 class FileSpec;
tools/lldb/include/lldb/lldb-forward.h
  101 class FileSpec;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.h
   14 class FileSpec;
tools/lldb/source/Plugins/Platform/Android/AdbClient.h
   22 class FileSpec;

References

include/llvm/ADT/ArrayRef.h
   43     using iterator = const T *;
   44     using const_iterator = const T *;
   50     const T *Data = nullptr;
   66     /*implicit*/ ArrayRef(const T &OneElt)
   70     /*implicit*/ ArrayRef(const T *data, size_t length)
   74     ArrayRef(const T *begin, const T *end)
   74     ArrayRef(const T *begin, const T *end)
   81     /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec)
   87     /*implicit*/ ArrayRef(const std::vector<T, A> &Vec)
   92     /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr)
   97     /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {}
  100     /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec)
  145     const T *data() const { return Data; }
  151     const T &front() const {
  157     const T &back() const {
  163     template <typename Allocator> ArrayRef<T> copy(Allocator &A) {
  178     ArrayRef<T> slice(size_t N, size_t M) const {
  184     ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); }
  187     ArrayRef<T> drop_front(size_t N = 1) const {
  193     ArrayRef<T> drop_back(size_t N = 1) const {
  200     template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const {
  206     template <class PredicateT> ArrayRef<T> drop_until(PredicateT Pred) const {
  211     ArrayRef<T> take_front(size_t N = 1) const {
  218     ArrayRef<T> take_back(size_t N = 1) const {
  226     template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const {
  232     template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const {
  239     const T &operator[](size_t Index) const {
  249     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
  257     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
  263     std::vector<T> vec() const {
  270     operator std::vector<T>() const {
include/llvm/ADT/Optional.h
   39     T value;
   60   explicit OptionalStorage(in_place_t, Args &&... args)
   61       : value(std::forward<Args>(args)...), hasVal(true) {}
   72   T &getValue() LLVM_LVALUE_FUNCTION noexcept {
   76   T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
   81   T &&getValue() && noexcept {
   87   template <class... Args> void emplace(Args &&... args) {
   89     ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...);
   89     ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...);
  106       ::new ((void *)std::addressof(value)) T(std::move(y));
  216   optional_detail::OptionalStorage<T> Storage;
  219   using value_type = T;
  224   Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
  227   Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
  230   Optional &operator=(T &&y) {
  237   template <typename... ArgTypes> void emplace(ArgTypes &&... Args) {
  241   static inline Optional create(const T *y) {
  245   Optional &operator=(const T &y) {
  253   const T *getPointer() const { return &Storage.getValue(); }
  254   T *getPointer() { return &Storage.getValue(); }
  255   const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  256   T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  260   const T *operator->() const { return getPointer(); }
  261   T *operator->() { return getPointer(); }
  262   const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
  263   T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
  266   constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
  266   constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
  271   T &&getValue() && { return std::move(Storage.getValue()); }
  272   T &&operator*() && { return std::move(Storage.getValue()); }
  275   T getValueOr(U &&value) && {
  275   T getValueOr(U &&value) && {
  276     return hasValue() ? std::move(getValue()) : std::forward<U>(value);
include/llvm/Support/FormatVariadic.h
  253 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype(
include/llvm/Support/FormatVariadicDetails.h
   36   explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {}
  138 build_format_adapter(T &&Item) {
include/llvm/Support/type_traits.h
   91     T t;
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  145       std::is_copy_constructible<detail::trivial_helper<T>>::value;
  147       !std::is_copy_constructible<T>::value;
  151       std::is_move_constructible<detail::trivial_helper<T>>::value;
  153       !std::is_move_constructible<T>::value;
  157       is_copy_assignable<detail::trivial_helper<T>>::value;
  159       !is_copy_assignable<T>::value;
  163       is_move_assignable<detail::trivial_helper<T>>::value;
  165       !is_move_assignable<T>::value;
  169       std::is_destructible<detail::trivial_helper<T>>::value;
tools/lldb/include/lldb/API/SBFileSpec.h
   78   SBFileSpec(const lldb_private::FileSpec &fspec);
   80   void SetFileSpec(const lldb_private::FileSpec &fspec);
   82   const lldb_private::FileSpec *operator->() const;
   84   const lldb_private::FileSpec *get() const;
   86   const lldb_private::FileSpec &operator*() const;
   88   const lldb_private::FileSpec &ref() const;
   90   std::unique_ptr<lldb_private::FileSpec> m_opaque_up;
tools/lldb/include/lldb/Breakpoint/BreakpointResolverAddress.h
   27                             const FileSpec &module_spec);
   66   FileSpec m_module_filespec;   // If this filespec is Valid, and m_addr is an
tools/lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
   23   BreakpointResolverFileLine(Breakpoint *bkpt, const FileSpec &resolver,
   61   FileSpec m_file_spec;   ///< This is the file spec we are looking for.
tools/lldb/include/lldb/Core/AddressResolverFileLine.h
   31   AddressResolverFileLine(const FileSpec &resolver, uint32_t line_no,
   45   FileSpec m_file_spec;   // This is the file spec we are looking for.
tools/lldb/include/lldb/Core/Debugger.h
  306   bool LoadPlugin(const FileSpec &spec, Status &error);
tools/lldb/include/lldb/Core/Disassembler.h
  474     FileSpec file;
  514       std::map<FileSpec, std::set<uint32_t>> &source_lines_seen);
tools/lldb/include/lldb/Core/FileLineResolver.h
   34   FileLineResolver(const FileSpec &resolver, uint32_t line_no,
   51   void Reset(const FileSpec &file_spec, uint32_t line, bool check_inlines);
   54   FileSpec m_file_spec;   // This is the file spec we are looking for.
tools/lldb/include/lldb/Core/FileSpecList.h
   28   typedef std::vector<FileSpec> collection;
   43   FileSpecList(std::vector<FileSpec> &&rhs) : m_files(std::move(rhs)) {}
   68   void Append(const FileSpec &file);
   80   bool AppendIfUnique(const FileSpec &file);
  117   size_t FindFileIndex(size_t idx, const FileSpec &file, bool full) const;
  132   const FileSpec &GetFileSpecAtIndex(size_t idx) const;
  145   const FileSpec *GetFileSpecPointerAtIndex(size_t idx) const;
  167   bool Insert(size_t idx, const FileSpec &file) {
  178   bool Replace(size_t idx, const FileSpec &file) {
tools/lldb/include/lldb/Core/FormatEntity.h
  210   static bool FormatFileSpec(const FileSpec &file, Stream &s,
tools/lldb/include/lldb/Core/Module.h
  111       const FileSpec &file_spec, const ArchSpec &arch,
  283   void FindCompileUnits(const FileSpec &path, SymbolContextList &sc_list);
  352                             const FileSpec &file, uint32_t line,
  470   const FileSpec &GetFileSpec() const { return m_file; }
  484   const FileSpec &GetPlatformFileSpec() const {
  490   void SetPlatformFileSpec(const FileSpec &file) { m_platform_file = file; }
  492   const FileSpec &GetRemoteInstallFileSpec() const {
  496   void SetRemoteInstallFileSpec(const FileSpec &file) {
  500   const FileSpec &GetSymbolFileFileSpec() const { return m_symfile_spec; }
  504   void SetSymbolFileFileSpec(const FileSpec &file);
  780       const FileSpec &file_spec, uint32_t line, bool check_inlines,
  783   void SetFileSpecAndObjectName(const FileSpec &file,
  846   bool FindSourceFile(const FileSpec &orig_spec, FileSpec &new_spec) const;
  846   bool FindSourceFile(const FileSpec &orig_spec, FileSpec &new_spec) const;
  946   FileSpec m_file; ///< The file representation on disk for this module (if
  948   FileSpec m_platform_file; ///< The path to the module on the platform on which
  950   FileSpec m_remote_install_file; ///< If set when debugging on remote
  953   FileSpec m_symfile_spec;   ///< If this path is valid, then this is the file
tools/lldb/include/lldb/Core/ModuleList.h
   52   FileSpec GetClangModulesCachePath() const;
  253   void FindCompileUnits(const FileSpec &path, SymbolContextList &sc_list) const;
  379   bool FindSourceFile(const FileSpec &orig_spec, FileSpec &new_spec) const;
  379   bool FindSourceFile(const FileSpec &orig_spec, FileSpec &new_spec) const;
  403                             const FileSpec &file, uint32_t line,
  447       const FileSpec &file_spec, uint32_t line, bool check_inlines,
tools/lldb/include/lldb/Core/ModuleSpec.h
   33   ModuleSpec(const FileSpec &file_spec, const UUID &uuid = UUID())
   39   ModuleSpec(const FileSpec &file_spec, const ArchSpec &arch)
   69   FileSpec *GetFileSpecPtr() { return (m_file ? &m_file : nullptr); }
   71   const FileSpec *GetFileSpecPtr() const {
   75   FileSpec &GetFileSpec() { return m_file; }
   77   const FileSpec &GetFileSpec() const { return m_file; }
   79   FileSpec *GetPlatformFileSpecPtr() {
   83   const FileSpec *GetPlatformFileSpecPtr() const {
   87   FileSpec &GetPlatformFileSpec() { return m_platform_file; }
   89   const FileSpec &GetPlatformFileSpec() const { return m_platform_file; }
   91   FileSpec *GetSymbolFileSpecPtr() {
   95   const FileSpec *GetSymbolFileSpecPtr() const {
   99   FileSpec &GetSymbolFileSpec() { return m_symbol_file; }
  101   const FileSpec &GetSymbolFileSpec() const { return m_symbol_file; }
  255       const FileSpec &fspec = match_module_spec.GetFileSpec();
  256       if (!FileSpec::Equal(fspec, GetFileSpec(),
  261       const FileSpec &fspec = match_module_spec.GetPlatformFileSpec();
  262       if (!FileSpec::Equal(fspec, GetPlatformFileSpec(),
  268       const FileSpec &fspec = match_module_spec.GetSymbolFileSpec();
  269       if (!FileSpec::Equal(fspec, GetSymbolFileSpec(),
  288   FileSpec m_file;
  289   FileSpec m_platform_file;
  290   FileSpec m_symbol_file;
tools/lldb/include/lldb/Core/PluginManager.h
  197                          const FileSpec &outfile);
tools/lldb/include/lldb/Core/SearchFilter.h
  101   virtual bool ModulePasses(const FileSpec &spec);
  129   virtual bool CompUnitPasses(FileSpec &fileSpec);
  286   bool ModulePasses(const FileSpec &module_spec) override;
  314   SearchFilterByModule(const lldb::TargetSP &targetSP, const FileSpec &module);
  320   bool ModulePasses(const FileSpec &spec) override;
  324   bool CompUnitPasses(FileSpec &fileSpec) override;
  347   FileSpec m_module_spec;
  373   bool ModulePasses(const FileSpec &spec) override;
  377   bool CompUnitPasses(FileSpec &fileSpec) override;
  428   bool CompUnitPasses(FileSpec &fileSpec) override;
tools/lldb/include/lldb/Core/SourceManager.h
   38     File(const FileSpec &file_spec, Target *target);
   39     File(const FileSpec &file_spec, lldb::DebuggerSP debugger_sp);
   57     bool FileSpecMatches(const FileSpec &file_spec);
   59     const FileSpec &GetFileSpec() { return m_file_spec; }
   72     FileSpec m_file_spec_orig; // The original file spec that was used (can be
   74     FileSpec m_file_spec; // The actually file spec being used (if the target
   90     void CommonInitializer(const FileSpec &file_spec, Target *target);
  104     FileSP FindSourceFile(const FileSpec &file_spec) const;
  107     typedef std::map<FileSpec, FileSP> FileCache;
  124   DisplaySourceLinesWithLineNumbers(const FileSpec &file, uint32_t line,
  139   bool SetDefaultFileAndLine(const FileSpec &file_spec, uint32_t line);
  141   bool GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line);
  145   void FindLinesMatchingRegex(FileSpec &file_spec, RegularExpression &regex,
  149   FileSP GetFile(const FileSpec &file_spec);
tools/lldb/include/lldb/Host/File.h
  137   virtual Status GetFileSpec(FileSpec &file_spec) const;
  401   Status GetFileSpec(FileSpec &file_spec) const override;
tools/lldb/include/lldb/Host/FileAction.h
   34   bool Open(int fd, const FileSpec &file_spec, bool read, bool write);
   44   const FileSpec &GetFileSpec() const;
   52   FileSpec
tools/lldb/include/lldb/Host/FileCache.h
   31   lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
tools/lldb/include/lldb/Host/FileSystem.h
   51   static llvm::Error Initialize(const FileSpec &mapping);
   55   Status Symlink(const FileSpec &src, const FileSpec &dst);
   55   Status Symlink(const FileSpec &src, const FileSpec &dst);
   56   Status Readlink(const FileSpec &src, FileSpec &dst);
   56   Status Readlink(const FileSpec &src, FileSpec &dst);
   58   Status ResolveSymbolicLink(const FileSpec &src, FileSpec &dst);
   58   Status ResolveSymbolicLink(const FileSpec &src, FileSpec &dst);
   67   Open(const FileSpec &file_spec, File::OpenOptions options,
   73   llvm::vfs::directory_iterator DirBegin(const FileSpec &file_spec,
   81   llvm::ErrorOr<llvm::vfs::Status> GetStatus(const FileSpec &file_spec) const;
   87   llvm::sys::TimePoint<> GetModificationTime(const FileSpec &file_spec) const;
   93   uint64_t GetByteSize(const FileSpec &file_spec) const;
  102   uint32_t GetPermissions(const FileSpec &file_spec) const;
  104   uint32_t GetPermissions(const FileSpec &file_spec, std::error_code &ec) const;
  110   bool Exists(const FileSpec &file_spec) const;
  116   bool Readable(const FileSpec &file_spec) const;
  122   bool IsDirectory(const FileSpec &file_spec) const;
  128   bool IsLocal(const FileSpec &file_spec) const;
  135   std::error_code MakeAbsolute(FileSpec &file_spec) const;
  141   void Resolve(FileSpec &file_spec);
  149   std::shared_ptr<DataBufferLLVM> CreateDataBuffer(const FileSpec &file_spec,
  155   bool ResolveExecutableLocation(FileSpec &file_spec);
  183   llvm::ErrorOr<std::string> GetExternalPath(const FileSpec &file_spec);
tools/lldb/include/lldb/Host/Host.h
  143   static FileSpec GetModuleFileSpecForHostAddress(const void *host_addr);
  160   static bool GetBundleDirectory(const FileSpec &file,
  161                                  FileSpec &bundle_directory);
  175   static bool ResolveExecutableInBundle(FileSpec &file);
  208                                 const FileSpec &working_dir, int *status_ptr,
  221   static Status RunShellCommand(const Args &args, const FileSpec &working_dir,
  228   static bool OpenFileInExternalEditor(const FileSpec &file_spec,
tools/lldb/include/lldb/Host/HostInfoBase.h
   63   static FileSpec GetShlibDir();
   67   static FileSpec GetSupportExeDir();
   71   static FileSpec GetHeaderDir();
   75   static FileSpec GetSystemPluginDir();
   79   static FileSpec GetUserPluginDir();
   84   static FileSpec GetProcessTempDir();
   89   static FileSpec GetGlobalTempDir();
   96   static bool ComputePathRelativeToLibrary(FileSpec &file_spec,
  100   static bool ComputeSharedLibraryDirectory(FileSpec &file_spec);
  101   static bool ComputeSupportExeDirectory(FileSpec &file_spec);
  102   static bool ComputeProcessTempFileDirectory(FileSpec &file_spec);
  103   static bool ComputeGlobalTempFileDirectory(FileSpec &file_spec);
  104   static bool ComputeTempFileBaseDirectory(FileSpec &file_spec);
  105   static bool ComputeHeaderDirectory(FileSpec &file_spec);
  106   static bool ComputeSystemPluginsDirectory(FileSpec &file_spec);
  107   static bool ComputeUserPluginsDirectory(FileSpec &file_spec);
tools/lldb/include/lldb/Host/HostNativeProcessBase.h
   31   virtual Status GetMainModule(FileSpec &file_spec) const = 0;
tools/lldb/include/lldb/Host/HostProcess.h
   41   Status GetMainModule(FileSpec &file_spec) const;
tools/lldb/include/lldb/Host/ProcessLaunchInfo.h
   34   ProcessLaunchInfo(const FileSpec &stdin_file_spec,
   35                     const FileSpec &stdout_file_spec,
   36                     const FileSpec &stderr_file_spec,
   37                     const FileSpec &working_dir, uint32_t launch_flags);
   47   bool AppendOpenFileAction(int fd, const FileSpec &file_spec, bool read,
   67   const FileSpec &GetWorkingDirectory() const;
   69   void SetWorkingDirectory(const FileSpec &working_dir);
   75   const FileSpec &GetShell() const;
   77   void SetShell(const FileSpec &shell);
  151   FileSpec m_working_dir;
  153   FileSpec m_shell;
tools/lldb/include/lldb/Host/common/NativeProcessProtocol.h
  251                                          FileSpec &file_spec) = 0;
tools/lldb/include/lldb/Host/linux/HostInfoLinux.h
   36   static FileSpec GetProgramFileSpec();
   39   static bool ComputeSupportExeDirectory(FileSpec &file_spec);
   40   static bool ComputeSystemPluginsDirectory(FileSpec &file_spec);
   41   static bool ComputeUserPluginsDirectory(FileSpec &file_spec);
tools/lldb/include/lldb/Host/posix/HostInfoPosix.h
   31   static FileSpec GetDefaultShell();
   38   static bool ComputeSupportExeDirectory(FileSpec &file_spec);
   39   static bool ComputeHeaderDirectory(FileSpec &file_spec);
tools/lldb/include/lldb/Host/posix/HostProcessPosix.h
   30   Status GetMainModule(FileSpec &file_spec) const override;
tools/lldb/include/lldb/Interpreter/CommandInterpreter.h
  305   void HandleCommandsFromFile(FileSpec &file, ExecutionContext *context,
  518   void SourceInitFile(FileSpec file, CommandReturnObject &result);
tools/lldb/include/lldb/Interpreter/OptionValue.h
  266   FileSpec GetFileSpecValue() const;
  268   bool SetFileSpecValue(const FileSpec &file_spec);
tools/lldb/include/lldb/Interpreter/OptionValueFileSpec.h
   23   OptionValueFileSpec(const FileSpec &value, bool resolve = true);
   25   OptionValueFileSpec(const FileSpec &current_value,
   26                       const FileSpec &default_value, bool resolve = true);
   59   FileSpec &GetCurrentValue() { return m_current_value; }
   61   const FileSpec &GetCurrentValue() const { return m_current_value; }
   63   const FileSpec &GetDefaultValue() const { return m_default_value; }
   65   void SetCurrentValue(const FileSpec &value, bool set_value_was_set) {
   72   void SetDefaultValue(const FileSpec &value) { m_default_value = value; }
   79   FileSpec m_current_value;
   80   FileSpec m_default_value;
tools/lldb/include/lldb/Interpreter/OptionValueFileSpecList.h
   65   void AppendCurrentValue(const FileSpec &value) {
tools/lldb/include/lldb/Interpreter/OptionValueProperties.h
  182   FileSpec GetPropertyAtIndexAsFileSpec(const ExecutionContext *exe_ctx,
  186                                     uint32_t idx, const FileSpec &file_spec);
tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h
  271   LoadPluginModule(const FileSpec &file_spec, lldb_private::Status &error) {
tools/lldb/include/lldb/Symbol/CompileUnit.h
   37                     public FileSpec,
  115               const FileSpec &file_spec, lldb::user_id_t uid,
  212                          const FileSpec *file_spec_ptr, bool exact,
  364   uint32_t ResolveSymbolContext(const FileSpec &file_spec, uint32_t line,
tools/lldb/include/lldb/Symbol/DebugMacros.h
   51   const FileSpec &GetFileSpec(CompileUnit *comp_unit) const;
tools/lldb/include/lldb/Symbol/Declaration.h
   49   Declaration(const FileSpec &file_spec, uint32_t line = 0, uint32_t column = 0)
  148   FileSpec &GetFile() { return m_file; }
  154   const FileSpec &GetFile() const { return m_file; }
  190   void SetFile(const FileSpec &file_spec) { m_file = file_spec; }
  201   FileSpec m_file; ///< The file specification that points to the
tools/lldb/include/lldb/Symbol/Function.h
  402   void GetStartLineSourceInfo(FileSpec &source_file, uint32_t &line_no);
  413   void GetEndLineSourceInfo(FileSpec &source_file, uint32_t &line_no);
tools/lldb/include/lldb/Symbol/LineEntry.h
   27             lldb::addr_t byte_size, const FileSpec &file, uint32_t _line,
  151   FileSpec file; ///< The source file, possibly mapped by the target.source-map
  153   FileSpec original_file; ///< The original source file, from debug info.
tools/lldb/include/lldb/Symbol/LocateSymbolFile.h
   35   static FileSpec
   39   static FileSpec FindSymbolFileInBundle(const FileSpec &dsym_bundle_fspec,
   39   static FileSpec FindSymbolFileInBundle(const FileSpec &dsym_bundle_fspec,
tools/lldb/include/lldb/Symbol/ObjectContainer.h
   37   ObjectContainer(const lldb::ModuleSP &module_sp, const FileSpec *file,
  143   virtual lldb::ObjectFileSP GetObjectFile(const FileSpec *file) = 0;
  161   FileSpec m_file; ///< The file that represents this container objects (which
tools/lldb/include/lldb/Symbol/ObjectFile.h
  104   ObjectFile(const lldb::ModuleSP &module_sp, const FileSpec *file_spec_ptr,
  151   FindPlugin(const lldb::ModuleSP &module_sp, const FileSpec *file_spec,
  175   static size_t GetModuleSpecifications(const FileSpec &file,
  180   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
  210       llvm::StringRef path_with_object, lldb_private::FileSpec &archive_file,
  279   virtual FileSpec &GetFileSpec() { return m_file; }
  286   virtual const FileSpec &GetFileSpec() const { return m_file; }
  664   FileSpec m_file;
  694   static lldb::DataBufferSP MapFileData(const FileSpec &file, uint64_t Size,
tools/lldb/include/lldb/Symbol/Symbol.h
  125   FileSpec GetReExportedSymbolSharedLibrary() const;
  129   bool SetReExportedSymbolSharedLibrary(const FileSpec &fspec);
tools/lldb/include/lldb/Symbol/SymbolContext.h
  378   std::unique_ptr<FileSpec> m_file_spec_up;
tools/lldb/include/lldb/Symbol/SymbolFile.h
  170   virtual uint32_t ResolveSymbolContext(const FileSpec &file_spec,
tools/lldb/include/lldb/Target/DynamicLoader.h
  211   virtual lldb::ModuleSP LoadModuleAtAddress(const lldb_private::FileSpec &file,
tools/lldb/include/lldb/Target/LanguageRuntime.h
   38   bool ModulePasses(const FileSpec &spec) override;
tools/lldb/include/lldb/Target/ModuleCache.h
   50       std::function<Status(const ModuleSpec &, const FileSpec &)>;
   52       std::function<Status(const lldb::ModuleSP &, const FileSpec &)>;
   54   Status GetAndPut(const FileSpec &root_dir_spec, const char *hostname,
   61   Status Put(const FileSpec &root_dir_spec, const char *hostname,
   62              const ModuleSpec &module_spec, const FileSpec &tmp_file,
   63              const FileSpec &target_file);
   65   Status Get(const FileSpec &root_dir_spec, const char *hostname,
tools/lldb/include/lldb/Target/PathMappingList.h
   84   bool ReverseRemapPath(const FileSpec &file, FileSpec &fixed) const;
   84   bool ReverseRemapPath(const FileSpec &file, FileSpec &fixed) const;
  104   bool FindFile(const FileSpec &orig_spec, FileSpec &new_spec) const;
  104   bool FindFile(const FileSpec &orig_spec, FileSpec &new_spec) const;
tools/lldb/include/lldb/Target/Platform.h
   50   FileSpec GetModuleCacheDirectory() const;
   51   bool SetModuleCacheDirectory(const FileSpec &dir_spec);
  196                                    FileSpec &sym_file);
  200   virtual bool ResolveRemotePath(const FileSpec &platform_path,
  201                                  FileSpec &resolved_platform_path);
  257   virtual FileSpec GetRemoteWorkingDirectory() { return m_working_dir; }
  259   virtual bool SetRemoteWorkingDirectory(const FileSpec &working_dir);
  289   virtual Status GetFileWithUUID(const FileSpec &platform_file,
  290                                  const UUID *uuid_ptr, FileSpec &local_file);
  306   virtual bool GetModuleSpec(const FileSpec &module_file_spec,
  487   FileSpec GetWorkingDirectory();
  489   bool SetWorkingDirectory(const FileSpec &working_dir);
  501   virtual Status MakeDirectory(const FileSpec &file_spec, uint32_t permissions);
  503   virtual Status GetFilePermissions(const FileSpec &file_spec,
  506   virtual Status SetFilePermissions(const FileSpec &file_spec,
  509   virtual lldb::user_id_t OpenFile(const FileSpec &file_spec,
  517   virtual lldb::user_id_t GetFileSize(const FileSpec &file_spec) {
  537   virtual Status GetFile(const FileSpec &source, const FileSpec &destination);
  537   virtual Status GetFile(const FileSpec &source, const FileSpec &destination);
  539   virtual Status PutFile(const FileSpec &source, const FileSpec &destination,
  539   virtual Status PutFile(const FileSpec &source, const FileSpec &destination,
  543   CreateSymlink(const FileSpec &src,  // The name of the link is in src
  544                 const FileSpec &dst); // The symlink points to dst
  568   virtual Status Install(const FileSpec &src, const FileSpec &dst);
  568   virtual Status Install(const FileSpec &src, const FileSpec &dst);
  572   virtual bool GetFileExists(const lldb_private::FileSpec &file_spec);
  574   virtual Status Unlink(const FileSpec &file_spec);
  617       const FileSpec &working_dir, // Pass empty FileSpec to use the current
  632   virtual bool CalculateMD5(const FileSpec &file_spec, uint64_t &low,
  724   virtual FileSpec LocateExecutable(const char *basename) { return FileSpec(); }
  763                      const lldb_private::FileSpec &local_file,
  764                      const lldb_private::FileSpec &remote_file,
  798                                const lldb_private::FileSpec &library_name,
  801                                lldb_private::FileSpec *loaded_path);
  804                                const lldb_private::FileSpec &remote_file,
  807                                lldb_private::FileSpec *loaded_path = nullptr);
  841   FileSpec m_working_dir; // The working directory which is used when installing
  882   virtual Status DownloadModuleSlice(const FileSpec &src_file_spec,
  885                                      const FileSpec &dst_file_spec);
  888                                     const FileSpec &dst_file_spec);
  908   FileSpec GetModuleCacheRoot();
tools/lldb/include/lldb/Target/Process.h
   73   FileSpec GetPythonOSPluginPath() const;
   74   void SetPythonOSPluginPath(const FileSpec &file);
  535                                     const FileSpec *crash_file_path);
 1805   lldb::ModuleSP ReadModuleFromMemory(const FileSpec &file_spec,
 2306   virtual bool GetModuleSpec(const FileSpec &module_file_spec,
 2309   virtual void PrefetchModuleSpecs(llvm::ArrayRef<FileSpec> module_file_specs,
 2326   virtual Status GetFileLoadAddress(const FileSpec &file, bool &is_loaded,
tools/lldb/include/lldb/Target/RemoteAwarePlatform.h
   22   bool GetModuleSpec(const FileSpec &module_file_spec, const ArchSpec &arch,
   25   lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
   36   lldb::user_id_t GetFileSize(const FileSpec &file_spec) override;
   38   Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
   38   Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
   40   bool GetFileExists(const FileSpec &file_spec) override;
   42   Status Unlink(const FileSpec &file_spec) override;
   44   FileSpec GetRemoteWorkingDirectory() override;
   46   bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override;
   48   Status MakeDirectory(const FileSpec &file_spec, uint32_t mode) override;
   50   Status GetFilePermissions(const FileSpec &file_spec,
   53   Status SetFilePermissions(const FileSpec &file_spec,
   56   bool CalculateMD5(const FileSpec &file_spec, uint64_t &low,
   59   Status GetFileWithUUID(const FileSpec &platform_file, const UUID *uuid,
   60                          FileSpec &local_file) override;
   67   Status RunShellCommand(const char *command, const FileSpec &working_dir,
tools/lldb/include/lldb/Target/Target.h
  124   void AppendExecutableSearchPaths(const FileSpec &);
  150   FileSpec GetStandardInputPath() const;
  151   FileSpec GetStandardErrorPath() const;
  152   FileSpec GetStandardOutputPath() const;
  560                                        const FileSpec *crash_file);
  589                                       const FileSpec &file, uint32_t line_no,
  613                                                      const FileSpec *file_spec,
  758   Status SerializeBreakpointsToFile(const FileSpec &file,
  762   Status CreateBreakpointsFromFile(const FileSpec &file,
  765   Status CreateBreakpointsFromFile(const FileSpec &file,
  913   bool ModuleIsExcludedForUnconstrainedSearches(const FileSpec &module_spec);
 1243   GetSearchFilterForModule(const FileSpec *containingModule);
tools/lldb/include/lldb/Target/TargetList.h
  142       const FileSpec &exe_file_spec,
tools/lldb/include/lldb/Target/Thread.h
  418   Status JumpToLine(const FileSpec &file, uint32_t line,
tools/lldb/include/lldb/Utility/Args.h
  290   static const char *GetShellSafeArgument(const FileSpec &shell,
tools/lldb/include/lldb/Utility/FileSpec.h
   85   FileSpec(const FileSpec *rhs);
   90   bool DirectoryEquals(const FileSpec &other) const;
   92   bool FileEquals(const FileSpec &other) const;
  103   const FileSpec &operator=(const FileSpec &rhs);
  103   const FileSpec &operator=(const FileSpec &rhs);
  116   bool operator==(const FileSpec &rhs) const;
  129   bool operator!=(const FileSpec &rhs) const;
  142   bool operator<(const FileSpec &rhs) const;
  205   static int Compare(const FileSpec &lhs, const FileSpec &rhs, bool full);
  205   static int Compare(const FileSpec &lhs, const FileSpec &rhs, bool full);
  207   static bool Equal(const FileSpec &a, const FileSpec &b, bool full);
  207   static bool Equal(const FileSpec &a, const FileSpec &b, bool full);
  283   void MakeAbsolute(const FileSpec &dir);
  398   FileSpec CopyByAppendingPathComponent(llvm::StringRef component) const;
  399   FileSpec CopyByRemovingLastPathComponent() const;
  402   void PrependPathComponent(const FileSpec &new_path);
  405   void AppendPathComponent(const FileSpec &new_path);
  428 Stream &operator<<(Stream &s, const FileSpec &f);
  453   static void format(const lldb_private::FileSpec &F, llvm::raw_ostream &Stream,
tools/lldb/include/lldb/Utility/Log.h
  141               const char *format, Args &&... args) {
tools/lldb/include/lldb/Utility/ProcessInfo.h
   43   FileSpec &GetExecutableFile() { return m_executable; }
   45   void SetExecutableFile(const FileSpec &exe_file,
   48   const FileSpec &GetExecutableFile() const { return m_executable; }
   92   FileSpec m_executable;
  209                                              FileSpec::Style::native);
tools/lldb/include/lldb/Utility/Reproducer.h
   41   const FileSpec &GetRoot() const { return m_root; }
   61   ProviderBase(const FileSpec &root) : m_root(root) {}
   65   FileSpec m_root;
   81   using ProviderBase::ProviderBase; // Inherit constructor.
   91   FileProvider(const FileSpec &directory)
  102     auto mapping = GetRoot().CopyByAppendingPathComponent(Info::file);
  121   VersionProvider(const FileSpec &directory) : Provider(directory) {}
  141   WorkingDirectoryProvider(const FileSpec &directory) : Provider(directory) {
  158   DataRecorder(const FileSpec &filename, std::error_code &ec)
  163   Create(const FileSpec &filename);
  174   const FileSpec &GetFilename() { return m_filename; }
  182   FileSpec m_filename;
  194   CommandProvider(const FileSpec &directory) : Provider(directory) {}
  215   ProcessGDBRemoteProvider(const FileSpec &directory) : Provider(directory) {}
  239   Generator(FileSpec root);
  273   const FileSpec &GetRoot() const;
  288   FileSpec m_root;
  296   Loader(FileSpec root);
  298   template <typename T> FileSpec GetFile() {
  306     FileSpec file = GetFile<typename T::Info>();
  316   const FileSpec &GetRoot() const { return m_root; }
  321   FileSpec m_root;
  332                                 llvm::Optional<FileSpec> root);
  344   FileSpec GetReproducerPath() const;
  350   llvm::Error SetCapture(llvm::Optional<FileSpec> root);
  351   llvm::Error SetReplay(llvm::Optional<FileSpec> root);
tools/lldb/include/lldb/Utility/ReproducerInstrumentation.h
  472   bool Replay(const FileSpec &file);
tools/lldb/include/lldb/Utility/Status.h
  175   void SetErrorStringWithFormatv(const char *format, Args &&... args) {
tools/lldb/include/lldb/Utility/Stream.h
  422   template <typename... Args> void Format(const char *format, Args &&... args) {
tools/lldb/include/lldb/Utility/StructuredData.h
  551   static ObjectSP ParseJSONFromFile(const FileSpec &file, Status &error);
tools/lldb/include/lldb/lldb-private-interfaces.h
   32     lldb::offset_t data_offset, const FileSpec *file, lldb::offset_t offset,
   35     const FileSpec &file, lldb::DataBufferSP &data_sp,
   41                                                 const FileSpec *file,
   48                                    const FileSpec &outfile, Status &error);
   70     const FileSpec *crash_file_path);
tools/lldb/include/lldb/lldb-private-types.h
   29     const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error);
tools/lldb/source/API/SBAttachInfo.cpp
   35     m_opaque_sp->GetExecutableFile().SetFile(path, FileSpec::Style::native);
   45     m_opaque_sp->GetExecutableFile().SetFile(path, FileSpec::Style::native);
  111     m_opaque_sp->GetExecutableFile().SetFile(path, FileSpec::Style::native);
tools/lldb/source/API/SBCommandInterpreter.cpp
  317   FileSpec tmp_spec = file.ref();
tools/lldb/source/API/SBCompileUnit.cpp
  105     FileSpec file_spec;
  158     FileSpec spec = m_opaque_ptr->GetSupportFiles().GetFileSpecAtIndex(idx);
tools/lldb/source/API/SBDebugger.cpp
   62                                             const FileSpec &spec,
tools/lldb/source/API/SBFileSpec.cpp
   26 SBFileSpec::SBFileSpec() : m_opaque_up(new lldb_private::FileSpec()) {
   36 SBFileSpec::SBFileSpec(const lldb_private::FileSpec &fspec)
   37     : m_opaque_up(new lldb_private::FileSpec(fspec)) {}
   40 SBFileSpec::SBFileSpec(const char *path) : m_opaque_up(new FileSpec(path)) {
   47     : m_opaque_up(new FileSpec(path)) {
  122   FileSpec directory{*m_opaque_up};
  156 const lldb_private::FileSpec *SBFileSpec::operator->() const {
  160 const lldb_private::FileSpec *SBFileSpec::get() const {
  164 const lldb_private::FileSpec &SBFileSpec::operator*() const {
  168 const lldb_private::FileSpec &SBFileSpec::ref() const { return *m_opaque_up; }
  170 void SBFileSpec::SetFileSpec(const lldb_private::FileSpec &fs) {
tools/lldb/source/API/SBHostOS.cpp
   51   FileSpec fspec;
   97   FileSpec homedir(home_dir_path.c_str());
tools/lldb/source/API/SBModuleSpec.cpp
  179   FileSpec file_spec(path);
tools/lldb/source/API/SBProcess.cpp
 1087       FileSpec loaded_spec;
 1225   FileSpec core_file(file_name);
tools/lldb/source/API/SBReproducer.cpp
  140   FileSpec file = loader->GetFile<SBProvider::Info>();
tools/lldb/source/API/SBReproducerPrivate.h
   40   SBProvider(const FileSpec &directory)
tools/lldb/source/API/SBSourceManager.cpp
   39   size_t DisplaySourceLinesWithLineNumbers(const lldb_private::FileSpec &file,
tools/lldb/source/API/SBTarget.cpp
  267     FileSpec filespec(core_file);
  523     attach_info.GetExecutableFile().SetFile(name, FileSpec::Style::native);
 1575       module_spec.GetFileSpec().SetFile(path, FileSpec::Style::native);
 1587       module_spec.GetSymbolFileSpec().SetFile(symfile, FileSpec::Style::native);
tools/lldb/source/API/SBThread.cpp
  889     FileSpec step_file_spec;
tools/lldb/source/API/Utils.h
   17 template <typename T> std::unique_ptr<T> clone(const std::unique_ptr<T> &src) {
   17 template <typename T> std::unique_ptr<T> clone(const std::unique_ptr<T> &src) {
   19     return std::make_unique<T>(*src);
tools/lldb/source/Breakpoint/Breakpoint.cpp
  641       if (FileSpec::Equal(*old_sc.comp_unit, *new_sc.comp_unit, true)) {
tools/lldb/source/Breakpoint/BreakpointResolverAddress.cpp
   25     Breakpoint *bkpt, const Address &addr, const FileSpec &module_spec)
   43   FileSpec module_filespec;
   62     module_filespec.SetFile(module_name, FileSpec::Style::native);
tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
   23     Breakpoint *bkpt, const FileSpec &file_spec, uint32_t line_no,
   88   FileSpec file_spec(filename);
  153     FileSpec file;
  223   FileSpec search_file_spec = m_file_spec;
tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp
  105   FileSpec cu_file_spec = *(static_cast<FileSpec *>(cu));
tools/lldb/source/Commands/CommandCompletions.cpp
  198       FileSpec symlink_filespec(Entry.path());
  199       FileSpec resolved_filespec;
  347   FileSpec partial_spec(m_request.GetCursorArgumentPrefix());
  364         const FileSpec &sfile_spec =
  481   FileSpec partial_spec(m_request.GetCursorArgumentPrefix());
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  562     FileSpec module_spec;
  574       FileSpec file;
  607         const FileSpec *file_spec =
  659         FileSpec file;
  764   bool GetDefaultFile(Target &target, FileSpec &file,
 2080     FileSpec input_spec(m_options.m_filename);
 2202     FileSpec file_spec(m_options.m_filename);
tools/lldb/source/Commands/CommandObjectCommands.cpp
  286     FileSpec cmd_file(command[0].ref());
tools/lldb/source/Commands/CommandObjectLog.cpp
  100         log_file.SetFile(option_arg, FileSpec::Style::native);
  148     FileSpec log_file;
tools/lldb/source/Commands/CommandObjectMemory.cpp
  770     const FileSpec &outfile_spec =
 1211         m_infile.SetFile(option_value, FileSpec::Style::native);
 1239     FileSpec m_infile;
tools/lldb/source/Commands/CommandObjectPlatform.cpp
  921     FileSpec src_fs(src);
  923     FileSpec dst_fs(dst ? dst : src_fs.GetFilename().GetCString());
 1231             option_arg, FileSpec::Style::native);
 1237             option_arg, FileSpec::Style::native);
 1243             option_arg, FileSpec::Style::native);
 1249             option_arg, FileSpec::Style::native);
 1255             option_arg, FileSpec::Style::native);
 1418                                                 FileSpec::Style::native);
 1465             partial_name, FileSpec::Style::native);
 1628       FileSpec working_dir{};
 1688     FileSpec src(args.GetArgumentAtIndex(0));
 1690     FileSpec dst(args.GetArgumentAtIndex(1));
tools/lldb/source/Commands/CommandObjectPlugin.cpp
   60     FileSpec dylib_fspec(command[0].ref());
tools/lldb/source/Commands/CommandObjectProcess.cpp
  298                                                 FileSpec::Style::native);
  348             partial_name, FileSpec::Style::native);
  883           install_path.SetFile(option_arg, FileSpec::Style::native);
  902     FileSpec install_path;
  929         FileSpec image_spec(image_path);
  934         FileSpec image_spec(image_path);
  941         FileSpec image_spec(image_path);
 1179         FileSpec output_file(command.GetArgumentAtIndex(0));
tools/lldb/source/Commands/CommandObjectReproducer.cpp
  186         file.SetFile(option_arg, FileSpec::Style::native);
  212     FileSpec file;
  250       FileSpec vfs_mapping = loader->GetFile<FileProvider::Info>();
  326       FileSpec gdb_file = loader->GetFile<ProcessGDBRemoteProvider::Info>();
tools/lldb/source/Commands/CommandObjectSettings.cpp
  375     FileSpec file_spec(m_options.m_filename);
  471     FileSpec file(m_options.m_filename);
tools/lldb/source/Commands/CommandObjectSource.cpp
  107     FileSpec file_spec;
  142                                      const FileSpec &file_spec) {
  172             !lldb_private::FileSpec::Equal(file_spec, line_entry.file,
  209                                    CompileUnit *cu, const FileSpec &file_spec) {
  224         const FileSpec &cu_file_spec =
  291                                  const FileSpec &file_spec) {
  466     FileSpec file_spec;
  489     FileSpec file_spec;
  502     FileSpec file_spec(m_options.file_name);
  541       FileSpec file_spec;
  581         FileSpec module_file_spec(m_options.modules[i]);
  709     FileSpec file_spec;
  800       FileSpec start_file;
  803       FileSpec end_file;
  890         FileSpec module_file_spec(m_options.modules[i]);
  913         FileSpec module_file_spec(m_options.modules[i]);
 1170           FileSpec module_file_spec(m_options.modules[i]);
 1197         FileSpec *test_cu_spec = nullptr;
tools/lldb/source/Commands/CommandObjectTarget.cpp
  272     FileSpec core_file(m_core_file.GetOptionValue().GetCurrentValue());
  273     FileSpec remote_file(m_remote_file.GetOptionValue().GetCurrentValue());
  291       FileSpec symfile(m_symbol_file.GetOptionValue().GetCurrentValue());
  313       FileSpec file_spec;
  316         file_spec.SetFile(file_path, FileSpec::Style::native);
  416             FileSpec core_file_dir;
  949             const FileSpec module_file(shlibs.GetFileSpecAtIndex(shlib_idx));
 1319                                          const FileSpec &file_spec,
 1348 static void DumpFullpath(Stream &strm, const FileSpec *file_spec_ptr,
 1365 static void DumpDirectory(Stream &strm, const FileSpec *file_spec_ptr,
 1379 static void DumpBasename(Stream &strm, const FileSpec *file_spec_ptr,
 1718                                           const FileSpec &file_spec,
 1747   FileSpec module_file_spec(module_name);
 2351         FileSpec file_spec(arg_cstr);
 2551         FileSpec file_spec(entry.ref());
 2837           FileSpec *module_spec_file = module_spec.GetFileSpecPtr();
 3188           const FileSpec symfile_spec =
 3608         m_file.SetFile(option_arg, FileSpec::Style::native);
 3677     FileSpec m_file;   // Files for file lookups
 4037     const FileSpec &symbol_fspec = module_spec.GetSymbolFileSpec();
 4142             const FileSpec &module_fs = module_sp->GetFileSpec();
 4324             auto &symbol_file_spec = module_spec.GetSymbolFileSpec();
 4325             symbol_file_spec.SetFile(entry.ref(), FileSpec::Style::native);
 4332               FileSpec symfile_spec;
tools/lldb/source/Commands/CommandObjectThread.cpp
 1797       FileSpec file = sym_ctx.line_entry.file;
tools/lldb/source/Core/AddressResolverFileLine.cpp
   31 AddressResolverFileLine::AddressResolverFileLine(const FileSpec &file_spec,
tools/lldb/source/Core/Debugger.cpp
  538 bool Debugger::LoadPlugin(const FileSpec &spec, Status &error) {
  575     FileSpec plugin_file_spec(path);
  605   if (FileSpec dir_spec = HostInfo::GetSystemPluginDir()) {
  614   if (FileSpec dir_spec = HostInfo::GetUserPluginDir()) {
 1592   FileSpec repl_executable;
tools/lldb/source/Core/Disassembler.cpp
  309   FileSpec func_decl_file;
  328     std::map<FileSpec, std::set<uint32_t>> &source_lines_seen) {
  433   std::map<FileSpec, std::set<uint32_t>> source_lines_seen;
  521                   FileSpec func_decl_file;
tools/lldb/source/Core/DynamicLoader.cpp
  152 ModuleSP DynamicLoader::LoadModuleAtAddress(const FileSpec &file,
tools/lldb/source/Core/FileLineResolver.cpp
   27 FileLineResolver::FileLineResolver(const FileSpec &file_spec, uint32_t line_no,
   83 void FileLineResolver::Reset(const FileSpec &file_spec, uint32_t line,
tools/lldb/source/Core/FileSpecList.cpp
   26 void FileSpecList::Append(const FileSpec &file_spec) {
   34 bool FileSpecList::AppendIfUnique(const FileSpec &file_spec) {
   61 size_t FileSpecList::FindFileIndex(size_t start_idx, const FileSpec &file_spec,
   76       if (FileSpec::Equal(m_files[idx], file_spec, full))
   87 const FileSpec &FileSpecList::GetFileSpecAtIndex(size_t idx) const {
   90   static FileSpec g_empty_file_spec;
   94 const FileSpec *FileSpecList::GetFileSpecPointerAtIndex(size_t idx) const {
tools/lldb/source/Core/FormatEntity.cpp
  567 static bool DumpFile(Stream &s, const FileSpec &file, FileKind file_kind) {
 2308 bool FormatEntity::FormatFileSpec(const FileSpec &file_spec, Stream &s,
tools/lldb/source/Core/Module.cpp
  219 Module::Module(const FileSpec &file_spec, const ArchSpec &arch,
  572   FileSpec file_spec(file_path);
  578     const FileSpec &file_spec, uint32_t line, bool check_inlines,
  611 void Module::FindCompileUnits(const FileSpec &path,
  620       if (FileSpec::Equal(*sc.comp_unit, path, compare_directory))
  905                                   const FileSpec &file, uint32_t line,
 1040 void Module::SetFileSpecAndObjectName(const FileSpec &file,
 1372 void Module::SetSymbolFileFileSpec(const FileSpec &file) {
 1494           FileSpec scripting_fspec(file_specs.GetFileSpecAtIndex(i));
 1559   const FileSpec &file_spec = module_ref.GetFileSpec();
 1561     if (!FileSpec::Equal(file_spec, m_file, (bool)file_spec.GetDirectory()) &&
 1562         !FileSpec::Equal(file_spec, m_platform_file,
 1567   const FileSpec &platform_file_spec = module_ref.GetPlatformFileSpec();
 1569     if (!FileSpec::Equal(platform_file_spec, GetPlatformFileSpec(),
 1588 bool Module::FindSourceFile(const FileSpec &orig_spec,
 1589                             FileSpec &new_spec) const {
tools/lldb/source/Core/ModuleList.cpp
   97 FileSpec ModuleListProperties::GetClangModulesCachePath() const {
  398 void ModuleList::FindCompileUnits(const FileSpec &path,
  522 bool ModuleList::FindSourceFile(const FileSpec &orig_spec,
  523                                 FileSpec &new_spec) const {
  534                                       const FileSpec &file, uint32_t line,
  586       const FileSpec &module_file_spec = module->GetFileSpec();
  635   FileSpec file_spec(file_path);
  641     const FileSpec &file_spec, uint32_t line, bool check_inlines,
  732   const FileSpec &module_file_spec = module_spec.GetFileSpec();
  803       auto search_path_spec = module_search_paths_ptr->GetFileSpecAtIndex(idx);
tools/lldb/source/Core/PluginManager.cpp
   62 typedef std::map<FileSpec, PluginInfo> PluginTerminateMap;
   74 static bool PluginIsLoaded(const FileSpec &plugin_file_spec) {
   80 static void SetPluginInfo(const FileSpec &plugin_file_spec,
  105     FileSpec plugin_file_spec(path);
  164   if (FileSpec dir_spec = HostInfo::GetSystemPluginDir()) {
  173   if (FileSpec dir_spec = HostInfo::GetUserPluginDir()) {
 1133                                const FileSpec &outfile) {
tools/lldb/source/Core/SearchFilter.cpp
  136 bool SearchFilter::ModulePasses(const FileSpec &spec) { return true; }
  142 bool SearchFilter::CompUnitPasses(FileSpec &fileSpec) { return true; }
  376     const FileSpec &module_spec) {
  399                                            const FileSpec &module)
  406           FileSpec::Equal(module_sp->GetFileSpec(), m_module_spec, false));
  409 bool SearchFilterByModule::ModulePasses(const FileSpec &spec) {
  412   return FileSpec::Equal(spec, m_module_spec, full_match);
  420 bool SearchFilterByModule::CompUnitPasses(FileSpec &fileSpec) { return true; }
  447     if (FileSpec::Equal(m_module_spec, module->GetFileSpec(), full_match)) {
  498   FileSpec module_spec(module);
  543 bool SearchFilterByModuleList::ModulePasses(const FileSpec &spec) {
  555 bool SearchFilterByModuleList::CompUnitPasses(FileSpec &fileSpec) {
  754 bool SearchFilterByModuleListAndCU::CompUnitPasses(FileSpec &fileSpec) {
tools/lldb/source/Core/Section.cpp
  351       const FileSpec &file_spec = m_obj_file->GetFileSpec();
tools/lldb/source/Core/SourceManager.cpp
   65 SourceManager::FileSP SourceManager::GetFile(const FileSpec &file_spec) {
  167     FileSpec tmp_spec;
  227     const FileSpec &file_spec, uint32_t line, uint32_t column,
  255     FileSpec tmp_spec;
  293 bool SourceManager::SetDefaultFileAndLine(const FileSpec &file_spec,
  308 bool SourceManager::GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line) {
  352 void SourceManager::FindLinesMatchingRegex(FileSpec &file_spec,
  365 SourceManager::File::File(const FileSpec &file_spec,
  373 SourceManager::File::File(const FileSpec &file_spec, Target *target)
  381 void SourceManager::File::CommonInitializer(const FileSpec &file_spec,
  402             FileSpec *test_cu_spec = nullptr;
  426         FileSpec new_file_spec;
  604 bool SourceManager::File::FileSpecMatches(const FileSpec &file_spec) {
  605   return FileSpec::Equal(m_file_spec, file_spec, false);
  684   FileSpec file_spec;
  695     const FileSpec &file_spec) const {
tools/lldb/source/Expression/FunctionCaller.cpp
   97       FileSpec jit_file;
tools/lldb/source/Expression/REPL.cpp
   54   FileSpec tmpdir_file_spec = HostInfo::GetProcessTempDir();
  522   FileSpec save_default_file;
tools/lldb/source/Host/common/File.cpp
  115 Status File::GetFileSpec(FileSpec &file_spec) const {
  332 Status NativeFile::GetFileSpec(FileSpec &file_spec) const {
  355       file_spec.SetFile(path, FileSpec::Style::native);
tools/lldb/source/Host/common/FileAction.cpp
   31 const FileSpec &FileAction::GetFileSpec() const { return m_file_spec; }
   33 bool FileAction::Open(int fd, const FileSpec &file_spec, bool read,
tools/lldb/source/Host/common/FileCache.cpp
   26 lldb::user_id_t FileCache::OpenFile(const FileSpec &file_spec,
tools/lldb/source/Host/common/FileSystem.cpp
   57 llvm::Error FileSystem::Initialize(const FileSpec &mapping) {
   88 vfs::directory_iterator FileSystem::DirBegin(const FileSpec &file_spec,
   99 FileSystem::GetStatus(const FileSpec &file_spec) const {
  108 FileSystem::GetModificationTime(const FileSpec &file_spec) const {
  119 uint64_t FileSystem::GetByteSize(const FileSpec &file_spec) const {
  130 uint32_t FileSystem::GetPermissions(const FileSpec &file_spec) const {
  134 uint32_t FileSystem::GetPermissions(const FileSpec &file_spec,
  156 bool FileSystem::Exists(const FileSpec &file_spec) const {
  164 bool FileSystem::Readable(const FileSpec &file_spec) const {
  175 bool FileSystem::IsDirectory(const FileSpec &file_spec) const {
  185 bool FileSystem::IsLocal(const FileSpec &file_spec) const {
  223 std::error_code FileSystem::MakeAbsolute(FileSpec &file_spec) const {
  231   FileSpec new_file_spec(path, file_spec.GetPathStyle());
  263 void FileSystem::Resolve(FileSpec &file_spec) {
  309 FileSystem::CreateDataBuffer(const FileSpec &file_spec, uint64_t size,
  314 bool FileSystem::ResolveExecutableLocation(FileSpec &file_spec) {
  339   FileSpec result(*error_or_path);
  418 Expected<FileUP> FileSystem::Open(const FileSpec &file_spec,
  466 ErrorOr<std::string> FileSystem::GetExternalPath(const FileSpec &file_spec) {
tools/lldb/source/Host/common/Host.cpp
  400 bool Host::GetBundleDirectory(const FileSpec &file, FileSpec &bundle) {
  400 bool Host::GetBundleDirectory(const FileSpec &file, FileSpec &bundle) {
  405 bool Host::ResolveExecutableInBundle(FileSpec &file) { return false; }
  410 FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr) {
  411   FileSpec module_filespec;
  416       module_filespec.SetFile(info.dli_fname, FileSpec::Style::native);
  458 Status Host::RunShellCommand(const char *command, const FileSpec &working_dir,
  469 Status Host::RunShellCommand(const Args &args, const FileSpec &working_dir,
  501     if (FileSpec tmpdir_file_spec = HostInfo::GetProcessTempDir()) {
  511   FileSpec output_file_spec(output_file_path.c_str());
  608 bool Host::OpenFileInExternalEditor(const FileSpec &file_spec,
tools/lldb/source/Host/common/HostInfoBase.cpp
   55   FileSpec m_lldb_so_dir;
   56   FileSpec m_lldb_support_exe_dir;
   57   FileSpec m_lldb_headers_dir;
   58   FileSpec m_lldb_clang_resource_dir;
   59   FileSpec m_lldb_system_plugin_dir;
   60   FileSpec m_lldb_user_plugin_dir;
   61   FileSpec m_lldb_process_tmp_dir;
   62   FileSpec m_lldb_global_tmp_dir;
  110 FileSpec HostInfoBase::GetShlibDir() {
  121 FileSpec HostInfoBase::GetSupportExeDir() {
  133 FileSpec HostInfoBase::GetHeaderDir() {
  144 FileSpec HostInfoBase::GetSystemPluginDir() {
  157 FileSpec HostInfoBase::GetUserPluginDir() {
  169 FileSpec HostInfoBase::GetProcessTempDir() {
  182 FileSpec HostInfoBase::GetGlobalTempDir() {
  215 bool HostInfoBase::ComputePathRelativeToLibrary(FileSpec &file_spec,
  219   FileSpec lldb_file_spec = GetShlibDir();
  246 bool HostInfoBase::ComputeSharedLibraryDirectory(FileSpec &file_spec) {
  251   FileSpec lldb_file_spec(Host::GetModuleFileSpecForHostAddress(
  265 bool HostInfoBase::ComputeSupportExeDirectory(FileSpec &file_spec) {
  270 bool HostInfoBase::ComputeProcessTempFileDirectory(FileSpec &file_spec) {
  271   FileSpec temp_file_spec;
  284 bool HostInfoBase::ComputeTempFileBaseDirectory(FileSpec &file_spec) {
  292 bool HostInfoBase::ComputeGlobalTempFileDirectory(FileSpec &file_spec) {
  295   FileSpec temp_file_spec;
  307 bool HostInfoBase::ComputeHeaderDirectory(FileSpec &file_spec) {
  313 bool HostInfoBase::ComputeSystemPluginsDirectory(FileSpec &file_spec) {
  319 bool HostInfoBase::ComputeUserPluginsDirectory(FileSpec &file_spec) {
tools/lldb/source/Host/common/HostProcess.cpp
   25 Status HostProcess::GetMainModule(FileSpec &file_spec) const {
tools/lldb/source/Host/common/MonitoringProcessLauncher.cpp
   32   FileSpec exe_spec(resolved_info.GetExecutableFile());
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp
   37 ProcessLaunchInfo::ProcessLaunchInfo(const FileSpec &stdin_file_spec,
   38                                      const FileSpec &stdout_file_spec,
   39                                      const FileSpec &stderr_file_spec,
   40                                      const FileSpec &working_directory,
   89 bool ProcessLaunchInfo::AppendOpenFileAction(int fd, const FileSpec &file_spec,
  123 const FileSpec &ProcessLaunchInfo::GetWorkingDirectory() const {
  127 void ProcessLaunchInfo::SetWorkingDirectory(const FileSpec &working_dir) {
  139 const FileSpec &ProcessLaunchInfo::GetShell() const { return m_shell; }
  141 void ProcessLaunchInfo::SetShell(const FileSpec &shell) {
  225   const FileSpec slave_file_spec(m_pty->GetSlaveName(nullptr, 0));
  271         FileSpec arg_spec(argv0);
  275           FileSpec working_dir = GetWorkingDirectory();
tools/lldb/source/Host/linux/Host.cpp
  185     process_info.GetExecutableFile().SetFile(PathRef, FileSpec::Style::native);
tools/lldb/source/Host/linux/HostInfoLinux.cpp
  161 FileSpec HostInfoLinux::GetProgramFileSpec() {
  162   static FileSpec g_program_filespec;
  169       g_program_filespec.SetFile(exe_path, FileSpec::Style::native);
  176 bool HostInfoLinux::ComputeSupportExeDirectory(FileSpec &file_spec) {
  184 bool HostInfoLinux::ComputeSystemPluginsDirectory(FileSpec &file_spec) {
  185   FileSpec temp_file("/usr/lib" LLDB_LIBDIR_SUFFIX "/lldb/plugins");
  191 bool HostInfoLinux::ComputeUserPluginsDirectory(FileSpec &file_spec) {
tools/lldb/source/Host/posix/FileSystem.cpp
   36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) {
   36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) {
   43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) {
   43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) {
   51     dst.SetFile(buf, FileSpec::Style::native);
   56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) {
   56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) {
tools/lldb/source/Host/posix/HostInfoPosix.cpp
  124 FileSpec HostInfoPosix::GetDefaultShell() {
  132 bool HostInfoPosix::ComputeSupportExeDirectory(FileSpec &file_spec) {
  136 bool HostInfoPosix::ComputeHeaderDirectory(FileSpec &file_spec) {
  137   FileSpec temp_file("/opt/local/include/lldb");
tools/lldb/source/Host/posix/HostProcessPosix.cpp
   54 Status HostProcessPosix::GetMainModule(FileSpec &file_spec) const {
tools/lldb/source/Host/posix/PipePosix.cpp
  131   FileSpec tmpdir_file_spec = HostInfo::GetProcessTempDir();
tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
   73 static void DupDescriptor(int error_fd, const FileSpec &file_spec, int fd,
tools/lldb/source/Initialization/SystemInitializerCommon.cpp
   74     FileSpec vfs_mapping = loader->GetFile<FileProvider::Info>();
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 2042 void CommandInterpreter::SourceInitFile(FileSpec file,
 2331     FileSpec &cmd_file, ExecutionContext *context,
tools/lldb/source/Interpreter/OptionValue.cpp
  321 FileSpec OptionValue::GetFileSpecValue() const {
  328 bool OptionValue::SetFileSpecValue(const FileSpec &file_spec) {
tools/lldb/source/Interpreter/OptionValueFileSpec.cpp
   27 OptionValueFileSpec::OptionValueFileSpec(const FileSpec &value, bool resolve)
   33 OptionValueFileSpec::OptionValueFileSpec(const FileSpec &current_value,
   34                                          const FileSpec &default_value,
   76       m_current_value.SetFile(value.str(), FileSpec::Style::native);
tools/lldb/source/Interpreter/OptionValueFileSpecList.cpp
   69           FileSpec file(args.GetArgumentAtIndex(i));
   91         FileSpec file(args.GetArgumentAtIndex(i));
  115           FileSpec file(args.GetArgumentAtIndex(i));
tools/lldb/source/Interpreter/OptionValueProperties.cpp
  399 FileSpec OptionValueProperties::GetPropertyAtIndexAsFileSpec(
  412     const FileSpec &new_file_spec) {
tools/lldb/source/Interpreter/Options.cpp
  796           FileSpec module_spec(module_name);
tools/lldb/source/Interpreter/Property.cpp
  106     FileSpec file_spec = FileSpec(definition.default_cstr_value);
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  661   FileSpec file_spec(m_name.c_str());
  820           FileSpec kext_filespec(m_name.c_str());
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
  364       FileSpec file(I->path);
  389       FileSpec file(I->path);
  484     FileSpec file(module_path);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  372         FileSpec::Style::native);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
  106     lldb_private::FileSpec file_spec;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  679         image_infos[i].file_spec.SetFile(raw_path, FileSpec::Style::native);
  826                                                     FileSpec *lc_id_dylinker) {
  872           lc_id_dylinker->SetFile(path, FileSpec::Style::native);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
   96                              lldb_private::FileSpec *lc_id_dylinker);
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
  278   entry.file_spec.SetFile(name, FileSpec::Style::native);
  549   entry.file_spec.SetFile(file_path, FileSpec::Style::native);
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h
  135     lldb_private::FileSpec file_spec; ///< File spec of shared object.
  178   lldb_private::FileSpec m_exe_file_spec;
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  507   FileSpec file("[vdso]");
  538   FileSpec file(info.GetName().GetCString());
  571   std::vector<FileSpec> module_names;
tools/lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp
  110   FileSpec file_spec(executable->GetPlatformFileSpec());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  907     if (FileSpec tmpdir_file_spec = HostInfo::GetProcessTempDir()) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
   85   AddMacroState(const FileSpec &current_file, const uint32_t current_file_line)
   89   void StartFile(const FileSpec &file) {
   99     FileSpec old_top = m_file_stack.back();
  124   std::vector<FileSpec> m_file_stack;
  126   FileSpec m_current_file;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
   47 static bool DefaultComputeClangResourceDirectory(FileSpec &lldb_shlib_spec,
   48                                                  FileSpec &file_spec,
   83 bool lldb_private::ComputeClangResourceDirectory(FileSpec &lldb_shlib_spec,
   84                                          FileSpec &file_spec, bool verify) {
  155 FileSpec lldb_private::GetClangResourceDir() {
  156   static FileSpec g_cached_resource_dir;
  159     if (FileSpec lldb_file_spec = HostInfo::GetShlibDir())
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.h
   16 bool ComputeClangResourceDirectory(FileSpec &lldb_shlib_spec,
   17                                    FileSpec &file_spec, bool verify);
   19 FileSpec GetClangResourceDir();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  624     const FileSpec &search_path = module_search_paths.GetFileSpecAtIndex(spi);
  633     FileSpec clang_resource_dir = GetClangResourceDir();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  475   for (const FileSpec &f : sc.comp_unit->GetSupportFiles())
  483       for (const FileSpec &f : support_files) {
  492     for (const FileSpec &f : files)
  690       FileSpec jit_file;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
  131         FileSpec jit_file;
tools/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
   33 bool CppModuleConfiguration::analyzeFile(const FileSpec &f) {
tools/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h
   56   bool analyzeFile(const FileSpec &f);
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
  289     const FileSpec &module_file_spec = module_sp->GetFileSpec();
  565 std::tuple<FileSpec, ConstString>
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h
   88   static std::tuple<FileSpec, ConstString> GetExceptionThrowLocation();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
 2723     FileSpec module;
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 1628   const FileSpec &file = module->GetPlatformFileSpec();
 2430   FileSpec file(path);
 2651   FileSpec file_spec(path);
 2976   const FileSpec fs = m_module->GetFileSpec();
 4529         m_outfile.SetFile(option_arg, FileSpec::Style::native);
 4552     FileSpec m_outfile;
 4583     const FileSpec &outfile_spec =
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
  198     const FileSpec &file, const ArchSpec &arch,
  238     const FileSpec &file, const ArchSpec &arch,
  288     lldb::offset_t data_offset, const FileSpec *file,
  370     lldb::offset_t data_offset, const lldb_private::FileSpec *file,
  421 ObjectFileSP ObjectContainerBSDArchive::GetObjectFile(const FileSpec *file) {
  446     const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h
   29                             const lldb_private::FileSpec *file,
   45                  lldb::offset_t data_offset, const lldb_private::FileSpec *file,
   48   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
   68   lldb::ObjectFileSP GetObjectFile(const lldb_private::FileSpec *file) override;
  111     typedef std::multimap<lldb_private::FileSpec, shared_ptr> Map;
  124         const lldb_private::FileSpec &file, const lldb_private::ArchSpec &arch,
  128         const lldb_private::FileSpec &file, const lldb_private::ArchSpec &arch,
tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
   44     lldb::offset_t data_offset, const FileSpec *file,
   71     lldb::offset_t data_offset, const FileSpec *file,
  163 ObjectContainerUniversalMachO::GetObjectFile(const FileSpec *file) {
  213     const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h
   21                                 const lldb_private::FileSpec *file,
   37                  lldb::offset_t data_offset, const lldb_private::FileSpec *file,
   40   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
   59   lldb::ObjectFileSP GetObjectFile(const lldb_private::FileSpec *file) override;
tools/lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
   64     const FileSpec *file, offset_t file_offset, offset_t length) {
   96     const FileSpec &file, DataBufferSP &data_sp, offset_t data_offset,
  111                                        const FileSpec *file, offset_t offset,
tools/lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h
   31                  lldb::offset_t data_offset, const FileSpec *file,
   39   static size_t GetModuleSpecifications(const FileSpec &file,
  100                      const FileSpec *file, lldb::offset_t offset,
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  330                                           const lldb_private::FileSpec *file,
  494     const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
  629                              const FileSpec *file, lldb::offset_t file_offset,
  783 llvm::Optional<FileSpec> ObjectFileELF::GetDebugLink() {
  947       FileSpec file_spec(lib_name);
 1895   auto fspec = GetFileSpec().CopyByAppendingPathComponent(
 3196       const FileSpec &spec = m_filespec_up->GetFileSpecAtIndex(i);
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
   70                  lldb::offset_t data_offset, const lldb_private::FileSpec *file,
   77   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
  127   llvm::Optional<lldb_private::FileSpec> GetDebugLink();
  164                 lldb::offset_t data_offset, const lldb_private::FileSpec *file,
tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
   66                                           const FileSpec *file,
   84     const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
   35                  lldb::offset_t data_offset, const lldb_private::FileSpec *file,
   42   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
  777                                             const FileSpec *file,
  818     const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
  900                                  const FileSpec *file,
 2001 UUID ObjectFileMachO::GetSharedCacheUUID(FileSpec dyld_shared_cache,
 2124         FileSpec file_spec(path);
 3909                   FileSpec so_dir(so_path);
 3912                                    FileSpec::Style::native);
 5057               FileSpec file_spec(path);
 5071     FileSpec this_file_spec(m_file);
 5094           FileSpec file_spec(path);
 5110       FileSpec exec_dir = this_file_spec.CopyByRemovingLastPathComponent();
 5112         FileSpec file_spec =
 6021                                const FileSpec &outfile, Status &error) {
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
   26                   const lldb_private::FileSpec *file, lldb::offset_t offset,
   45                  lldb::offset_t data_offset, const lldb_private::FileSpec *file,
   52   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
   60                        const lldb_private::FileSpec &outfile,
  190   GetSharedCacheUUID(lldb_private::FileSpec dyld_shared_cache,
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  117                                              const lldb_private::FileSpec *file,
  163     const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
  214                                 const lldb_private::FileSpec &outfile,
  273                                    const FileSpec *file,
  987     FileSpec dll_specs(dll_name);
 1213       auto spec = m_deps_filespec->GetFileSpecAtIndex(i);
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
   46                    const lldb_private::FileSpec *file,
   66                  lldb::offset_t data_offset, const lldb_private::FileSpec *file,
   73   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
   81                        const lldb_private::FileSpec &outfile,
tools/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp
   24                   const lldb_private::FileSpec &outfile,
tools/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h
   17                   const lldb_private::FileSpec &outfile,
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
   54   FileSpec python_os_plugin_spec(process->GetPythonOSPluginPath());
   76                                              const FileSpec &python_module_path)
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
   26                         const lldb_private::FileSpec &python_module_path);
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
  434 Status AdbClient::SyncService::internalPullFile(const FileSpec &remote_file,
  435                                                 const FileSpec &local_file) {
  467 Status AdbClient::SyncService::internalPushFile(const FileSpec &local_file,
  468                                                 const FileSpec &remote_file) {
  516 Status AdbClient::SyncService::internalStat(const FileSpec &remote_file,
  550 Status AdbClient::SyncService::PullFile(const FileSpec &remote_file,
  551                                         const FileSpec &local_file) {
  557 Status AdbClient::SyncService::PushFile(const FileSpec &local_file,
  558                                         const FileSpec &remote_file) {
  564 Status AdbClient::SyncService::Stat(const FileSpec &remote_file, uint32_t &mode,
tools/lldb/source/Plugins/Platform/Android/AdbClient.h
   41     Status PullFile(const FileSpec &remote_file, const FileSpec &local_file);
   41     Status PullFile(const FileSpec &remote_file, const FileSpec &local_file);
   43     Status PushFile(const FileSpec &local_file, const FileSpec &remote_file);
   43     Status PushFile(const FileSpec &local_file, const FileSpec &remote_file);
   45     Status Stat(const FileSpec &remote_file, uint32_t &mode, uint32_t &size,
   62     Status internalPullFile(const FileSpec &remote_file,
   63                             const FileSpec &local_file);
   65     Status internalPushFile(const FileSpec &local_file,
   66                             const FileSpec &remote_file);
   68     Status internalStat(const FileSpec &remote_file, uint32_t &mode,
  100                      const FileSpec &output_file_spec);
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
  187 Status PlatformAndroid::GetFile(const FileSpec &source,
  188                                 const FileSpec &destination) {
  192   FileSpec source_spec(source.GetPath(false), FileSpec::Style::posix);
  192   FileSpec source_spec(source.GetPath(false), FileSpec::Style::posix);
  229 Status PlatformAndroid::PutFile(const FileSpec &source,
  230                                 const FileSpec &destination, uint32_t uid,
  235   FileSpec destination_spec(destination.GetPath(false), FileSpec::Style::posix);
  235   FileSpec destination_spec(destination.GetPath(false), FileSpec::Style::posix);
  250 Status PlatformAndroid::DownloadModuleSlice(const FileSpec &src_file_spec,
  253                                             const FileSpec &dst_file_spec) {
  298                                            const FileSpec &dst_file_spec) {
  339   FileSpec symfile_platform_filespec(tmpdir);
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.h
   47   Status GetFile(const FileSpec &source, const FileSpec &destination) override;
   47   Status GetFile(const FileSpec &source, const FileSpec &destination) override;
   49   Status PutFile(const FileSpec &source, const FileSpec &destination,
   49   Status PutFile(const FileSpec &source, const FileSpec &destination,
   63   Status DownloadModuleSlice(const FileSpec &src_file_spec,
   65                              const FileSpec &dst_file_spec) override;
   68                             const FileSpec &dst_file_spec) override;
tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
  230   const FileSpec &shell = launch_info.GetShell();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
   72     FileSpec module_spec = module.GetFileSpec();
   78           FileSpec symfile_spec(objfile->GetFileSpec());
  125               FileSpec script_fspec(path_string.GetString());
  127               FileSpec orig_script_fspec(original_path_string.GetString());
  186                                          FileSpec &sym_file) {
  196 MakeCacheFolderForFile(const FileSpec &module_cache_spec) {
  197   FileSpec module_cache_folder =
  205                   const FileSpec &module_cache_spec) {
  242       FileSpec module_cache_spec(cache_path);
  355     const FileSpec &platform_file = module_spec.GetFileSpec();
  359       FileSpec bundle_directory;
  388               FileSpec new_file_spec(new_path);
 1098 static FileSpec GetXcodeSelectPath() {
 1099   static FileSpec g_xcode_select_filespec;
 1102     FileSpec xcode_select_cmd("/usr/bin/xcode-select");
 1135     FileSpec temp_file_spec = HostInfo::GetShlibDir();
 1167       temp_file_spec.SetFile(xcode_dir_path, FileSpec::Style::native);
 1183       FileSpec devel_dir = GetXcodeSelectPath();
 1191       temp_file_spec.SetFile(developer_dir_path, FileSpec::Style::native);
 1239   const FileSpec &shell = launch_info.GetShell();
 1274 static FileSpec CheckPathForXcode(const FileSpec &fspec) {
 1274 static FileSpec CheckPathForXcode(const FileSpec &fspec) {
 1282       FileSpec ret(path_to_shlib);
 1284       FileSpec xcode_binary_path = ret;
 1296 static FileSpec GetXcodeContentsPath() {
 1297   static FileSpec g_xcode_filespec;
 1301     FileSpec fspec;
 1323         FileSpec developer_dir_spec = FileSpec(developer_dir_env_var);
 1330         FileSpec xcode_select_path(GetXcodeSelectPath());
 1340 static FileSpec GetCommandLineToolsLibraryPath() {
 1341   static FileSpec g_command_line_tools_filespec;
 1344     FileSpec command_line_tools_path(GetXcodeSelectPath());
 1368                                         const FileSpec &sdk_path) {
 1393   FileSpec spec(path);
 1402 FileSpec PlatformDarwin::FindSDKInXcodeForModules(SDKType sdk_type,
 1403                                                   const FileSpec &sdks_spec) {
 1428 FileSpec PlatformDarwin::GetSDKDirectoryForModules(SDKType sdk_type) {
 1436   FileSpec sdks_spec = GetXcodeContentsPath();
 1470         FileSpec native_sdk_spec = sdks_spec;
 1568   FileSpec sysroot_spec;
 1621 lldb_private::FileSpec PlatformDarwin::LocateExecutable(const char *basename) {
 1625   static std::vector<FileSpec> g_executable_dirs;
 1633     FileSpec xcode_contents_dir = GetXcodeContentsPath();
 1635       FileSpec xcode_lldb_resources = xcode_contents_dir;
 1640         FileSpec dir;
 1646     FileSpec command_line_tools_dir = GetCommandLineToolsLibraryPath();
 1648       FileSpec cmd_line_lldb_resources = command_line_tools_dir;
 1653         FileSpec dir;
 1663   for (const auto &executable_dir : g_executable_dirs) {
 1664     FileSpec executable_file;
 1701   const FileSpec &platform_file = module_spec.GetFileSpec();
 1713     FileSpec platform_pull_upart(platform_file);
 1737         FileSpec path_to_try(module_search_paths_ptr->GetFileSpecAtIndex(i));
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
   32                     lldb_private::FileSpec &sym_file) override;
   74   lldb_private::FileSpec LocateExecutable(const char *basename) override;
  101                                  const lldb_private::FileSpec &sdk_path);
  104     lldb_private::FileSpec found_path;
  112   static lldb_private::FileSpec
  114                            const lldb_private::FileSpec &sdks_spec);
  116   static lldb_private::FileSpec
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
  163       FileSpec fspec;
  211           fspec.SetFile(sdk_path.GetString(), FileSpec::Style::native);
  217           fspec.SetFile(default_xcode_sdk, FileSpec::Style::native);
  227 Status PlatformMacOSX::GetSymbolFile(const FileSpec &platform_file,
  229                                      FileSpec &local_file) {
  242 PlatformMacOSX::GetFileWithUUID(const lldb_private::FileSpec &platform_file,
  244                                 lldb_private::FileSpec &local_file) {
  261       FileSpec module_cache_spec(cache_path);
  267       FileSpec module_cache_folder =
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h
   51   GetSymbolFile(const lldb_private::FileSpec &platform_file,
   53                 lldb_private::FileSpec &local_file);
   56   GetFile(const lldb_private::FileSpec &source,
   57           const lldb_private::FileSpec &destination) override {
   62   GetFileWithUUID(const lldb_private::FileSpec &platform_file,
   64                   lldb_private::FileSpec &local_file) override;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
   29     const lldb_private::FileSpec &sdk_dir)
  148       FileSpec sdk_sysroot_fspec(m_sdk_sysroot.GetCString());
  183       FileSpec sdk_symbols_symlink_fspec;
  207         FileSpec local_sdk_cache(local_sdk_cache_str.c_str());
  247         FileSpec sdk_symbols_symlink_fspec;
  399     lldb_private::FileSpec local_file;
  414                                      lldb_private::FileSpec &local_file) {
  428         local_file.SetFile(sdkroot_path, FileSpec::Style::native);
  445 Status PlatformRemoteDarwinDevice::GetSymbolFile(const FileSpec &platform_file,
  447                                                  FileSpec &local_file) {
  459       local_file.SetFile(resolved_path, FileSpec::Style::native);
  472       local_file.SetFile(resolved_path, FileSpec::Style::native);
  486       local_file.SetFile(resolved_path, FileSpec::Style::native);
  517   const FileSpec &platform_file = module_spec.GetFileSpec();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
   33   GetSymbolFile(const lldb_private::FileSpec &platform_file,
   35                 lldb_private::FileSpec &local_file);
   53     SDKDirectoryInfo(const lldb_private::FileSpec &sdk_dir_spec);
   54     lldb_private::FileSpec directory;
   89                     lldb_private::FileSpec &local_file);
   91   uint32_t FindFileInAllSDKs(const lldb_private::FileSpec &platform_file,
tools/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
  199   const FileSpec &shell = launch_info.GetShell();
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
   83                                                  FileSpec::Style::native);
  232 PlatformPOSIX::PutFile(const lldb_private::FileSpec &source,
  233                        const lldb_private::FileSpec &destination, uint32_t uid,
  238     if (FileSpec::Equal(source, destination, true))
  297     const lldb_private::FileSpec &source,      // remote file path
  298     const lldb_private::FileSpec &destination) // local file path
  310     if (FileSpec::Equal(source, destination, true))
  746                                     const lldb_private::FileSpec &remote_file,
  749                                     lldb_private::FileSpec *loaded_image) {
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
   29   lldb_private::Status PutFile(const lldb_private::FileSpec &source,
   30                                const lldb_private::FileSpec &destination,
   35   GetFile(const lldb_private::FileSpec &source,
   36           const lldb_private::FileSpec &destination) override;
   70                        const lldb_private::FileSpec &remote_file,
   73                        lldb_private::FileSpec *loaded_image) override;
tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
  174                                                  FileSpec::Style::native);
  372     FileSpec emptyFileSpec;
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  164 bool PlatformRemoteGDBServer::GetModuleSpec(const FileSpec &module_file_spec,
  192 Status PlatformRemoteGDBServer::GetFileWithUUID(const FileSpec &platform_file,
  194                                                 FileSpec &local_file) {
  251 FileSpec PlatformRemoteGDBServer::GetRemoteWorkingDirectory() {
  254     FileSpec working_dir;
  266     const FileSpec &working_dir) {
  397   FileSpec working_dir = launch_info.GetWorkingDirectory();
  596 Status PlatformRemoteGDBServer::MakeDirectory(const FileSpec &file_spec,
  607 Status PlatformRemoteGDBServer::GetFilePermissions(const FileSpec &file_spec,
  619 Status PlatformRemoteGDBServer::SetFilePermissions(const FileSpec &file_spec,
  631 lldb::user_id_t PlatformRemoteGDBServer::OpenFile(const FileSpec &file_spec,
  643 PlatformRemoteGDBServer::GetFileSize(const FileSpec &file_spec) {
  659 Status PlatformRemoteGDBServer::PutFile(const FileSpec &source,
  660                                         const FileSpec &destination,
  666     const FileSpec &src, // The name of the link is in src
  667     const FileSpec &dst) // The symlink points to dst
  679 Status PlatformRemoteGDBServer::Unlink(const FileSpec &file_spec) {
  687 bool PlatformRemoteGDBServer::GetFileExists(const FileSpec &file_spec) {
  693     const FileSpec &
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
   48   bool GetModuleSpec(const FileSpec &module_file_spec, const ArchSpec &arch,
   53   Status GetFileWithUUID(const FileSpec &platform_file, const UUID *uuid_ptr,
   54                          FileSpec &local_file) override;
   91   FileSpec GetRemoteWorkingDirectory() override;
   93   bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override;
  107   Status MakeDirectory(const FileSpec &file_spec,
  110   Status GetFilePermissions(const FileSpec &file_spec,
  113   Status SetFilePermissions(const FileSpec &file_spec,
  116   lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
  127   lldb::user_id_t GetFileSize(const FileSpec &file_spec) override;
  129   Status PutFile(const FileSpec &source, const FileSpec &destination,
  129   Status PutFile(const FileSpec &source, const FileSpec &destination,
  132   Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
  132   Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
  134   bool GetFileExists(const FileSpec &file_spec) override;
  136   Status Unlink(const FileSpec &path) override;
  140       const FileSpec &working_dir, // Pass empty FileSpec to use the current
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
 1309                            FileSpec file_spec(Info.GetName().GetCString());
 1614                                                    FileSpec &file_spec) {
 1619   FileSpec module_file_spec(module_path);
 1640   FileSpec file(file_name);
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
   91                                  FileSpec &file_spec) override;
  135   std::vector<std::pair<MemoryRegionInfo, FileSpec>> m_mem_region_cache;
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
   53                                                const FileSpec *crash_file) {
   97                                const FileSpec &core_file)
  242           m_nt_file_entries[0].path.GetCString(), FileSpec::Style::native);
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
   36                  const lldb_private::FileSpec *crash_file_path);
   48                  const lldb_private::FileSpec &core_file);
  126   lldb_private::FileSpec m_core_file;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  934   static FileSpec g_debugserver_file_spec;
  937   FileSpec &debugserver_file_spec = launch_info.GetExecutableFile();
  946                                   FileSpec::Style::native);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  773   FileSpec exe_file = launch_info.GetExecutableFile();
 1750 int GDBRemoteCommunicationClient::SetSTDIN(const FileSpec &file_spec) {
 1770 int GDBRemoteCommunicationClient::SetSTDOUT(const FileSpec &file_spec) {
 1790 int GDBRemoteCommunicationClient::SetSTDERR(const FileSpec &file_spec) {
 1810 bool GDBRemoteCommunicationClient::GetWorkingDir(FileSpec &working_dir) {
 1826 int GDBRemoteCommunicationClient::SetWorkingDir(const FileSpec &working_dir) {
 1930         process_info.GetExecutableFile().SetFile(name, FileSpec::Style::native);
 2805     const FileSpec &
 2856 Status GDBRemoteCommunicationClient::MakeDirectory(const FileSpec &file_spec,
 2878 GDBRemoteCommunicationClient::SetFilePermissions(const FileSpec &file_spec,
 2918 GDBRemoteCommunicationClient::OpenFile(const lldb_private::FileSpec &file_spec,
 2953     const lldb_private::FileSpec &file_spec) {
 2970 GDBRemoteCommunicationClient::GetFilePermissions(const FileSpec &file_spec,
 3070 Status GDBRemoteCommunicationClient::CreateSymlink(const FileSpec &src,
 3071                                                    const FileSpec &dst) {
 3104 Status GDBRemoteCommunicationClient::Unlink(const FileSpec &file_spec) {
 3137     const lldb_private::FileSpec &file_spec) {
 3156     const lldb_private::FileSpec &file_spec, uint64_t &high, uint64_t &low) {
 3531     const FileSpec &module_file_spec, const lldb_private::ArchSpec &arch_spec,
 3632     llvm::ArrayRef<FileSpec> module_file_specs, const llvm::Triple &triple) {
 3639   for (const FileSpec &module_file_spec : module_file_specs) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
  163   int SetSTDIN(const FileSpec &file_spec);
  164   int SetSTDOUT(const FileSpec &file_spec);
  165   int SetSTDERR(const FileSpec &file_spec);
  198   int SetWorkingDir(const FileSpec &working_dir);
  208   bool GetWorkingDir(FileSpec &working_dir);
  354   lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
  359   lldb::user_id_t GetFileSize(const FileSpec &file_spec);
  361   Status GetFilePermissions(const FileSpec &file_spec,
  364   Status SetFilePermissions(const FileSpec &file_spec,
  373   Status CreateSymlink(const FileSpec &src, const FileSpec &dst);
  373   Status CreateSymlink(const FileSpec &src, const FileSpec &dst);
  375   Status Unlink(const FileSpec &file_spec);
  377   Status MakeDirectory(const FileSpec &file_spec, uint32_t mode);
  379   bool GetFileExists(const FileSpec &file_spec);
  383       const FileSpec &working_dir, // Pass empty FileSpec to use the current
  392   bool CalculateMD5(const FileSpec &file_spec, uint64_t &high, uint64_t &low);
  428   bool GetModuleInfo(const FileSpec &module_file_spec,
  432   GetModulesInfo(llvm::ArrayRef<FileSpec> module_file_specs,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
  180 GDBRemoteCommunicationReplayServer::LoadReplayHistory(const FileSpec &path) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
   49   llvm::Error LoadReplayHistory(const FileSpec &path);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  351             file, FileSpec::Style::native);
  518         FileSpec path_spec(path);
  664     FileSpec file_spec(path);
  706   FileSpec src_spec(src);
  742       FileSpec working_spec(working_dir);
 1039                       arg, FileSpec::Style::native);
 1280 FileSpec GDBRemoteCommunicationServerCommon::FindModuleFile(
 1285   FileSpec file_spec(module_path);
 1296   FileSpec req_module_path_spec(module_path);
 1299   const FileSpec module_path_spec =
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
  145   virtual FileSpec FindModuleFile(const std::string &module_path,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
 1344   FileSpec working_dir{m_process_launch_info.GetWorkingDirectory()};
 3292 FileSpec
 3296     FileSpec file_spec;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
  193   FileSpec FindModuleFile(const std::string &module_path,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  510 const FileSpec &GDBRemoteCommunicationServerPlatform::GetDomainSocketDir() {
  511   static FileSpec g_domainsocket_dir;
  526 FileSpec
  532   FileSpec socket_path_spec(GetDomainSocketDir());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h
   99   static const FileSpec &GetDomainSocketDir();
  101   static FileSpec GetDomainSocketPath(const char *prefix);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  146   FileSpec GetTargetDefinitionFile() const {
  213                                  const FileSpec *crash_file_path) {
  338     const FileSpec &target_definition_fspec) {
  451   FileSpec target_definition_fspec =
  775   FileSpec stdin_file_spec{};
  776   FileSpec stdout_file_spec{};
  777   FileSpec stderr_file_spec{};
  778   FileSpec working_dir = launch_info.GetWorkingDirectory();
  839                                   FileSpec::Style::native);
  842                                    FileSpec::Style::native);
  845                                    FileSpec::Style::native);
  853           FileSpec slave_name{pty.GetSlaveName(nullptr, 0)};
 3388   FileSpec history_file =
 3460     static FileSpec g_debugserver_file_spec;
 4237 bool ProcessGDBRemote::GetModuleSpec(const FileSpec &module_file_spec,
 4270     llvm::ArrayRef<FileSpec> module_file_specs, const llvm::Triple &triple) {
 4273     for (const FileSpec &spec : module_file_specs)
 4803 lldb::ModuleSP ProcessGDBRemote::LoadModuleAtAddress(const FileSpec &file,
 4842     FileSpec file(mod_name);
 4896 Status ProcessGDBRemote::GetFileLoadAddress(const FileSpec &file,
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
   58                                         const FileSpec *crash_file_path);
  195   bool GetModuleSpec(const FileSpec &module_file_spec, const ArchSpec &arch,
  198   void PrefetchModuleSpecs(llvm::ArrayRef<FileSpec> module_file_specs,
  208   Status GetFileLoadAddress(const FileSpec &file, bool &is_loaded,
  326   bool ParsePythonTargetDefinition(const FileSpec &target_definition_fspec);
  395   lldb::ModuleSP LoadModuleAtAddress(const FileSpec &file,
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
   63                                                 const FileSpec *crash_file) {
  111                                  const FileSpec &core_file)
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.h
   25                   const lldb_private::FileSpec &core_file);
   31                  const lldb_private::FileSpec *crash_file_path);
  119   lldb_private::FileSpec m_core_file;
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  135                                                 const FileSpec *crash_file) {
  167                                  const FileSpec &core_file,
  426     auto file_spec = FileSpec(name, GetArchitecture().GetTriple());
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.h
   33                                         const FileSpec *crash_file_path);
   44                   const FileSpec &core_file, lldb::DataBufferSP code_data);
  108   FileSpec m_core_file;
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  332 FileSpec ScriptInterpreterPython::GetPythonDir() {
  333   static FileSpec g_spec = []() {
  334     FileSpec spec = HostInfo::GetShlibDir();
 2019 ScriptInterpreterPythonImpl::LoadPluginModule(const FileSpec &file_spec,
 2703     FileSpec target_file(pathname);
 3205   if (FileSpec file_spec = GetPythonDir())
 3207   if (FileSpec file_spec = HostInfo::GetShlibDir())
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
   55   static FileSpec GetPythonDir();
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
  136   LoadPluginModule(const FileSpec &file_spec,
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
 1623   auto module_file_spec =
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  145   FileSpecList translate(const FileSpec &cu_spec,
  146                          llvm::ArrayRef<FileSpec> all_files);
  153 FileSpecList SupportFileMap::translate(const FileSpec &cu_spec,
  154                                        llvm::ArrayRef<FileSpec> all_files) {
  155   std::vector<FileSpec> result;
  200   FileSpec spec;
  277     const FileSpec &file_spec, uint32_t line, bool check_inlines,
  654     FileSpec::Style style = FileSpec::GuessPathStyle(record->Name)
  654     FileSpec::Style style = FileSpec::GuessPathStyle(record->Name)
  655                                 .getValueOr(FileSpec::Style::native);
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
   93   uint32_t ResolveSymbolContext(const FileSpec &file_spec, uint32_t line,
  215   llvm::Optional<std::vector<FileSpec>> m_files;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  623 FileSpec::Style DWARFUnit::GetPathStyle() {
  629 const FileSpec &DWARFUnit::GetCompilationDirectory() {
  635 const FileSpec &DWARFUnit::GetAbsolutePath() {
  641 FileSpec DWARFUnit::GetFile(size_t file_idx) {
  663 static FileSpec resolveCompDir(const FileSpec &path) {
  663 static FileSpec resolveCompDir(const FileSpec &path) {
  674   FileSpec resolved_symlink;
  691     FileSpec::Style comp_dir_style =
  692         FileSpec::GuessPathStyle(comp_dir).getValueOr(FileSpec::Style::native);
  692         FileSpec::GuessPathStyle(comp_dir).getValueOr(FileSpec::Style::native);
  700         "", FileSpec::GuessPathStyle(name).getValueOr(FileSpec::Style::native));
  700         "", FileSpec::GuessPathStyle(name).getValueOr(FileSpec::Style::native));
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
  200   const lldb_private::FileSpec &GetCompilationDirectory();
  201   const lldb_private::FileSpec &GetAbsolutePath();
  202   lldb_private::FileSpec GetFile(size_t file_idx);
  203   lldb_private::FileSpec::Style GetPathStyle();
  282   llvm::Optional<lldb_private::FileSpec> m_comp_dir;
  283   llvm::Optional<lldb_private::FileSpec> m_file_spec;
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  184     const llvm::DWARFDebugLine::Prologue &prologue, FileSpec::Style style,
  185     llvm::StringRef compile_dir = {}, FileSpec first_file = {}) {
  708           FileSpec cu_file_spec(cu_die.GetName(), dwarf_cu.GetPathStyle());
  718               cu_file_spec.SetFile(remapped_file, FileSpec::Style::native);
  868 FileSpec SymbolFileDWARF::GetFile(DWARFUnit &unit, size_t file_idx) {
 1564   FileSpec dwo_file(dwo_name);
 1572     dwo_file.SetFile(comp_dir, FileSpec::Style::native);
 1618                                                   FileSpec::Style::native);
 1624                                                       FileSpec::Style::native);
 1856 uint32_t SymbolFileDWARF::ResolveSymbolContext(const FileSpec &file_spec,
 1872           FileSpec::Equal(file_spec, *dc_cu, full_match);
 3847     FileSpec dwp_filespec =
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
  155   ResolveSymbolContext(const lldb_private::FileSpec &file_spec, uint32_t line,
  304   lldb_private::FileSpec GetFile(DWARFUnit &unit, size_t file_idx);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
  168                  const FileSpec &file_spec, const ArchSpec &arch,
  345               so_symbol->GetName().AsCString(), FileSpec::Style::native);
  414       FileSpec oso_file(oso_path);
  470                                                FileSpec &file_spec) {
  574       FileSpec so_file_spec;
  797     const FileSpec &file_spec, uint32_t line, bool check_inlines,
  809       FileSpec so_file_spec;
  814         resolve = FileSpec::Equal(file_spec, so_file_spec, full_match);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
   91   ResolveSymbolContext(const lldb_private::FileSpec &file_spec, uint32_t line,
  154     lldb_private::FileSpec so_file;
  187   bool GetFileSpecForSO(uint32_t oso_idx, lldb_private::FileSpec &file_spec);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.cpp
   43                            const lldb_private::FileSpec &file_spec) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.h
   24   Create(lldb::ModuleSP module_sp, const lldb_private::FileSpec &file_spec);
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  293       FileSpec symfile = module_sp->GetSymbolFileFileSpec();
  437   FileSpec fs(source_file_name);
 1018     const FileSpec &file_spec, uint32_t line, bool check_inlines,
 1151     FileSpec::Style style =
 1152         f.startswith("/") ? FileSpec::Style::posix : FileSpec::Style::windows;
 1152         f.startswith("/") ? FileSpec::Style::posix : FileSpec::Style::windows;
 1153     FileSpec spec(f, style);
 1159   FileSpec::Style style = main_source_file.startswith("/")
 1160                               ? FileSpec::Style::posix
 1161                               : FileSpec::Style::windows;
 1162   FileSpec spec(main_source_file, style);
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
  112   uint32_t ResolveSymbolContext(const FileSpec &file_spec, uint32_t line,
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  211   FileSpec spec(src_file_up->getFileName());
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  147       FileSpec symfile = module_sp->GetSymbolFileFileSpec();
  368     FileSpec spec(file->getFileName(), FileSpec::Style::windows);
  368     FileSpec spec(file->getFileName(), FileSpec::Style::windows);
  789     const lldb_private::FileSpec &file_spec, uint32_t line, bool check_inlines,
  815         FileSpec this_spec(source_file, FileSpec::Style::windows);
  815         FileSpec this_spec(source_file, FileSpec::Style::windows);
  817         if (FileSpec::Compare(file_spec, this_spec, need_full_match) != 0)
  977           FileSpec spec(src_file->getFileName());
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
   97   ResolveSymbolContext(const lldb_private::FileSpec &file_spec, uint32_t line,
tools/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
   80   FileSpec fspec = module_sp->GetSymbolFileFileSpec();
   96   FileSpec dsym_fspec =
tools/lldb/source/Symbol/CompileUnit.cpp
   33                          const FileSpec &fspec, const lldb::user_id_t cu_sym_id,
  195                                     const FileSpec *file_spec_ptr, bool exact,
  221 uint32_t CompileUnit::ResolveSymbolContext(const FileSpec &file_spec,
  232       FileSpec::Equal(file_spec, *this, full_match);
tools/lldb/source/Symbol/DebugMacros.cpp
   25 const FileSpec &DebugMacroEntry::GetFileSpec(CompileUnit *comp_unit) const {
tools/lldb/source/Symbol/Declaration.cpp
   70   int result = FileSpec::Compare(a.m_file, b.m_file, true);
   87   int file_compare = FileSpec::Compare(this->m_file, declaration.m_file, true);
   98     return FileSpec::Equal(lhs.GetFile(), rhs.GetFile(), true);
tools/lldb/source/Symbol/Function.cpp
  200 void Function::GetStartLineSourceInfo(FileSpec &source_file,
  228 void Function::GetEndLineSourceInfo(FileSpec &source_file, uint32_t &line_no) {
tools/lldb/source/Symbol/LineEntry.cpp
   23                      const FileSpec &_file, uint32_t _line, uint16_t _column,
  190   return FileSpec::Compare(a.file, b.file, true);
  257     FileSpec new_file_spec;
tools/lldb/source/Symbol/LineTable.cpp
  409   FileSpec prev_file;
tools/lldb/source/Symbol/LocateSymbolFile.cpp
   48 static bool FileAtPathContainsArchAndUUID(const FileSpec &file_fspec,
   77                                             const FileSpec &exec_fspec,
   78                                             FileSpec &dsym_fspec) {
   80   FileSpec dsym_directory = exec_fspec;
  122   FileSpec dsym_yaa_fspec = exec_fspec;
  153                                               FileSpec &dsym_fspec) {
  155   const FileSpec &exec_fspec = module_spec.GetFileSpec();
  165       FileSpec parent_dirs = exec_fspec;
  206 static FileSpec LocateExecutableSymbolFileDsym(const ModuleSpec &module_spec) {
  207   const FileSpec *exec_fspec = module_spec.GetFileSpecPtr();
  218   FileSpec symbol_fspec;
  233   const FileSpec *exec_fspec = module_spec.GetFileSpecPtr();
  256 FileSpec
  259   FileSpec symbol_file_spec = module_spec.GetSymbolFileSpec();
  267   FileSpec module_file_spec = module_spec.GetFileSpec();
  274     FileSpec file_spec(file_dir.AsCString("."));
  283       FileSpec file_spec(".");
  299       FileSpec file_spec("/usr/lib/debug");
  321     FileSpec dirspec = debug_file_search_paths.GetFileSpecAtIndex(idx);
  347       FileSpec file_spec(filename);
  379 FileSpec Symbols::FindSymbolFileInBundle(const FileSpec &symfile_bundle,
  379 FileSpec Symbols::FindSymbolFileInBundle(const FileSpec &symfile_bundle,
tools/lldb/source/Symbol/ObjectFile.cpp
   32 ObjectFile::FindPlugin(const lldb::ModuleSP &module_sp, const FileSpec *file,
   47       FileSpec archive_file;
  207 size_t ObjectFile::GetModuleSpecifications(const FileSpec &file,
  231     const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
  260                        const FileSpec *file_spec_ptr,
  574                                             FileSpec &archive_file,
  584   archive_file.SetFile(archive, FileSpec::Style::native);
  682 DataBufferSP ObjectFile::MapFileData(const FileSpec &file, uint64_t Size,
tools/lldb/source/Symbol/Symbol.cpp
  140 FileSpec Symbol::GetReExportedSymbolSharedLibrary() const {
  159 bool Symbol::SetReExportedSymbolSharedLibrary(const FileSpec &fspec) {
tools/lldb/source/Symbol/SymbolContext.cpp
  975     FileSpec module_file_spec(spec_string);
  989     m_file_spec_up.reset(new FileSpec(spec_string));
 1044         FileSpec module_file_spec(m_module_spec);
 1045         if (!FileSpec::Equal(module_file_spec, sc.module_sp->GetFileSpec(),
 1065           if (!FileSpec::Equal(inline_info->GetDeclaration().GetFile(),
 1074         if (!FileSpec::Equal(*(sc.comp_unit), *(m_file_spec_up.get()), false))
tools/lldb/source/Symbol/SymbolFile.cpp
   98 uint32_t SymbolFile::ResolveSymbolContext(const FileSpec &file_spec,
tools/lldb/source/Symbol/SymbolVendor.cpp
   44   FileSpec sym_spec = module_sp->GetSymbolFileFileSpec();
tools/lldb/source/Symbol/Symtab.cpp
   78   const FileSpec &file_spec = m_objfile->GetFileSpec();
tools/lldb/source/Target/InstrumentationRuntime.cpp
   53     const FileSpec &file_spec = module_sp->GetFileSpec();
tools/lldb/source/Target/LanguageRuntime.cpp
   37 bool ExceptionSearchFilter::ModulePasses(const FileSpec &spec) {
tools/lldb/source/Target/ModuleCache.cpp
   53   FileSpec m_file_spec;
   56   ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, Status &error);
   60 static FileSpec JoinPath(const FileSpec &path1, const char *path2) {
   60 static FileSpec JoinPath(const FileSpec &path1, const char *path2) {
   61   FileSpec result_spec(path1);
   66 static Status MakeDirectory(const FileSpec &dir_path) {
   72 FileSpec GetModuleDirectory(const FileSpec &root_dir_spec, const UUID &uuid) {
   72 FileSpec GetModuleDirectory(const FileSpec &root_dir_spec, const UUID &uuid) {
   73   const auto modules_dir_spec = JoinPath(root_dir_spec, kModulesSubdir);
   77 FileSpec GetSymbolFileSpec(const FileSpec &module_file_spec) {
   77 FileSpec GetSymbolFileSpec(const FileSpec &module_file_spec) {
   81 void DeleteExistingModule(const FileSpec &root_dir_spec,
   82                           const FileSpec &sysroot_module_path_spec) {
  109   const auto module_spec_dir = GetModuleDirectory(root_dir_spec, module_uuid);
  114 void DecrementRefExistingModule(const FileSpec &root_dir_spec,
  115                                 const FileSpec &sysroot_module_path_spec) {
  122   FileSpec symfile_spec = GetSymbolFileSpec(sysroot_module_path_spec);
  126 Status CreateHostSysRootModuleLink(const FileSpec &root_dir_spec,
  128                                    const FileSpec &platform_module_spec,
  129                                    const FileSpec &local_module_spec,
  131   const auto sysroot_module_path_spec =
  152 ModuleLock::ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid,
  154   const auto lock_dir_spec = JoinPath(root_dir_spec, kLockDirName);
  190 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname,
  191                         const ModuleSpec &module_spec, const FileSpec &tmp_file,
  192                         const FileSpec &target_file) {
  193   const auto module_spec_dir =
  195   const auto module_file_path =
  214 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname,
  226   const auto module_spec_dir =
  228   const auto module_file_path = JoinPath(
  258   FileSpec symfile_spec = GetSymbolFileSpec(cached_module_sp->GetFileSpec());
  268 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec,
  275   const auto module_spec_dir =
  294   const auto tmp_download_file_spec = JoinPath(module_spec_dir, kTempFileName);
  313   const auto tmp_download_sym_file_spec =
  332   FileSpec symfile_spec = GetSymbolFileSpec(cached_module_sp->GetFileSpec());
tools/lldb/source/Target/PathMappingList.cpp
  179     FileSpec remapped(it.second.GetStringRef());
  187 bool PathMappingList::ReverseRemapPath(const FileSpec &file, FileSpec &fixed) const {
  187 bool PathMappingList::ReverseRemapPath(const FileSpec &file, FileSpec &fixed) const {
  193     fixed.SetFile(it.first.GetStringRef(), FileSpec::Style::native);
  200 bool PathMappingList::FindFile(const FileSpec &orig_spec,
  201                                FileSpec &new_spec) const {
  227       FileSpec prefix_spec(prefix_ref, FileSpec::Style::native);
  227       FileSpec prefix_spec(prefix_ref, FileSpec::Style::native);
  234       new_spec.SetFile(entry.second.GetCString(), FileSpec::Style::native);
tools/lldb/source/Target/Platform.cpp
   85   auto module_cache_dir = GetModuleCacheDirectory();
  110 FileSpec PlatformProperties::GetModuleCacheDirectory() const {
  115 bool PlatformProperties::SetModuleCacheDirectory(const FileSpec &dir_spec) {
  167 Status Platform::GetFileWithUUID(const FileSpec &platform_file,
  168                                  const UUID *uuid_ptr, FileSpec &local_file) {
  256 bool Platform::GetModuleSpec(const FileSpec &module_file_spec,
  523 FileSpec Platform::GetWorkingDirectory() {
  529       FileSpec file_spec(cwd);
  541   const FileSpec &dst;
  550   FileSpec src(path);
  561     FileSpec dst_dir = rc_baton->dst;
  577     FileSpec recurse_dst;
  592     FileSpec dst_file = rc_baton->dst;
  596     FileSpec src_resolved;
  614     FileSpec dst_file = rc_baton->dst;
  634 Status Platform::Install(const FileSpec &src, const FileSpec &dst) {
  634 Status Platform::Install(const FileSpec &src, const FileSpec &dst) {
  640   FileSpec fixed_dst(dst);
  645   FileSpec working_dir = GetWorkingDirectory();
  657         FileSpec relative_spec;
  708         FileSpec recurse_dst;
  725       FileSpec src_resolved;
  745 bool Platform::SetWorkingDirectory(const FileSpec &file_spec) {
  760 Status Platform::MakeDirectory(const FileSpec &file_spec,
  773 Status Platform::GetFilePermissions(const FileSpec &file_spec,
  789 Status Platform::SetFilePermissions(const FileSpec &file_spec,
  818 bool Platform::SetRemoteWorkingDirectory(const FileSpec &working_dir) {
  882                                    FileSpec &sym_file) {
  891 bool Platform::ResolveRemotePath(const FileSpec &platform_path,
  892                                  FileSpec &resolved_platform_path) {
 1022         const FileSpec &shell = launch_info.GetShell();
 1218 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination,
 1218 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination,
 1278 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) {
 1278 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) {
 1284 Platform::CreateSymlink(const FileSpec &src, // The name of the link is in src
 1285                         const FileSpec &dst) // The symlink points to dst
 1291 bool Platform::GetFileExists(const lldb_private::FileSpec &file_spec) {
 1295 Status Platform::Unlink(const FileSpec &path) {
 1316     const FileSpec &
 1331 bool Platform::CalculateMD5(const FileSpec &file_spec, uint64_t &low,
 1503   const auto platform_spec = module_spec.GetFileSpec();
 1624 Status Platform::DownloadModuleSlice(const FileSpec &src_file_spec,
 1627                                      const FileSpec &dst_file_spec) {
 1673                                     const FileSpec &dst_file_spec) {
 1678 FileSpec Platform::GetModuleCacheRoot() {
 1679   auto dir_spec = GetGlobalPlatformProperties()->GetModuleCacheDirectory();
 1698                              const lldb_private::FileSpec &local_file,
 1699                              const lldb_private::FileSpec &remote_file,
 1715     FileSpec target_file = GetWorkingDirectory();
 1735                                const lldb_private::FileSpec &remote_file,
 1738                                lldb_private::FileSpec *loaded_image) {
 1744                                const lldb_private::FileSpec &remote_filename,
 1747                                lldb_private::FileSpec *loaded_path)
 1749   FileSpec file_to_use;
tools/lldb/source/Target/Process.cpp
  177 FileSpec ProcessProperties::GetPythonOSPluginPath() const {
  182 void ProcessProperties::SetPythonOSPluginPath(const FileSpec &file) {
  292     const FileSpec dev_null(FileSystem::DEV_NULL);
  422                               const FileSpec *crash_file_path) {
 2393 ModuleSP Process::ReadModuleFromMemory(const FileSpec &file_spec,
 5747 bool Process::GetModuleSpec(const FileSpec &module_file_spec,
tools/lldb/source/Target/RemoteAwarePlatform.cpp
   17 bool RemoteAwarePlatform::GetModuleSpec(const FileSpec &module_file_spec,
   28     const char *command, const FileSpec &working_dir, int *status_ptr,
   40 Status RemoteAwarePlatform::MakeDirectory(const FileSpec &file_spec,
   47 Status RemoteAwarePlatform::GetFilePermissions(const FileSpec &file_spec,
   55 Status RemoteAwarePlatform::SetFilePermissions(const FileSpec &file_spec,
   63 lldb::user_id_t RemoteAwarePlatform::OpenFile(const FileSpec &file_spec,
  101 lldb::user_id_t RemoteAwarePlatform::GetFileSize(const FileSpec &file_spec) {
  113 Status RemoteAwarePlatform::CreateSymlink(const FileSpec &src,
  114                                           const FileSpec &dst) {
  122 bool RemoteAwarePlatform::GetFileExists(const FileSpec &file_spec) {
  130 Status RemoteAwarePlatform::Unlink(const FileSpec &file_spec) {
  138 bool RemoteAwarePlatform::CalculateMD5(const FileSpec &file_spec, uint64_t &low,
  147 FileSpec RemoteAwarePlatform::GetRemoteWorkingDirectory() {
  154     const FileSpec &working_dir) {
  160 Status RemoteAwarePlatform::GetFileWithUUID(const FileSpec &platform_file,
  162                                             FileSpec &local_file) {
tools/lldb/source/Target/SectionLoadList.cpp
  145         const FileSpec &module_file_spec(
  180       const FileSpec &module_file_spec(section_sp->GetModule()->GetFileSpec());
tools/lldb/source/Target/Target.cpp
  195                                              const FileSpec *crash_file) {
  322                                       const FileSpec &file, uint32_t line_no,
  328   FileSpec remapped_file;
  403                                         const FileSpec *file_spec,
  493 Target::GetSearchFilterForModule(const FileSpec *containingModule) {
  965 Status Target::SerializeBreakpointsToFile(const FileSpec &file,
 1057 Status Target::CreateBreakpointsFromFile(const FileSpec &file,
 1063 Status Target::CreateBreakpointsFromFile(const FileSpec &file,
 1428         FileSpec dependent_file_spec(
 1430         FileSpec platform_dependent_file_spec;
 1647     const FileSpec &module_file_spec) {
 2711             FileSpec local_file(module_sp->GetFileSpec());
 2713               FileSpec remote_file(module_sp->GetRemoteInstallFileSpec());
 3113       FileSpec in_file_spec;
 3114       FileSpec out_file_spec;
 3115       FileSpec err_file_spec;
 3716 void TargetProperties::AppendExecutableSearchPaths(const FileSpec &dir) {
 3812 FileSpec TargetProperties::GetStandardInputPath() const {
 3822 FileSpec TargetProperties::GetStandardOutputPath() const {
 3832 FileSpec TargetProperties::GetStandardErrorPath() const {
tools/lldb/source/Target/TargetList.cpp
  116     module_spec.GetFileSpec().SetFile(user_exe_path, FileSpec::Style::native);
  342   FileSpec file(user_exe_path);
  366         FileSpec cwd_file(cwd.c_str());
  423       FileSpec file_dir;
  457     const FileSpec &exe_file_spec, const ArchSpec *exe_arch_ptr) const {
  467       if (FileSpec::Equal(exe_file_spec, exe_module->GetFileSpec(),
tools/lldb/source/Target/Thread.cpp
 1728 Status Thread::JumpToLine(const FileSpec &file, uint32_t line,
tools/lldb/source/Target/ThreadPlanStepInRange.cpp
  337     FileSpec frame_library(sc.module_sp->GetFileSpec());
  341         const FileSpec &file_spec(libraries_to_avoid.GetFileSpecAtIndex(i));
  342         if (FileSpec::Equal(file_spec, frame_library, false)) {
tools/lldb/source/Utility/Args.cpp
  377 const char *Args::GetShellSafeArgument(const FileSpec &shell,
tools/lldb/source/Utility/FileSpec.cpp
   37 static constexpr FileSpec::Style GetNativeStyle() {
   41   return FileSpec::Style::posix;
   45 bool PathStyleIsPosix(FileSpec::Style style) {
   46   return (style == FileSpec::Style::posix ||
   47           (style == FileSpec::Style::native &&
   48            GetNativeStyle() == FileSpec::Style::posix));
   51 const char *GetPathSeparators(FileSpec::Style style) {
   55 char GetPreferredPathSeparator(FileSpec::Style style) {
   59 void Denormalize(llvm::SmallVectorImpl<char> &path, FileSpec::Style style) {
   79 FileSpec::FileSpec(const FileSpec *rhs) : m_directory(), m_filename() {
  178 const FileSpec &FileSpec::operator=(const FileSpec &rhs) {
  178 const FileSpec &FileSpec::operator=(const FileSpec &rhs) {
  249 bool FileSpec::DirectoryEquals(const FileSpec &rhs) const {
  254 bool FileSpec::FileEquals(const FileSpec &rhs) const {
  260 bool FileSpec::operator==(const FileSpec &rhs) const {
  265 bool FileSpec::operator!=(const FileSpec &rhs) const { return !(*this == rhs); }
  268 bool FileSpec::operator<(const FileSpec &rhs) const {
  269   return FileSpec::Compare(*this, rhs, true) < 0;
  273 Stream &lldb_private::operator<<(Stream &s, const FileSpec &f) {
  293 int FileSpec::Compare(const FileSpec &a, const FileSpec &b, bool full) {
  293 int FileSpec::Compare(const FileSpec &a, const FileSpec &b, bool full) {
  314 bool FileSpec::Equal(const FileSpec &a, const FileSpec &b, bool full) {
  314 bool FileSpec::Equal(const FileSpec &a, const FileSpec &b, bool full) {
  331 llvm::Optional<FileSpec::Style> FileSpec::GuessPathStyle(llvm::StringRef absolute_path) {
  355 FileSpec::Style FileSpec::GetPathStyle() const { return m_style; }
  422 FileSpec
  424   FileSpec ret = *this;
  429 FileSpec FileSpec::CopyByRemovingLastPathComponent() const {
  454 void FileSpec::PrependPathComponent(const FileSpec &new_path) {
  465 void FileSpec::AppendPathComponent(const FileSpec &new_path) {
  517 void FileSpec::MakeAbsolute(const FileSpec &dir) {
  522 void llvm::format_provider<FileSpec>::format(const FileSpec &F,
tools/lldb/source/Utility/ProcessInfo.cpp
   61 void ProcessInfo::SetExecutableFile(const FileSpec &exe_file,
   91       m_executable.SetFile(first_arg, FileSpec::Style::native);
  107       m_executable.SetFile(first_arg, FileSpec::Style::native);
tools/lldb/source/Utility/Reproducer.cpp
   24                                    llvm::Optional<FileSpec> root) {
   94 llvm::Error Reproducer::SetCapture(llvm::Optional<FileSpec> root) {
  111 llvm::Error Reproducer::SetReplay(llvm::Optional<FileSpec> root) {
  131 FileSpec Reproducer::GetReproducerPath() const {
  139 static FileSpec MakeAbsolute(FileSpec file_spec) {
  139 static FileSpec MakeAbsolute(FileSpec file_spec) {
  146 Generator::Generator(FileSpec root)
  181 const FileSpec &Generator::GetRoot() const { return m_root; }
  184   FileSpec index = m_root;
  201 Loader::Loader(FileSpec root)
  208   FileSpec index = m_root.CopyByAppendingPathComponent("index.yaml");
  235 DataRecorder::Create(const FileSpec &filename) {
  266   FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file);
  278   FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file);
  287   FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file);
  296   FileSpec history_file = GetRoot().CopyByAppendingPathComponent(Info::file);
  308   FileSpec file = loader->GetFile<repro::CommandProvider::Info>();
  324     FileSpec absolute_path =
tools/lldb/source/Utility/ReproducerInstrumentation.cpp
   37 bool Registry::Replay(const FileSpec &file) {
tools/lldb/source/Utility/StructuredData.cpp
   38 StructuredData::ParseJSONFromFile(const FileSpec &input_spec, Status &error) {
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp
  186   FileSpec cwd_spec(cwd);
tools/lldb/tools/lldb-server/lldb-platform.cpp
   98                                      const FileSpec &file_spec) {
   99   FileSpec temp_file_spec(file_spec.GetDirectory().AsCString());
  163   FileSpec socket_file;
  199         socket_file.SetFile(optarg, FileSpec::Style::native);
tools/lldb/tools/lldb-test/lldb-test.cpp
  412     FileSpec src_file(File);
  466   FileSpec src_file(File);
  806   Spec.GetSymbolFileSpec().SetFile(Symbols, FileSpec::Style::native);
tools/lldb/unittests/Expression/ClangParserTest.cpp
   36   FileSpec clang_dir;
   37   FileSpec lldb_shlib_spec(lldb_shlib_path);
tools/lldb/unittests/Expression/CppModuleConfigurationTest.cpp
   46     result.Append(FileSpec(path, FileSpec::Style::posix));
tools/lldb/unittests/Host/FileSystemTest.cpp
  165   FileSpec fs1("/file/that/does/not/exist.txt");
  167   FileSpec fs2(TestMainArgv0);
  231     FileSpec file_spec("foo");
  249     FileSpec file_spec("foo");
  262     FileSpec file_spec("bogus");
  296   FileSpec spec("/file/that/does/not/exist.txt");
tools/lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
  109                                    FileSpec::Style::native);
  230                                    FileSpec::Style::native);
  295                                    FileSpec::Style::native);
tools/lldb/unittests/Platform/PlatformDarwinTest.cpp
   22                                  const lldb_private::FileSpec &sdk_path) {
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
  171   FileSpec file_specs[] = {
  172       FileSpec("/foo/bar.so", FileSpec::Style::posix),
  173       FileSpec("/foo/baz.so", FileSpec::Style::posix),
  179       FileSpec("/foo/baw.so", FileSpec::Style::windows),
  206   FileSpec file_spec("/foo/bar.so", FileSpec::Style::posix);
  206   FileSpec file_spec("/foo/bar.so", FileSpec::Style::posix);
  230   FileSpec file_spec("/foo/bar.so", FileSpec::Style::posix);
  230   FileSpec file_spec("/foo/bar.so", FileSpec::Style::posix);
tools/lldb/unittests/Symbol/LocateSymbolFileTest.cpp
   38   FileSpec symbol_file_spec =
   48       "4A524676-B24B-4F4E-968A-551D465EBAF1.so", FileSpec::Style::native);
   50   FileSpec symbol_file_spec =
tools/lldb/unittests/Symbol/TestLineEntry.cpp
   68   FileSpec file_spec("inlined-functions.cpp");
tools/lldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp
   73   FileSpec fspec(m_dwarf_test_exe);
tools/lldb/unittests/Target/ModuleCacheTest.cpp
   29   static FileSpec s_cache_dir;
   32   void TryGetAndPut(const FileSpec &cache_dir, const char *hostname,
   37 FileSpec ModuleCacheTest::s_cache_dir;
   48 static FileSpec GetDummyRemotePath() {
   49   FileSpec fs("/", FileSpec::Style::posix);
   49   FileSpec fs("/", FileSpec::Style::posix);
   55 static FileSpec GetUuidView(FileSpec spec) {
   55 static FileSpec GetUuidView(FileSpec spec) {
   62 static FileSpec GetSysrootView(FileSpec spec, const char *hostname) {
   62 static FileSpec GetSysrootView(FileSpec spec, const char *hostname) {
   86 static void VerifyDiskState(const FileSpec &cache_dir, const char *hostname) {
   87   FileSpec uuid_view = GetUuidView(cache_dir);
   92   FileSpec sysroot_view = GetSysrootView(cache_dir, hostname);
   98 void ModuleCacheTest::TryGetAndPut(const FileSpec &cache_dir,
  141   FileSpec test_cache_dir = s_cache_dir;
  150   FileSpec test_cache_dir = s_cache_dir;
  153   FileSpec uuid_view = GetUuidView(test_cache_dir);
  166   FileSpec test_cache_dir = s_cache_dir;
tools/lldb/unittests/Target/PathMappingListTest.cpp
   19   FileSpec original;
   20   FileSpec remapped;
   40     FileSpec unmapped_spec;
tools/lldb/unittests/Utility/FileSpecTest.cpp
   16   FileSpec fs_posix("/foo/bar", FileSpec::Style::posix);
   16   FileSpec fs_posix("/foo/bar", FileSpec::Style::posix);
   21   FileSpec fs_windows("F:\\bar", FileSpec::Style::windows);
   21   FileSpec fs_windows("F:\\bar", FileSpec::Style::windows);
   27   FileSpec fs_posix_root("/", FileSpec::Style::posix);
   27   FileSpec fs_posix_root("/", FileSpec::Style::posix);
   32   FileSpec fs_net_drive("//net", FileSpec::Style::posix);
   32   FileSpec fs_net_drive("//net", FileSpec::Style::posix);
   37   FileSpec fs_net_root("//net/", FileSpec::Style::posix);
   37   FileSpec fs_net_root("//net/", FileSpec::Style::posix);
   42   FileSpec fs_windows_drive("F:", FileSpec::Style::windows);
   42   FileSpec fs_windows_drive("F:", FileSpec::Style::windows);
   47   FileSpec fs_windows_root("F:\\", FileSpec::Style::windows);
   47   FileSpec fs_windows_root("F:\\", FileSpec::Style::windows);
   53   FileSpec fs_posix_long("/foo/bar/baz", FileSpec::Style::posix);
   53   FileSpec fs_posix_long("/foo/bar/baz", FileSpec::Style::posix);
   58   FileSpec fs_windows_long("F:\\bar\\baz", FileSpec::Style::windows);
   58   FileSpec fs_windows_long("F:\\bar\\baz", FileSpec::Style::windows);
   64   FileSpec fs_posix_trailing_slash("/foo/bar/", FileSpec::Style::posix);
   64   FileSpec fs_posix_trailing_slash("/foo/bar/", FileSpec::Style::posix);
   69   FileSpec fs_windows_trailing_slash("F:\\bar\\", FileSpec::Style::windows);
   69   FileSpec fs_windows_trailing_slash("F:\\bar\\", FileSpec::Style::windows);
   75   FileSpec fs_posix("/foo", FileSpec::Style::posix);
   75   FileSpec fs_posix("/foo", FileSpec::Style::posix);
   81   FileSpec fs_posix_2("/foo", FileSpec::Style::posix);
   81   FileSpec fs_posix_2("/foo", FileSpec::Style::posix);
   87   FileSpec fs_windows("F:\\bar", FileSpec::Style::windows);
   87   FileSpec fs_windows("F:\\bar", FileSpec::Style::windows);
   94   FileSpec fs_posix_root("/", FileSpec::Style::posix);
   94   FileSpec fs_posix_root("/", FileSpec::Style::posix);
  100   FileSpec fs_windows_root("F:\\", FileSpec::Style::windows);
  100   FileSpec fs_windows_root("F:\\", FileSpec::Style::windows);
  109   FileSpec fs = FileSpec("/foo", FileSpec::Style::posix)
  109   FileSpec fs = FileSpec("/foo", FileSpec::Style::posix)
  117   FileSpec fs_posix("foo", FileSpec::Style::posix);
  117   FileSpec fs_posix("foo", FileSpec::Style::posix);
  121   FileSpec fs_posix_2("foo/bar", FileSpec::Style::posix);
  121   FileSpec fs_posix_2("foo/bar", FileSpec::Style::posix);
  125   FileSpec fs_windows("baz", FileSpec::Style::windows);
  125   FileSpec fs_windows("baz", FileSpec::Style::windows);
  129   FileSpec fs_posix_root("bar", FileSpec::Style::posix);
  129   FileSpec fs_posix_root("bar", FileSpec::Style::posix);
  133   FileSpec fs_windows_root("bar", FileSpec::Style::windows);
  133   FileSpec fs_windows_root("bar", FileSpec::Style::windows);
  139   FileSpec backward("C:\\foo\\bar", FileSpec::Style::windows);
  139   FileSpec backward("C:\\foo\\bar", FileSpec::Style::windows);
  140   FileSpec forward("C:/foo/bar", FileSpec::Style::windows);
  140   FileSpec forward("C:/foo/bar", FileSpec::Style::windows);
  156     FileSpec one(test.first, FileSpec::Style::windows);
  156     FileSpec one(test.first, FileSpec::Style::windows);
  157     FileSpec two(test.second, FileSpec::Style::windows);
  157     FileSpec two(test.second, FileSpec::Style::windows);
  172     FileSpec one(test.first, FileSpec::Style::posix);
  172     FileSpec one(test.first, FileSpec::Style::posix);
  173     FileSpec two(test.second, FileSpec::Style::posix);
  173     FileSpec two(test.second, FileSpec::Style::posix);
  186     FileSpec one(test.first, FileSpec::Style::posix);
  186     FileSpec one(test.first, FileSpec::Style::posix);
  187     FileSpec two(test.second, FileSpec::Style::posix);
  187     FileSpec two(test.second, FileSpec::Style::posix);
  272   auto win = FileSpec::Style::windows;
  274   FileSpec F;
  318     FileSpec spec(path, FileSpec::Style::posix);
  318     FileSpec spec(path, FileSpec::Style::posix);
  336     FileSpec spec(path, FileSpec::Style::posix);
  336     FileSpec spec(path, FileSpec::Style::posix);
  342   FileSpec fs_posix("/foo/bar/baz", FileSpec::Style::posix);
  342   FileSpec fs_posix("/foo/bar/baz", FileSpec::Style::posix);
  353   FileSpec fs_posix_relative("./foo/bar/baz", FileSpec::Style::posix);
  353   FileSpec fs_posix_relative("./foo/bar/baz", FileSpec::Style::posix);
  362   FileSpec fs_posix_relative2("./", FileSpec::Style::posix);
  362   FileSpec fs_posix_relative2("./", FileSpec::Style::posix);
  369   FileSpec fs_windows("C:\\foo\\bar\\baz", FileSpec::Style::windows);
  369   FileSpec fs_windows("C:\\foo\\bar\\baz", FileSpec::Style::windows);
tools/lldb/unittests/Utility/ProcessInstanceInfoTest.cpp
   97   info_bar.GetExecutableFile().SetFile("/foo/bar", FileSpec::Style::posix);
  102                                                      FileSpec::Style::posix);
tools/lldb/unittests/Utility/ReproducerTest.cpp
   29   DummyProvider(const FileSpec &directory) : Provider(directory) {}
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  475 	{ __a.construct(__p, std::forward<_Args>(__args)...); }
  486 	destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h
  108     class allocator: public __allocator_base<_Tp>
  113       typedef _Tp*       pointer;
  114       typedef const _Tp* const_pointer;
  115       typedef _Tp&       reference;
  116       typedef const _Tp& const_reference;
  117       typedef _Tp        value_type;
  137 	allocator(const allocator<_Tp1>&) throw() { }
  158     operator!=(const allocator<_T1>&, const allocator<_T2>&)
  158     operator!=(const allocator<_T1>&, const allocator<_T2>&)
  164     operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
  164     operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
   98     move(_Tp&& __t) noexcept
  104     : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
  105                     is_copy_constructible<_Tp>>::type { };
  136     inline _GLIBCXX17_CONSTEXPR _Tp*
  137     addressof(_Tp& __r) noexcept
  143     const _Tp* addressof(const _Tp&&) = delete;
  143     const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/ptr_traits.h
  126       typedef _Tp* pointer;
  128       typedef _Tp  element_type;
  141       pointer_to(__make_not_void<element_type>& __r) noexcept
  141       pointer_to(__make_not_void<element_type>& __r) noexcept
usr/include/c++/7.4.0/bits/shared_ptr.h
  343 		   _Args&&... __args)
  688     allocate_shared(const _Alloc& __a, _Args&&... __args)
  703     make_shared(_Args&&... __args)
usr/include/c++/7.4.0/bits/shared_ptr_base.h
 1317 		     _Args&&... __args)
usr/include/c++/7.4.0/bits/std_function.h
  299       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
usr/include/c++/7.4.0/bits/stl_algo.h
 3900 	 const _Tp& __val)
usr/include/c++/7.4.0/bits/stl_construct.h
   74     _Construct(_T1* __p, _Args&&... __args)
   74     _Construct(_T1* __p, _Args&&... __args)
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
   97     _Destroy(_Tp* __pointer)
  204 	     allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_function.h
  121       typedef _Arg1 	first_argument_type; 
  124       typedef _Arg2 	second_argument_type;
  381     struct less : public binary_function<_Tp, _Tp, bool>
  381     struct less : public binary_function<_Tp, _Tp, bool>
  385       operator()(const _Tp& __x, const _Tp& __y) const
  385       operator()(const _Tp& __x, const _Tp& __y) const
usr/include/c++/7.4.0/bits/stl_iterator.h
 1224     __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
  181       typedef _Tp                         value_type;
  183       typedef _Tp*                        pointer;
  184       typedef _Tp&                        reference;
  192       typedef _Tp                         value_type;
  194       typedef const _Tp*                  pointer;
  195       typedef const _Tp&                  reference;
usr/include/c++/7.4.0/bits/stl_map.h
  102       typedef _Key					key_type;
  104       typedef std::pair<const _Key, _Tp>		value_type;
  568 	emplace(_Args&&... __args)
usr/include/c++/7.4.0/bits/stl_multimap.h
  101       typedef _Key					key_type;
  103       typedef std::pair<const _Key, _Tp>		value_type;
usr/include/c++/7.4.0/bits/stl_pair.h
  100 	return __and_<is_constructible<_T1, const _U1&>,
  100 	return __and_<is_constructible<_T1, const _U1&>,
  101 		      is_constructible<_T2, const _U2&>>::value;
  101 		      is_constructible<_T2, const _U2&>>::value;
  107 	return __and_<is_convertible<const _U1&, _T1>,
  107 	return __and_<is_convertible<const _U1&, _T1>,
  108 		      is_convertible<const _U2&, _T2>>::value;
  108 		      is_convertible<const _U2&, _T2>>::value;
  114 	return __and_<is_constructible<_T1, _U1&&>,
  114 	return __and_<is_constructible<_T1, _U1&&>,
  115 		      is_constructible<_T2, _U2&&>>::value;
  115 		      is_constructible<_T2, _U2&&>>::value;
  121 	return __and_<is_convertible<_U1&&, _T1>,
  121 	return __and_<is_convertible<_U1&&, _T1>,
  122 		      is_convertible<_U2&&, _T2>>::value;
  122 		      is_convertible<_U2&&, _T2>>::value;
  128 	using __do_converts = __and_<is_convertible<const _U1&, _T1>,
  128 	using __do_converts = __and_<is_convertible<const _U1&, _T1>,
  129 				  is_convertible<_U2&&, _T2>>;
  129 				  is_convertible<_U2&&, _T2>>;
  133 	return __and_<is_constructible<_T1, const _U1&>,
  133 	return __and_<is_constructible<_T1, const _U1&>,
  134 		      is_constructible<_T2, _U2&&>,
  134 		      is_constructible<_T2, _U2&&>,
  142 	using __do_converts = __and_<is_convertible<_U1&&, _T1>,
  142 	using __do_converts = __and_<is_convertible<_U1&&, _T1>,
  143 				  is_convertible<const _U2&, _T2>>;
  143 				  is_convertible<const _U2&, _T2>>;
  147 	return __and_<is_constructible<_T1, _U1&&>,
  147 	return __and_<is_constructible<_T1, _U1&&>,
  148 		      is_constructible<_T2, const _U2&&>,
  148 		      is_constructible<_T2, const _U2&&>,
  209     : private __pair_base<_T1, _T2>
  209     : private __pair_base<_T1, _T2>
  211       typedef _T1 first_type;    /// @c first_type is the first bound type
  212       typedef _T2 second_type;   /// @c second_type is the second bound type
  214       _T1 first;                 /// @c first is a copy of the first object
  215       _T2 second;                /// @c second is a copy of the second object
  252       using _PCCP = _PCC<true, _T1, _T2>;
  252       using _PCCP = _PCC<true, _T1, _T2>;
  260       constexpr pair(const _T1& __a, const _T2& __b)
  260       constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  283 			    _T1, _T2>;
  283 			    _T1, _T2>;
  291         constexpr pair(const pair<_U1, _U2>& __p)
  311        constexpr pair(_U1&& __x, const _T2& __y)
  311        constexpr pair(_U1&& __x, const _T2& __y)
  318        explicit constexpr pair(_U1&& __x, const _T2& __y)
  325        constexpr pair(const _T1& __x, _U2&& __y)
  325        constexpr pair(const _T1& __x, _U2&& __y)
  332        explicit pair(const _T1& __x, _U2&& __y)
  341 	constexpr pair(_U1&& __x, _U2&& __y)
  341 	constexpr pair(_U1&& __x, _U2&& __y)
  360 	constexpr pair(pair<_U1, _U2>&& __p)
  361 	: first(std::forward<_U1>(__p.first)),
  379 		__and_<is_copy_assignable<_T1>,
  380 		       is_copy_assignable<_T2>>::value,
  390 		__and_<is_move_assignable<_T1>,
  391 		       is_move_assignable<_T2>>::value,
  403 				is_assignable<_T2&, const _U2&>>::value,
  403 				is_assignable<_T2&, const _U2&>>::value,
  405 	operator=(const pair<_U1, _U2>& __p)
  414 				is_assignable<_T2&, _U2&&>>::value,
  414 				is_assignable<_T2&, _U2&&>>::value,
  416 	operator=(pair<_U1, _U2>&& __p)
  524     make_pair(_T1&& __x, _T2&& __y)
usr/include/c++/7.4.0/bits/stl_tree.h
  563       typedef _Key 				key_type;
  621 	_M_construct_node(_Link_type __node, _Args&&... __args)
  640         _M_create_node(_Args&&... __args)
  758       static const _Key&
  782       static const _Key&
  894 		     const _Key& __k);
  898 		     const _Key& __k) const;
  902 		     const _Key& __k);
  906 		     const _Key& __k) const;
 1043 	_M_emplace_unique(_Args&&... __args);
usr/include/c++/7.4.0/bits/stl_uninitialized.h
  288 			   _ForwardIterator __result, allocator<_Tp>&)
  644 				allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_vector.h
   77 	rebind<_Tp>::other _Tp_alloc_type;
  216     class vector : protected _Vector_base<_Tp, _Alloc>
  227       typedef _Vector_base<_Tp, _Alloc>			_Base;
  232       typedef _Tp					value_type;
  919       _Tp*
  923       const _Tp*
  962 	emplace_back(_Args&&... __args);
 1455 	  _Temporary_value(vector* __vec, _Args&&... __args) : _M_this(__vec)
 1472 	typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
 1472 	typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
 1479 	_M_insert_aux(iterator __position, _Arg&& __arg);
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
 1561 	_Up*
 1562 	_M_data_ptr(_Up* __ptr) const _GLIBCXX_NOEXCEPT
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  706     operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  824     make_unique(_Args&&... __args)
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/bits/vector.tcc
  386       *__position = std::forward<_Arg>(__arg);
usr/include/c++/7.4.0/ext/alloc_traits.h
  117       { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h
   63       typedef _Tp*       pointer;
   64       typedef const _Tp* const_pointer;
   65       typedef _Tp&       reference;
   66       typedef const _Tp& const_reference;
   67       typedef _Tp        value_type;
   84 	new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _Args&&... __args)
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  140 	destroy(_Up* __p) { __p->~_Up(); }
  160     operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
  160     operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
usr/include/c++/7.4.0/functional
  411 	_Safe_tuple_element_t<(is_placeholder<_Arg>::value - 1), _Tuple>&&
  547 	operator()(_Args&&... __args)
  558 	operator()(_Args&&... __args) const
  576 	operator()(_Args&&... __args) volatile
  588 	operator()(_Args&&... __args) const volatile
usr/include/c++/7.4.0/initializer_list
   50       typedef _E 		value_type;
   51       typedef const _E& 	reference;
   52       typedef const _E& 	const_reference;
   54       typedef const _E* 	iterator;
   55       typedef const _E* 	const_iterator;
usr/include/c++/7.4.0/tuple
   56     struct __is_empty_non_tuple : is_empty<_Tp> { };
  125       constexpr _Head_base(const _Head& __h)
  132         constexpr _Head_base(_UHead&& __h)
  133 	: _M_head_impl(std::forward<_UHead>(__h)) { }
  159       static constexpr _Head&
  162       static constexpr const _Head&
  165       _Head _M_head_impl;
  187       private _Head_base<_Idx, _Head>
  192       typedef _Head_base<_Idx, _Head> _Base;
  194       static constexpr _Head&
  197       static constexpr const _Head&
  210       constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
  210       constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
  216         constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
  216         constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
  218 	  _Base(std::forward<_UHead>(__head)) { }
  227 	_Base(std::forward<_Head>(_M_head(__in))) { }
  230         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in)
  235         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
  242 	_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
  248 		    const _Head& __head, const _Tail&... __tail)
  248 		    const _Head& __head, const _Tail&... __tail)
  322 	  _M_head(*this) = std::forward<_UHead>
  323 	    (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in));
  325 	    (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in));
  350       static constexpr _Head&
  353       static constexpr const _Head&
  360       constexpr _Tuple_impl(const _Head& __head)
  365         constexpr _Tuple_impl(_UHead&& __head)
  390 		    const _Head& __head)
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  608         constexpr tuple(const _Elements&... __elements)
  619       explicit constexpr tuple(const _Elements&... __elements)
  646         constexpr tuple(_UElements&&... __elements)
  730 	      const _Elements&... __elements)
  741                        const _Elements&... __elements)
  907     class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
  909       typedef _Tuple_impl<0, _T1, _T2> _Inherited;
  939         _TC<is_same<_Dummy, void>::value, _T1, _T2>;
  947         constexpr tuple(const _T1& __a1, const _T2& __a2)
  947         constexpr tuple(const _T1& __a1, const _T2& __a2)
  956         explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
  956         explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
  961       using _TMC = _TC<true, _T1, _T2>;
  971         constexpr tuple(_U1&& __a1, _U2&& __a2)
  971         constexpr tuple(_U1&& __a1, _U2&& __a2)
  972 	: _Inherited(std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { }
  995         constexpr tuple(const tuple<_U1, _U2>& __in)
 1013         constexpr tuple(tuple<_U1, _U2>&& __in)
 1066 	tuple(allocator_arg_t __tag, const _Alloc& __a)
 1078 	      const _T1& __a1, const _T2& __a2)
 1078 	      const _T1& __a1, const _T2& __a2)
 1090 	      const _T1& __a1, const _T2& __a2)
 1090 	      const _T1& __a1, const _T2& __a2)
 1225         operator=(const tuple<_U1, _U2>& __in)
 1233         operator=(tuple<_U1, _U2>&& __in)
 1288       typedef _Head type;
 1302     constexpr _Head&
 1303     __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1304     { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
 1307     constexpr const _Head&
 1308     __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1314     get(tuple<_Elements...>& __t) noexcept
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1320     get(const tuple<_Elements...>& __t) noexcept
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1326     get(tuple<_Elements...>&& __t) noexcept
 1328       typedef __tuple_element_t<__i, tuple<_Elements...>> __element_type;
 1328       typedef __tuple_element_t<__i, tuple<_Elements...>> __element_type;
 1328       typedef __tuple_element_t<__i, tuple<_Elements...>> __element_type;
 1329       return std::forward<__element_type&&>(std::get<__i>(__t));
 1447     constexpr tuple<typename __decay_and_strip<_Elements>::__type...>
 1448     make_tuple(_Elements&&... __args)
 1450       typedef tuple<typename __decay_and_strip<_Elements>::__type...>
 1452       return __result_type(std::forward<_Elements>(__args)...);
 1458     constexpr tuple<_Elements&&...>
 1459     forward_as_tuple(_Elements&&... __args) noexcept
 1588     constexpr tuple<_Elements&...>
 1589     tie(_Elements&... __args) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
  984       typedef decltype(__test<_Tp, _Arg>(0)) type;
  989     : public __and_<is_destructible<_Tp>,
  990                     __is_direct_constructible_impl<_Tp, _Arg>>
 1072 			 __is_direct_constructible_ref_cast<_Tp, _Arg>,
 1073 			 __is_direct_constructible_new_safe<_Tp, _Arg>
 1079     : public __is_direct_constructible_new<_Tp, _Arg>::type
 1119     : public __is_direct_constructible<_Tp, _Arg>
 1130     : public __is_constructible_impl<_Tp, _Args...>::type
 1142     : public is_constructible<_Tp, const _Tp&>
 1142     : public is_constructible<_Tp, const _Tp&>
 1148     : public __is_copy_constructible_impl<_Tp>
 1160     : public is_constructible<_Tp, _Tp&&>
 1160     : public is_constructible<_Tp, _Tp&&>
 1166     : public __is_move_constructible_impl<_Tp>
 1215     : public __and_<is_constructible<_Tp, _Args...>,
 1216 		    __is_nt_constructible_impl<_Tp, _Args...>>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1252     : public __is_nothrow_move_constructible_impl<_Tp>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1292     : public __is_copy_assignable_impl<_Tp>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1310     : public __is_move_assignable_impl<_Tp>
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1637     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1659     { typedef _Tp&&   type; };
 1955     { typedef _Tp     type; };
 2104     { typedef typename remove_cv<_Up>::type __type; };
 2118       typedef typename remove_reference<_Tp>::type __remove_type;
 2131       typedef _Tp __type;
 2144 	typename decay<_Tp>::type>::__type __type;
 2171     { typedef _Iffalse type; };
utils/unittest/googletest/include/gtest/gtest-printers.h
  140   static void PrintValue(const T& value, ::std::ostream* os) {
  205     ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
  206   TypeWithoutFormatter<T,
  207       (internal::IsAProtocolMessage<T>::value ? kProtobuf :
  208        internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
  223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
  276   static ::std::string Format(const ToPrint& value) {
  351     const T1& value, const T2& /* other_operand */) {
  351     const T1& value, const T2& /* other_operand */) {
  352   return FormatForComparison<T1, T2>::Format(value);
  352   return FormatForComparison<T1, T2>::Format(value);
  366 void UniversalPrint(const T& value, ::std::ostream* os);
  373                     const C& container, ::std::ostream* os) {
  439                     const T& value, ::std::ostream* os) {
  455 void PrintTo(const T& value, ::std::ostream* os) {
  478   DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
  699   static void Print(const T& value, ::std::ostream* os) {
  765   static void Print(const T& value, ::std::ostream* os) {
  784   static void Print(const T& value, ::std::ostream* os) {
  856   typedef T T1;
  983   internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h
 1377                                    const T1& lhs, const T2& rhs) {
 1377                                    const T1& lhs, const T2& rhs) {
 1389                             const T1& lhs,
 1390                             const T2& rhs) {
 1419                                  const T1& lhs,
 1420                                  const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
   29   static const T& printable(const T& V) { return V; }
   29   static const T& printable(const T& V) { return V; }
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   37   return StreamSwitch<T>::printable(V);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
   94 ::std::string PrintToString(const T& value);