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.

Classes

struct  llvm::MachO::SymLink
 

Namespaces

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

Macros

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

Typedefs

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

Functions

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

◆ DRIVERKIT_PREFIX_PATH

#define DRIVERKIT_PREFIX_PATH   "/System/DriverKit"

Definition at line 27 of file Utils.h.

◆ MACCATALYST_PREFIX_PATH

#define MACCATALYST_PREFIX_PATH   "/System/iOSSupport"

Definition at line 26 of file Utils.h.

◆ PATH_MAX

#define PATH_MAX   1024

Definition at line 23 of file Utils.h.