LLVM 17.0.0git
|
Typedefs | |
using | IFPtr = std::unique_ptr< InterfaceFile > |
Functions | |
Expected< FileType > | getVersion (const Object *File) |
Expected< TargetList > | getTargets (const Object *Section) |
Expected< TargetList > | getTargetsSection (const Object *Section) |
Error | collectSymbolsFromSegment (const Object *Segment, TargetsToSymbols &Result, SymbolFlags SectionFlag) |
Expected< StringRef > | getNameSection (const Object *File) |
Expected< TargetsToSymbols > | getSymbolSection (const Object *File, TBDKey Key, TargetList &Targets) |
Expected< AttrToTargets > | getLibSection (const Object *File, TBDKey Key, TBDKey SubKey, const TargetList &Targets) |
Expected< AttrToTargets > | getUmbrellaSection (const Object *File, const TargetList &Targets) |
Expected< uint8_t > | getSwiftVersion (const Object *File) |
Expected< PackedVersion > | getPackedVersion (const Object *File, TBDKey Key) |
Expected< TBDFlags > | getFlags (const Object *File) |
Expected< IFPtr > | parseToInterfaceFile (const Object *File) |
Expected< std::vector< IFPtr > > | getInlinedLibs (const Object *File) |
using StubParser::IFPtr = typedef std::unique_ptr<InterfaceFile> |
Definition at line 579 of file TextStubV5.cpp.
Error StubParser::collectSymbolsFromSegment | ( | const Object * | Segment, |
TargetsToSymbols & | Result, | ||
SymbolFlags | SectionFlag | ||
) |
Definition at line 304 of file TextStubV5.cpp.
References collectFromArray(), Name, llvm::Error::success(), and Sym.
Referenced by getSymbolSection().
Definition at line 547 of file TextStubV5.cpp.
References llvm::StringSwitch< T, R >::Case(), collectFromArray(), llvm::StringSwitch< T, R >::Default(), Flags, getParseErrorMsg(), and Keys.
Referenced by parseToInterfaceFile().
Definition at line 683 of file TextStubV5.cpp.
References Keys, llvm::Lib, and parseToInterfaceFile().
Referenced by llvm::MachO::getInterfaceFileFromJSON().
Expected< AttrToTargets > StubParser::getLibSection | ( | const Object * | File, |
TBDKey | Key, | ||
TBDKey | SubKey, | ||
const TargetList & | Targets | ||
) |
Definition at line 439 of file TextStubV5.cpp.
References collectFromArray(), llvm::consumeError(), getTargets(), Keys, and Targets.
Referenced by parseToInterfaceFile().
Definition at line 365 of file TextStubV5.cpp.
References assert(), getParseErrorMsg(), llvm::json::Object::getString(), and Keys.
Referenced by parseToInterfaceFile().
Expected< PackedVersion > StubParser::getPackedVersion | ( | const Object * | File, |
TBDKey | Key | ||
) |
Definition at line 521 of file TextStubV5.cpp.
References getParseErrorMsg(), llvm::json::Object::getString(), Keys, llvm::MachO::PackedVersion::parse64(), llvm::success, and llvm::truncated.
Referenced by parseToInterfaceFile().
Definition at line 503 of file TextStubV5.cpp.
References llvm::json::Object::getInteger(), getParseErrorMsg(), and Keys.
Referenced by parseToInterfaceFile().
Expected< TargetsToSymbols > StubParser::getSymbolSection | ( | const Object * | File, |
TBDKey | Key, | ||
TargetList & | Targets | ||
) |
Definition at line 379 of file TextStubV5.cpp.
References collectSymbolsFromSegment(), llvm::consumeError(), llvm::json::Object::getObject(), getParseErrorMsg(), getTargets(), Keys, and Targets.
Referenced by parseToInterfaceFile().
Expected< TargetList > StubParser::getTargets | ( | const Object * | Section | ) |
Definition at line 253 of file TextStubV5.cpp.
References llvm::MachO::Target::create(), getParseErrorMsg(), Keys, llvm::SmallVectorTemplateBase< T, bool >::push_back(), and Targets.
Referenced by getLibSection(), getSymbolSection(), and getUmbrellaSection().
Expected< TargetList > StubParser::getTargetsSection | ( | const Object * | Section | ) |
Definition at line 271 of file TextStubV5.cpp.
References llvm::MachO::Target::create(), getParseErrorMsg(), llvm::json::Object::getString(), llvm::MachO::getTargetTripleName(), Keys, llvm::SmallVectorTemplateBase< T, bool >::push_back(), and Targets.
Referenced by parseToInterfaceFile().
Expected< AttrToTargets > StubParser::getUmbrellaSection | ( | const Object * | File, |
const TargetList & | Targets | ||
) |
Definition at line 471 of file TextStubV5.cpp.
References llvm::consumeError(), getParseErrorMsg(), llvm::json::Object::getString(), getTargets(), Keys, Targets, and Umbrella.
Referenced by parseToInterfaceFile().
Definition at line 238 of file TextStubV5.cpp.
References llvm::json::Object::getInteger().
Referenced by llvm::MachO::getInterfaceFileFromJSON().
Definition at line 580 of file TextStubV5.cpp.
References Clients, Exports, F, Flags, getFlags(), getLibSection(), getNameSection(), getPackedVersion(), getSwiftVersion(), getSymbolSection(), getTargetsSection(), getUmbrellaSection(), llvm::Lib, Name, ReexportLibs, Reexports, SwiftABI, Sym, Targets, and Undefineds.
Referenced by getInlinedLibs(), and llvm::MachO::getInterfaceFileFromJSON().