LLVM 20.0.0git
|
#include "llvm/TextAPI/Symbol.h"
Public Types | |
using | const_target_iterator = TargetList::const_iterator |
using | const_target_range = llvm::iterator_range< const_target_iterator > |
using | const_filtered_target_iterator = llvm::filter_iterator< const_target_iterator, std::function< bool(const Target &)> > |
using | const_filtered_target_range = llvm::iterator_range< const_filtered_target_iterator > |
Public Member Functions | |
Symbol (EncodeKind Kind, StringRef Name, TargetList Targets, SymbolFlags Flags) | |
void | addTarget (Target InputTarget) |
EncodeKind | getKind () const |
StringRef | getName () const |
ArchitectureSet | getArchitectures () const |
SymbolFlags | getFlags () const |
bool | isWeakDefined () const |
bool | isWeakReferenced () const |
bool | isThreadLocalValue () const |
bool | isUndefined () const |
bool | isReexported () const |
bool | isData () const |
bool | isText () const |
bool | hasArchitecture (Architecture Arch) const |
bool | hasTarget (const Target &Targ) const |
const_target_range | targets () const |
const_filtered_target_range | targets (ArchitectureSet architectures) const |
void | dump (raw_ostream &OS) const |
void | dump () const |
bool | operator== (const Symbol &O) const |
bool | operator!= (const Symbol &O) const |
bool | operator< (const Symbol &O) const |
using llvm::MachO::Symbol::const_filtered_target_iterator = llvm::filter_iterator<const_target_iterator, std::function<bool(const Target &)> > |
|
inline |
|
inline |
Definition at line 101 of file Symbol.h.
References llvm::MachO::addEntry().
Referenced by llvm::MachO::SymbolSet::addGlobal().
|
inline |
LLVM_DUMP_METHOD void llvm::MachO::Symbol::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 20 of file Symbol.cpp.
References llvm::MachO::GlobalSymbol, isThreadLocalValue(), isUndefined(), isWeakDefined(), isWeakReferenced(), llvm::MachO::ObjectiveCClass, llvm::MachO::ObjectiveCClassEHType, llvm::MachO::ObjectiveCInstanceVariable, OS, and llvm::StringRef::str().
|
inline |
Definition at line 104 of file Symbol.h.
References llvm::MachO::mapToArchitectureSet().
Referenced by llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::NormalizedTBD(), llvm::MachO::InterfaceFile::remove(), and llvm::object::TapiFile::TapiFile().
|
inline |
Definition at line 107 of file Symbol.h.
Referenced by accumulateLocs(), llvm::MachO::InterfaceFile::extract(), llvm::MachO::InterfaceFile::merge(), readSymbols(), and llvm::MachO::InterfaceFile::remove().
|
inline |
Definition at line 102 of file Symbol.h.
Referenced by llvm::MachO::InterfaceFile::extract(), llvm::MachO::InterfaceFile::merge(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::NormalizedTBD(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD_V4::NormalizedTBD_V4(), llvm::MachO::InterfaceFile::remove(), and llvm::object::TapiFile::TapiFile().
|
inline |
Definition at line 103 of file Symbol.h.
Referenced by accumulateLocs(), llvm::MachO::InterfaceFile::extract(), llvm::MachO::InterfaceFile::merge(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::NormalizedTBD(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD_V4::NormalizedTBD_V4(), readSymbols(), llvm::MachO::InterfaceFile::remove(), and llvm::object::TapiFile::TapiFile().
|
inline |
Definition at line 138 of file Symbol.h.
References llvm::MachO::ArchitectureSet::contains(), and llvm::MachO::mapToArchitectureSet().
Referenced by llvm::MachO::InterfaceFile::extract().
Definition at line 142 of file Symbol.h.
References llvm::is_contained().
|
inline |
|
inline |
Definition at line 126 of file Symbol.h.
References llvm::MachO::Rexported.
Referenced by llvm::MachO::SymbolSet::exports(), and llvm::MachO::SymbolSet::reexports().
|
inline |
|
inline |
Definition at line 117 of file Symbol.h.
References llvm::MachO::ThreadLocalValue.
Referenced by dump(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::NormalizedTBD(), and llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD_V4::NormalizedTBD_V4().
|
inline |
Definition at line 122 of file Symbol.h.
References llvm::MachO::Undefined.
Referenced by dump(), llvm::MachO::SymbolSet::exports(), getFlags(), and llvm::MachO::SymbolSet::undefineds().
|
inline |
Definition at line 109 of file Symbol.h.
References llvm::MachO::WeakDefined.
Referenced by dump(), getFlags(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::NormalizedTBD(), and llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD_V4::NormalizedTBD_V4().
|
inline |
Definition at line 113 of file Symbol.h.
References llvm::MachO::WeakReferenced.
Referenced by dump(), getFlags(), and llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD::NormalizedTBD().
Definition at line 57 of file Symbol.cpp.
References llvm::MachO::Data, Sym, and llvm::MachO::Text.
|
inline |
Definition at line 148 of file Symbol.h.
Referenced by llvm::MachO::InterfaceFile::extract(), llvm::MachO::InterfaceFile::merge(), llvm::yaml::MappingTraits< const InterfaceFile * >::NormalizedTBD_V4::NormalizedTBD_V4(), and llvm::MachO::InterfaceFile::remove().
Symbol::const_filtered_target_range llvm::MachO::Symbol::targets | ( | ArchitectureSet | architectures | ) | const |
Definition at line 49 of file Symbol.cpp.
References llvm::MachO::Target::Arch, llvm::MachO::ArchitectureSet::has(), and llvm::make_filter_range().