LLVM: include/llvm/TextAPI/Utils.h File Reference (original) (raw)

Go to the source code of this file.

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::vectorstd::string
using llvm::MachO::PathToPlatform = std::pair<std::string, std::optional<PlatformType>>
using llvm::MachO::PathToPlatformSeq = std::vector<PathToPlatform>
using llvm::MachO::AliasEntry = std::pair<std::string, EncodeKind>
using llvm::MachO::AliasMap = std::map<AliasEntry, AliasEntry>
Functions
LLVM_ABI void llvm::MachO::replace_extension (SmallVectorImpl< char > &Path, const Twine &Extension)
Replace extension considering frameworks.
LLVM_ABI 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.
LLVM_ABI std::error_code llvm::MachO::make_relative (StringRef From, StringRef To, SmallVectorImpl< char > &RelativePath)
Turn absolute symlink into relative.
LLVM_ABI bool llvm::MachO::isPrivateLibrary (StringRef Path, bool IsSymLink=false)
Determine if library is private by parsing file path.
LLVM_ABI llvm::Expected< llvm::Regex > llvm::MachO::createRegexFromGlob (llvm::StringRef Glob)
Create a regex rule from provided glob string.
LLVM_ABI Expected< AliasMap > llvm::MachO::parseAliasList (std::unique_ptr< llvm::MemoryBuffer > &Buffer)
Parse input list and capture symbols and their alias.
LLVM_ABI PathSeq llvm::MachO::getPathsForPlatform (const PathToPlatformSeq &Paths, PlatformType Platform)
Pickup active paths for a given platform.

DRIVERKIT_PREFIX_PATH

#define DRIVERKIT_PREFIX_PATH "/System/DriverKit"

MACCATALYST_PREFIX_PATH

#define MACCATALYST_PREFIX_PATH "/System/iOSSupport"

PATH_MAX