|
LLVM 22.0.0git
|
#include "llvm/ADT/Twine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Error.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/Path.h"#include "llvm/Support/Regex.h"#include "llvm/TextAPI/Symbol.h"#include <map>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> |
| 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. | |
| #define DRIVERKIT_PREFIX_PATH "/System/DriverKit" |
Definition at line 31 of file Utils.h.
Referenced by llvm::MachO::isPrivateLibrary().
| #define MACCATALYST_PREFIX_PATH "/System/iOSSupport" |
Definition at line 30 of file Utils.h.
Referenced by llvm::MachO::isPrivateLibrary().