LLVM 19.0.0git
Classes | Namespaces | Macros | Typedefs | Functions
Utils.h File Reference
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Regex.h"

Go to the source code of this file.


struct  llvm::MachO::SymLink


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::MachO


#define PATH_MAX   1024
#define MACCATALYST_PREFIX_PATH   "/System/iOSSupport"
#define DRIVERKIT_PREFIX_PATH   "/System/DriverKit"


using llvm::MachO::PathSeq = std::vector< std::string >


void llvm::MachO::replace_extension (SmallVectorImpl< char > &Path, const Twine &Extension)
 Replace extension considering frameworks.
std::error_code llvm::MachO::shouldSkipSymLink (const Twine &Path, bool &Result)
 Determine whether to skip over symlink due to either too many symlink levels or is cyclic.
std::error_code llvm::MachO::make_relative (StringRef From, StringRef To, SmallVectorImpl< char > &RelativePath)
 Turn absolute symlink into relative.
bool llvm::MachO::isPrivateLibrary (StringRef Path, bool IsSymLink=false)
 Determine if library is private by parsing file path.
llvm::Expected< llvm::Regexllvm::MachO::createRegexFromGlob (llvm::StringRef Glob)
 Create a regex rule from provided glob string.

Macro Definition Documentation


#define DRIVERKIT_PREFIX_PATH   "/System/DriverKit"

Definition at line 27 of file Utils.h.


#define MACCATALYST_PREFIX_PATH   "/System/iOSSupport"

Definition at line 26 of file Utils.h.


#define PATH_MAX   1024

Definition at line 23 of file Utils.h.