LLVM 20.0.0git
|
Namespaces | |
namespace | DylibReader |
Defines the MachO Dynamic Library Reader. | |
Typedefs | |
using | PlatformSet = SmallSet< PlatformType, 3 > |
using | PlatformVersionSet = SmallSet< std::pair< PlatformType, VersionTuple >, 3 > |
template<typename V , typename K = StringRef, typename std::enable_if< std::is_base_of< Record, V >::value >::type * = nullptr> | |
using | RecordMap = llvm::MapVector< K, std::unique_ptr< V > > |
using | Records = llvm::SmallVector< std::shared_ptr< RecordsSlice >, 4 > |
using | TargetList = SmallVector< Target, 5 > |
using | PathSeq = std::vector< std::string > |
using | PathToPlatform = std::pair< std::string, std::optional< PlatformType > > |
using | PathToPlatformSeq = std::vector< PathToPlatform > |
using | AliasEntry = std::pair< std::string, EncodeKind > |
using | AliasMap = std::map< AliasEntry, AliasEntry > |
Variables | |
const uint32_t | x86_THREAD_STATE32_COUNT |
const uint32_t | x86_THREAD_STATE64_COUNT |
const uint32_t | x86_FLOAT_STATE64_COUNT |
const uint32_t | x86_EXCEPTION_STATE64_COUNT |
const uint32_t | x86_THREAD_STATE_COUNT |
const uint32_t | x86_FLOAT_STATE_COUNT |
const uint32_t | x86_EXCEPTION_STATE_COUNT |
const uint32_t | ARM_THREAD_STATE_COUNT |
const uint32_t | ARM_THREAD_STATE64_COUNT |
const uint32_t | PPC_THREAD_STATE_COUNT |
constexpr StringLiteral | ObjC1ClassNamePrefix = ".objc_class_name_" |
constexpr StringLiteral | ObjC2ClassNamePrefix = "_OBJC_CLASS_$_" |
constexpr StringLiteral | ObjC2MetaClassNamePrefix = "_OBJC_METACLASS_$_" |
constexpr StringLiteral | ObjC2EHTypePrefix = "_OBJC_EHTYPE_$_" |
constexpr StringLiteral | ObjC2IVarPrefix = "_OBJC_IVAR_$_" |
using llvm::MachO::AliasEntry = typedef std::pair<std::string, EncodeKind> |
using llvm::MachO::AliasMap = typedef std::map<AliasEntry, AliasEntry> |
using llvm::MachO::PathSeq = typedef std::vector<std::string> |
using llvm::MachO::PathToPlatform = typedef std::pair<std::string, std::optional<PlatformType> > |
using llvm::MachO::PathToPlatformSeq = typedef std::vector<PathToPlatform> |
using llvm::MachO::PlatformSet = typedef SmallSet<PlatformType, 3> |
Definition at line 22 of file Platform.h.
using llvm::MachO::PlatformVersionSet = typedef SmallSet<std::pair<PlatformType, VersionTuple>, 3> |
Definition at line 23 of file Platform.h.
using llvm::MachO::RecordMap = typedef llvm::MapVector<K, std::unique_ptr<V> > |
using llvm::MachO::Records = typedef llvm::SmallVector<std::shared_ptr<RecordsSlice>, 4> |
Definition at line 197 of file RecordsSlice.h.
using llvm::MachO::TargetList = typedef SmallVector<Target, 5> |
anonymous enum : uint32_t |
anonymous enum |
anonymous enum : uint32_t |
anonymous enum : uint32_t |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum : uint32_t |
anonymous enum : uint32_t |
anonymous enum |
enum llvm::MachO::Architecture : uint8_t |
Defines the architecture slices that are supported by Text-based Stub files.
Enumerator | |
---|---|
AK_unknown |
Definition at line 27 of file Architecture.h.
enum llvm::MachO::CPUType |
|
strong |
enum llvm::MachO::FileType : unsigned |
Defines the file type TextAPI files can represent.
Enumerator | |
---|---|
Invalid | Invalid file type. |
MachO_DynamicLibrary | MachO Dynamic Library file. |
MachO_DynamicLibrary_Stub | MachO Dynamic Library Stub file. |
MachO_Bundle | MachO Bundle file. |
TBD_V1 | Text-based stub file (.tbd) version 1.0. |
TBD_V2 | Text-based stub file (.tbd) version 2.0. |
TBD_V3 | Text-based stub file (.tbd) version 3.0. |
TBD_V4 | Text-based stub file (.tbd) version 4.0. |
TBD_V5 | Text-based stub file (.tbd) version 5.0. |
All | |
LLVM_MARK_AS_BITMASK_ENUM |
Definition at line 15 of file FileTypes.h.
enum llvm::MachO::NListType : uint8_t |
|
strong |
Defines a list of Objective-C constraints.
Definition at line 34 of file InterfaceFile.h.
|
strong |
|
strong |
enum llvm::MachO::SectionType : uint32_t |
These are the section type and attributes fields.
A MachO section can have only one Type, but can have any of the attributes specified.
|
strong |
|
strong |
Enumerator | |
---|---|
NoSuchArchitecture | |
EmptyResults | |
GenericFrontendError | |
InvalidInputFormat | |
UnsupportedTarget |
Definition at line 20 of file TextAPIError.h.
Definition at line 85 of file Symbol.h.
References LHS, llvm::lower_bound(), and RHS.
Definition at line 453 of file InterfaceFile.h.
References I, and llvm::partition_point().
Referenced by llvm::MachO::InterfaceFile::addAllowableClient(), llvm::MachO::InterfaceFile::addReexportedLibrary(), llvm::MachO::InterfaceFileRef::addTarget(), llvm::MachO::InterfaceFile::addTarget(), and llvm::MachO::Symbol::addTarget().
std::unique_ptr< InterfaceFile > llvm::MachO::convertToInterfaceFile | ( | const Records & | Slices | ) |
Definition at line 339 of file RecordsSlice.cpp.
References llvm::SetVector< T, Vector, Set, N >::begin(), createInterfaceFile(), llvm::drop_begin(), llvm::SmallVectorBase< Size_T >::empty(), llvm::SetVector< T, Vector, Set, N >::insert(), and Name.
Referenced by llvm::MachO::DylibReader::get().
|
inline |
|
inline |
|
inline |
llvm::Expected< Regex > llvm::MachO::createRegexFromGlob | ( | llvm::StringRef | Glob | ) |
Create a regex rule from provided glob string.
Glob | String that represents glob input. |
Definition at line 160 of file Utils.cpp.
References llvm::CallingConv::C, llvm::StringRef::contains(), llvm::StringRef::data(), llvm::inconvertibleErrorCode(), llvm::Regex::isValid(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), RegexMetachars, and llvm::StringRef::size().
|
inline |
Definition at line 1545 of file MachO.h.
Referenced by llvm::object::MachOObjectFile::getSymbolAlignment().
Definition at line 1537 of file MachO.h.
Referenced by llvm::object::MachOObjectFile::checkSymbolTable().
Architecture llvm::MachO::getArchitectureFromCpuType | ( | uint32_t | CPUType, |
uint32_t | CPUSubType | ||
) |
Convert a CPU Type and Subtype pair to an architecture slice.
Definition at line 23 of file Architecture.cpp.
References AK_unknown.
Referenced by llvm::MachO::DylibReader::readFile().
Architecture llvm::MachO::getArchitectureFromName | ( | StringRef | Name | ) |
Convert a name to an architecture slice.
Definition at line 34 of file Architecture.cpp.
References AK_unknown, llvm::StringSwitch< T, R >::Default(), and Name.
Referenced by llvm::MachO::Target::create(), and mapToArchitecture().
StringRef llvm::MachO::getArchitectureName | ( | Architecture | Arch | ) |
Convert an architecture slice to a string.
Definition at line 42 of file Architecture.cpp.
References AK_unknown.
Referenced by llvm::MachO::DylibReader::accumulateSourceLocFromDSYM(), constructTriples(), llvm::MachO::InterfaceFile::extract(), llvm::object::TapiUniversal::ObjectForArch::getArchFlagName(), getTargetTripleName(), llvm::MachO::ArchitectureSet::operator std::string(), llvm::MachO::Target::operator std::string(), operator<<(), and llvm::MachO::InterfaceFile::remove().
Definition at line 95 of file MachO.cpp.
References llvm::Triple::aarch64_32, getARM64SubType(), getARMSubType(), getPowerPCSubType(), getX86SubType(), llvm::Triple::ppc, llvm::Triple::ppc64, and unsupported().
Referenced by getMachoCPUFromTriple(), and llvm::LTOModule::getMachOCPUSubType().
Definition at line 77 of file MachO.cpp.
References CPU_TYPE_ARM, CPU_TYPE_ARM64, CPU_TYPE_ARM64_32, CPU_TYPE_POWERPC, CPU_TYPE_POWERPC64, CPU_TYPE_X86, CPU_TYPE_X86_64, llvm::Triple::ppc, llvm::Triple::ppc64, and unsupported().
Referenced by llvm::ARMAsmBackendDarwin::createObjectTargetWriter(), getMachoCPUFromTriple(), and llvm::LTOModule::getMachOCPUType().
std::pair< uint32_t, uint32_t > llvm::MachO::getCPUTypeFromArchitecture | ( | Architecture | Arch | ) |
Convert an architecture slice to a CPU Type and Subtype pair.
Definition at line 58 of file Architecture.cpp.
References AK_unknown.
Referenced by llvm::object::TapiUniversal::ObjectForArch::getCPUSubType(), and llvm::object::TapiUniversal::ObjectForArch::getCPUType().
Expected< std::unique_ptr< InterfaceFile > > llvm::MachO::getInterfaceFileFromJSON | ( | StringRef | JSON | ) |
Definition at line 709 of file TextStubV5.cpp.
References llvm::json::Object::getObject().
Referenced by llvm::MachO::TextAPIReader::get().
std::string llvm::MachO::getOSAndEnvironmentName | ( | PlatformType | Platform, |
std::string | Version = "" |
||
) |
Definition at line 90 of file Platform.cpp.
References llvm_unreachable, and llvm::Version.
Referenced by getTargetTripleName().
PathSeq llvm::MachO::getPathsForPlatform | ( | const PathToPlatformSeq & | Paths, |
PlatformType | Platform | ||
) |
PlatformType llvm::MachO::getPlatformFromName | ( | StringRef | Name | ) |
Definition at line 80 of file Platform.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), and Name.
StringRef llvm::MachO::getPlatformName | ( | PlatformType | Platform | ) |
Definition at line 69 of file Platform.cpp.
References llvm_unreachable.
Referenced by llvm::MachO::Target::operator std::string().
Definition at line 76 of file Target.cpp.
References llvm::MachO::Target::Arch, llvm::VersionTuple::empty(), getArchitectureName(), llvm::VersionTuple::getAsString(), getOSAndEnvironmentName(), llvm::MachO::Target::MinDeployment, llvm::MachO::Target::Platform, and llvm::Version.
bool llvm::MachO::is64Bit | ( | Architecture | Arch | ) |
Check if architecture is 64 bit.
Definition at line 78 of file Architecture.cpp.
References AK_unknown, and llvm_unreachable.
Referenced by llvm::object::TapiFile::is64Bit().
Determine if library is private by parsing file path.
It does not touch the file system.
Path | File path for library. |
IsSymLink | Whether path points to a symlink. |
Definition at line 110 of file Utils.cpp.
References DRIVERKIT_PREFIX_PATH, llvm::StringRef::ends_with(), MACCATALYST_PREFIX_PATH, Name, and llvm::StringRef::starts_with().
|
inline |
Definition at line 595 of file MachO.h.
References S_GB_ZEROFILL, S_THREAD_LOCAL_ZEROFILL, and S_ZEROFILL.
llvm::MachO::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE | ( | ) |
std::error_code llvm::MachO::make_relative | ( | StringRef | From, |
StringRef | To, | ||
SmallVectorImpl< char > & | RelativePath | ||
) |
Turn absolute symlink into relative.
From | The symlink. |
To | What the symlink points to. |
RelativePath | Path location to update what the symlink points to. |
Definition at line 76 of file Utils.cpp.
References llvm::sys::path::append(), llvm::sys::path::begin(), llvm::sys::path::end(), From, llvm::sys::fs::make_absolute(), llvm::sys::path::parent_path(), and llvm::SmallVectorImpl< T >::swap().
Architecture llvm::MachO::mapToArchitecture | ( | const llvm::Triple & | Target | ) |
Convert a target to an architecture slice.
Definition at line 74 of file Architecture.cpp.
References getArchitectureFromName().
ArchitectureSet llvm::MachO::mapToArchitectureSet | ( | ArrayRef< Target > | Targets | ) |
Definition at line 69 of file Target.cpp.
References llvm::MachO::Target::Arch.
Referenced by llvm::MachO::InterfaceFileRef::getArchitectures(), llvm::MachO::InterfaceFile::getArchitectures(), llvm::MachO::Symbol::getArchitectures(), and llvm::MachO::Symbol::hasArchitecture().
PlatformSet llvm::MachO::mapToPlatformSet | ( | ArrayRef< Target > | Targets | ) |
Definition at line 62 of file Target.cpp.
References llvm::MachO::Target::Platform.
PlatformSet llvm::MachO::mapToPlatformSet | ( | ArrayRef< Triple > | Targets | ) |
Definition at line 62 of file Platform.cpp.
References mapToPlatformType().
Referenced by llvm::MachO::InterfaceFileRef::getPlatforms(), and llvm::MachO::InterfaceFile::getPlatforms().
PlatformType llvm::MachO::mapToPlatformType | ( | const Triple & | Target | ) |
Definition at line 34 of file Platform.cpp.
References llvm::Triple::BridgeOS, llvm::Triple::DriverKit, llvm::Triple::IOS, llvm::Triple::MacABI, llvm::Triple::MacOSX, llvm::Triple::TvOS, llvm::Triple::WatchOS, and llvm::Triple::XROS.
PlatformType llvm::MachO::mapToPlatformType | ( | PlatformType | Platform, |
bool | WantSim | ||
) |
Definition at line 21 of file Platform.cpp.
Referenced by mapToPlatformSet(), llvm::MachO::DylibReader::readFile(), and llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::synthesizeTargets().
PlatformVersionSet llvm::MachO::mapToPlatformVersionSet | ( | ArrayRef< Target > | Targets | ) |
Definition at line 55 of file Target.cpp.
References llvm::MachO::Target::MinDeployment, and llvm::MachO::Target::Platform.
Referenced by llvm::MachO::InterfaceFile::operator==().
VersionTuple llvm::MachO::mapToSupportedOSVersion | ( | const Triple & | Triple | ) |
Definition at line 123 of file Platform.cpp.
References llvm::Triple::getMinimumSupportedOSVersion(), and llvm::Triple::getOSVersion().
|
inline |
raw_ostream & llvm::MachO::operator<< | ( | raw_ostream & | OS, |
Architecture | Arch | ||
) |
Definition at line 92 of file Architecture.cpp.
References getArchitectureName(), and OS.
raw_ostream & llvm::MachO::operator<< | ( | raw_ostream & | OS, |
ArchitectureSet | Set | ||
) |
Definition at line 64 of file ArchitectureSet.cpp.
References llvm::MachO::ArchitectureSet::print().
|
inline |
Definition at line 72 of file PackedVersion.h.
References OS, and llvm::Version.
raw_ostream & llvm::MachO::operator<< | ( | raw_ostream & | OS, |
const Target & | Target | ||
) |
Definition at line 50 of file Target.cpp.
References OS.
|
inline |
Definition at line 61 of file Target.h.
References LHS, llvm::operator==(), and RHS.
Definition at line 47 of file Target.h.
References LHS, llvm::operator==(), and RHS.
|
inline |
Definition at line 166 of file ArchitectureSet.h.
Expected< AliasMap > llvm::MachO::parseAliasList | ( | std::unique_ptr< llvm::MemoryBuffer > & | Buffer | ) |
Parse input list and capture symbols and their alias.
Buffer | Data contents of file for the alias list. |
Definition at line 205 of file Utils.cpp.
References llvm::StringRef::empty(), llvm::MachO::SimpleSymbol::Kind, llvm::MachO::SimpleSymbol::Name, parseSymbol(), llvm::StringRef::str(), and llvm::StringRef::trim().
SimpleSymbol llvm::MachO::parseSymbol | ( | StringRef | SymName | ) |
Get symbol classification by parsing the name of a symbol.
SymName | The name of symbol. |
Definition at line 75 of file Symbol.cpp.
References Class, llvm::StringRef::drop_front(), EHType, GlobalSymbol, MetaClass, None, ObjC1ClassNamePrefix, ObjC2ClassNamePrefix, ObjC2EHTypePrefix, ObjC2IVarPrefix, ObjC2MetaClassNamePrefix, ObjectiveCClass, ObjectiveCClassEHType, ObjectiveCInstanceVariable, llvm::StringRef::size(), and llvm::StringRef::starts_with().
Referenced by accumulateLocs(), llvm::MachO::RecordsSlice::addRecord(), parseAliasList(), and llvm::MachO::SymbolConverter::visitGlobal().
void llvm::MachO::replace_extension | ( | SmallVectorImpl< char > & | Path, |
const Twine & | Extension | ||
) |
Replace extension considering frameworks.
Path | Location of file. |
Extension | File extension to update with. |
Definition at line 20 of file Utils.cpp.
References llvm::sys::path::filename(), P, llvm::sys::path::parent_path(), and llvm::sys::path::replace_extension().
Error llvm::MachO::serializeInterfaceFileToJSON | ( | raw_ostream & | OS, |
const InterfaceFile & | File, | ||
const FileType | FileKind, | ||
bool | Compact | ||
) |
Definition at line 1019 of file TextStubV5.cpp.
References llvm::formatv(), OS, and llvm::Error::success().
Referenced by llvm::MachO::TextAPIWriter::writeToStream().
|
inline |
|
inline |
Determine whether to skip over symlink due to either too many symlink levels or is cyclic.
Path | Location to symlink. |
Result | Holds whether to skip over Path. |
Definition at line 44 of file Utils.cpp.
References llvm::StringRef::empty(), llvm::sys::fs::equivalent(), P, llvm::sys::path::parent_path(), and llvm::sys::fs::status().
|
inline |
Definition at line 1396 of file MachO.h.
References llvm::MachO::any_relocation_info::r_word0, llvm::MachO::any_relocation_info::r_word1, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1996 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1955 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1974 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 2011 of file MachO.h.
References ARM_THREAD_STATE, and swapStruct().
|
inline |
Definition at line 1463 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1454 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1468 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 2154 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 2164 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 2170 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1247 of file MachO.h.
References info, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1262 of file MachO.h.
References llvm::MachO::dylib_command::cmd, llvm::MachO::dylib_command::cmdsize, llvm::MachO::dylib::compatibility_version, llvm::MachO::dylib::current_version, llvm::MachO::dylib_command::dylib, llvm::MachO::dylib::name, llvm::sys::swapByteOrder(), and llvm::MachO::dylib::timestamp.
|
inline |
Definition at line 1326 of file MachO.h.
References llvm::MachO::dylinker_command::cmd, llvm::MachO::dylinker_command::cmdsize, llvm::MachO::dylinker_command::name, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1373 of file MachO.h.
References llvm::MachO::dysymtab_command::cmd, llvm::MachO::dysymtab_command::cmdsize, llvm::MachO::dysymtab_command::extrefsymoff, llvm::MachO::dysymtab_command::extreloff, llvm::MachO::dysymtab_command::iextdefsym, llvm::MachO::dysymtab_command::ilocalsym, llvm::MachO::dysymtab_command::indirectsymoff, llvm::MachO::dysymtab_command::iundefsym, llvm::MachO::dysymtab_command::locreloff, llvm::MachO::dysymtab_command::modtaboff, llvm::MachO::dysymtab_command::nextdefsym, llvm::MachO::dysymtab_command::nextrefsyms, llvm::MachO::dysymtab_command::nextrel, llvm::MachO::dysymtab_command::nindirectsyms, llvm::MachO::dysymtab_command::nlocalsym, llvm::MachO::dysymtab_command::nlocrel, llvm::MachO::dysymtab_command::nmodtab, llvm::MachO::dysymtab_command::ntoc, llvm::MachO::dysymtab_command::nundefsym, llvm::sys::swapByteOrder(), and llvm::MachO::dysymtab_command::tocoff.
|
inline |
Definition at line 1356 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1364 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1349 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1145 of file MachO.h.
References llvm::MachO::fat_arch::align, llvm::MachO::fat_arch::cpusubtype, llvm::MachO::fat_arch::cputype, llvm::MachO::fat_arch::offset, llvm::MachO::fat_arch::size, and llvm::sys::swapByteOrder().
|
inline |
|
inline |
Definition at line 1140 of file MachO.h.
References llvm::MachO::fat_header::magic, llvm::MachO::fat_header::nfat_arch, and llvm::sys::swapByteOrder().
Referenced by extractSections(), getStruct(), getStructOrErr(), swapStruct(), llvm::orc::writeMachOStruct(), writeNListEntry(), and writeUniversalArchsToStream().
|
inline |
Definition at line 1431 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1501 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1522 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1529 of file MachO.h.
References llvm::CallingConv::C, llvm::sys::swapByteOrder(), and swapStruct().
|
inline |
Definition at line 1517 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1418 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1425 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1183 of file MachO.h.
References llvm::MachO::load_command::cmd, llvm::MachO::load_command::cmdsize, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1162 of file MachO.h.
References llvm::MachO::mach_header::cpusubtype, llvm::MachO::mach_header::cputype, llvm::MachO::mach_header::filetype, llvm::MachO::mach_header::flags, llvm::MachO::mach_header::magic, llvm::MachO::mach_header::ncmds, llvm::MachO::mach_header::sizeofcmds, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1172 of file MachO.h.
References H, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1406 of file MachO.h.
References llvm::MachO::nlist::n_desc, llvm::MachO::nlist::n_strx, llvm::MachO::nlist::n_value, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1412 of file MachO.h.
References llvm::MachO::nlist_64::n_desc, llvm::MachO::nlist_64::n_strx, llvm::MachO::nlist_64::n_value, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1401 of file MachO.h.
References llvm::MachO::nlist_base::n_desc, llvm::MachO::nlist_base::n_strx, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1447 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 2121 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 2066 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 2136 of file MachO.h.
References PPC_THREAD_STATE, and swapStruct().
|
inline |
Definition at line 1477 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1492 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1295 of file MachO.h.
References llvm::MachO::routines_command::cmd, llvm::MachO::routines_command::cmdsize, llvm::MachO::routines_command::init_address, llvm::MachO::routines_command::init_module, llvm::MachO::routines_command::reserved1, llvm::MachO::routines_command::reserved2, llvm::MachO::routines_command::reserved3, llvm::MachO::routines_command::reserved4, llvm::MachO::routines_command::reserved5, llvm::MachO::routines_command::reserved6, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1308 of file MachO.h.
References llvm::MachO::routines_command_64::cmd, llvm::MachO::routines_command_64::cmdsize, llvm::MachO::routines_command_64::init_address, llvm::MachO::routines_command_64::init_module, llvm::MachO::routines_command_64::reserved1, llvm::MachO::routines_command_64::reserved2, llvm::MachO::routines_command_64::reserved3, llvm::MachO::routines_command_64::reserved4, llvm::MachO::routines_command_64::reserved5, llvm::MachO::routines_command_64::reserved6, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1337 of file MachO.h.
References llvm::MachO::rpath_command::cmd, llvm::MachO::rpath_command::cmdsize, llvm::MachO::rpath_command::path, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1235 of file MachO.h.
References llvm::MachO::section::addr, llvm::MachO::section::align, llvm::MachO::section::flags, llvm::MachO::section::nreloc, llvm::MachO::section::offset, llvm::MachO::section::reloff, llvm::MachO::section::reserved1, llvm::MachO::section::reserved2, llvm::MachO::section::size, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1223 of file MachO.h.
References llvm::MachO::section_64::addr, llvm::MachO::section_64::align, llvm::MachO::section_64::flags, llvm::MachO::section_64::nreloc, llvm::MachO::section_64::offset, llvm::MachO::section_64::reloff, llvm::MachO::section_64::reserved1, llvm::MachO::section_64::reserved2, llvm::MachO::section_64::size, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1210 of file MachO.h.
References llvm::MachO::segment_command::cmd, llvm::MachO::segment_command::cmdsize, llvm::MachO::segment_command::fileoff, llvm::MachO::segment_command::filesize, llvm::MachO::segment_command::flags, llvm::MachO::segment_command::initprot, llvm::MachO::segment_command::maxprot, llvm::MachO::segment_command::nsects, llvm::sys::swapByteOrder(), llvm::MachO::segment_command::vmaddr, and llvm::MachO::segment_command::vmsize.
|
inline |
Definition at line 1197 of file MachO.h.
References llvm::MachO::segment_command_64::cmd, llvm::MachO::segment_command_64::cmdsize, llvm::MachO::segment_command_64::fileoff, llvm::MachO::segment_command_64::filesize, llvm::MachO::segment_command_64::flags, llvm::MachO::segment_command_64::initprot, llvm::MachO::segment_command_64::maxprot, llvm::MachO::segment_command_64::nsects, llvm::sys::swapByteOrder(), llvm::MachO::segment_command_64::vmaddr, and llvm::MachO::segment_command_64::vmsize.
|
inline |
Definition at line 1343 of file MachO.h.
References llvm::MachO::source_version_command::cmd, llvm::MachO::source_version_command::cmdsize, llvm::sys::swapByteOrder(), and llvm::MachO::source_version_command::version.
|
inline |
Definition at line 1289 of file MachO.h.
References llvm::MachO::sub_client_command::client, llvm::MachO::sub_client_command::cmd, llvm::MachO::sub_client_command::cmdsize, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1271 of file MachO.h.
References llvm::MachO::sub_framework_command::cmd, llvm::MachO::sub_framework_command::cmdsize, llvm::sys::swapByteOrder(), and llvm::MachO::sub_framework_command::umbrella.
|
inline |
Definition at line 1283 of file MachO.h.
References llvm::MachO::sub_library_command::cmd, llvm::MachO::sub_library_command::cmdsize, llvm::MachO::sub_library_command::sub_library, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1277 of file MachO.h.
References llvm::MachO::sub_umbrella_command::cmd, llvm::MachO::sub_umbrella_command::cmdsize, llvm::MachO::sub_umbrella_command::sub_umbrella, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1509 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1188 of file MachO.h.
References llvm::MachO::symtab_command::cmd, llvm::MachO::symtab_command::cmdsize, llvm::MachO::symtab_command::nsyms, llvm::MachO::symtab_command::stroff, llvm::MachO::symtab_command::strsize, llvm::sys::swapByteOrder(), and llvm::MachO::symtab_command::symoff.
|
inline |
Definition at line 1321 of file MachO.h.
References llvm::MachO::thread_command::cmd, llvm::MachO::thread_command::cmdsize, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1484 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1474 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1332 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1440 of file MachO.h.
References llvm::CallingConv::C, and llvm::sys::swapByteOrder().
|
inline |
Definition at line 1858 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1924 of file MachO.h.
References swapStruct(), and x86_EXCEPTION_STATE64.
|
inline |
Definition at line 1841 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1918 of file MachO.h.
References swapStruct(), and x86_FLOAT_STATE64.
|
inline |
Definition at line 1892 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1798 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1817 of file MachO.h.
References llvm::sys::swapByteOrder().
|
inline |
Definition at line 1912 of file MachO.h.
References swapStruct(), and x86_THREAD_STATE64.
Definition at line 2020 of file MachO.h.
Referenced by checkThreadCommand().
|
constexpr |
Definition at line 62 of file Symbol.h.
Referenced by parseSymbol(), and llvm::object::TapiFile::TapiFile().
|
constexpr |
Definition at line 63 of file Symbol.h.
Referenced by llvm::MachO::SymbolSet::findSymbol(), parseSymbol(), llvm::object::TapiFile::TapiFile(), and llvm::MachO::SymbolConverter::visitObjCInterface().
|
constexpr |
Definition at line 65 of file Symbol.h.
Referenced by llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::denormalize(), llvm::MachO::SymbolSet::findSymbol(), parseSymbol(), llvm::object::TapiFile::TapiFile(), and llvm::MachO::SymbolConverter::visitObjCInterface().
|
constexpr |
Definition at line 66 of file Symbol.h.
Referenced by parseSymbol(), and llvm::object::TapiFile::TapiFile().
|
constexpr |
Definition at line 64 of file Symbol.h.
Referenced by llvm::MachO::SymbolSet::findSymbol(), parseSymbol(), llvm::object::TapiFile::TapiFile(), and llvm::MachO::SymbolConverter::visitObjCInterface().