| LLDB mainline
    | 
#include <RealpathPrefixes.h>
| Public Member Functions | |
| RealpathPrefixes (const FileSpecList &file_spec_list, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > fs=llvm::vfs::getRealFileSystem()) | |
| std::optional< FileSpec > | ResolveSymlinks (const FileSpec &file_spec) | 
| void | IncreaseSourceRealpathAttemptCount () | 
| uint32_t | GetSourceRealpathAttemptCount () const | 
| void | IncreaseSourceRealpathCompatibleCount () | 
| uint32_t | GetSourceRealpathCompatibleCount () const | 
| Private Attributes | |
| std::vector< std::string > | m_prefixes | 
| llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > | m_fs | 
| lldb::TargetWP | m_target | 
| uint32_t | m_source_realpath_attempt_count = 0 | 
| uint32_t | m_source_realpath_compatible_count = 0 | 
Definition at line 22 of file RealpathPrefixes.h.
| 
 | explicit | 
| [in] | file_spec_list | Prefixes are obtained from FileSpecList, through FileSpec::GetPath(), which ensures that the paths are normalized. For example: "./foo/.." -> "" "./foo/../bar" -> "bar" | 
| [in] | fs | An optional filesystem to use for realpath'ing. If not set, the real filesystem will be used. | 
Definition at line 19 of file RealpathPrefixes.cpp.
References lldb_private::FileSpecList::GetSize(), m_fs, and m_prefixes.
| 
 | inline | 
Definition at line 45 of file RealpathPrefixes.h.
References m_source_realpath_attempt_count.
Referenced by lldb_private::BreakpointResolverFileLine::SearchCallback().
| 
 | inline | 
Definition at line 51 of file RealpathPrefixes.h.
References m_source_realpath_compatible_count.
Referenced by lldb_private::BreakpointResolverFileLine::SearchCallback().
| 
 | inline | 
Definition at line 42 of file RealpathPrefixes.h.
References m_source_realpath_attempt_count.
Referenced by ResolveSymlinks().
| 
 | inline | 
Definition at line 48 of file RealpathPrefixes.h.
References m_source_realpath_compatible_count.
Referenced by lldb_private::SupportFileList::FindCompatibleIndex().
Definition at line 30 of file RealpathPrefixes.cpp.
References lldb_private::GetLog(), lldb_private::FileSpec::GetPath(), lldb_private::FileSpec::GetPathStyle(), IncreaseSourceRealpathAttemptCount(), lldb_private::FileSpec::IsCaseSensitive(), LLDB_LOGF, m_fs, m_prefixes, and lldb_private::Source.
Referenced by lldb_private::SupportFileList::FindCompatibleIndex().
| 
 | private | 
Definition at line 65 of file RealpathPrefixes.h.
Referenced by RealpathPrefixes(), and ResolveSymlinks().
| 
 | private | 
Definition at line 62 of file RealpathPrefixes.h.
Referenced by RealpathPrefixes(), and ResolveSymlinks().
| 
 | private | 
Definition at line 71 of file RealpathPrefixes.h.
Referenced by GetSourceRealpathAttemptCount(), and IncreaseSourceRealpathAttemptCount().
| 
 | private | 
Definition at line 72 of file RealpathPrefixes.h.
Referenced by GetSourceRealpathCompatibleCount(), and IncreaseSourceRealpathCompatibleCount().
| 
 | private | 
Definition at line 68 of file RealpathPrefixes.h.