LLVM
17.0.0git
|
This is a value type class that represents a single symbol in the list of symbols in the object file. More...
#include "llvm/Object/SymbolicFile.h"
Public Types | |
enum | Flags : unsigned { SF_None = 0, SF_Undefined = 1U << 0, SF_Global = 1U << 1, SF_Weak = 1U << 2, SF_Absolute = 1U << 3, SF_Common = 1U << 4, SF_Indirect = 1U << 5, SF_Exported = 1U << 6, SF_FormatSpecific = 1U << 7, SF_Thumb = 1U << 8, SF_Hidden = 1U << 9, SF_Const = 1U << 10, SF_Executable = 1U << 11 } |
Public Member Functions | |
BasicSymbolRef ()=default | |
BasicSymbolRef (DataRefImpl SymbolP, const SymbolicFile *Owner) | |
bool | operator== (const BasicSymbolRef &Other) const |
bool | operator< (const BasicSymbolRef &Other) const |
void | moveNext () |
Error | printName (raw_ostream &OS) const |
Expected< uint32_t > | getFlags () const |
Get symbol flags (bitwise OR of SymbolRef::Flags) More... | |
DataRefImpl | getRawDataRefImpl () const |
const SymbolicFile * | getObject () const |
This is a value type class that represents a single symbol in the list of symbols in the object file.
Definition at line 103 of file SymbolicFile.h.
enum llvm::object::BasicSymbolRef::Flags : unsigned |
Enumerator | |
---|---|
SF_None | |
SF_Undefined | |
SF_Global | |
SF_Weak | |
SF_Absolute | |
SF_Common | |
SF_Indirect | |
SF_Exported | |
SF_FormatSpecific | |
SF_Thumb | |
SF_Hidden | |
SF_Const | |
SF_Executable |
Definition at line 108 of file SymbolicFile.h.
|
default |
|
inline |
Definition at line 184 of file SymbolicFile.h.
Get symbol flags (bitwise OR of SymbolRef::Flags)
Definition at line 204 of file SymbolicFile.h.
References llvm::object::SymbolicFile::getSymbolFlags().
|
inline |
Definition at line 212 of file SymbolicFile.h.
Referenced by llvm::object::ELFSymbolRef::getObject(), llvm::object::SymbolRef::getObject(), and llvm::object::SymbolRef::SymbolRef().
|
inline |
Definition at line 208 of file SymbolicFile.h.
Referenced by llvm::object::SymbolRef::getAddress(), llvm::object::SymbolRef::getAlignment(), llvm::object::ELFSymbolRef::getBinding(), llvm::object::SymbolRef::getCommonSize(), llvm::object::ELFSymbolRef::getELFType(), llvm::object::SymbolRef::getName(), llvm::object::ELFSymbolRef::getOther(), llvm::object::SymbolRef::getSection(), llvm::object::ELFSymbolRef::getSize(), llvm::object::XCOFFObjectFile::getSymbolSectionID(), llvm::object::COFFObjectFile::getSymbolSectionID(), llvm::object::SymbolRef::getType(), and llvm::object::SymbolRef::getValue().
|
inline |
Definition at line 196 of file SymbolicFile.h.
References llvm::object::SymbolicFile::moveSymbolNext().
|
inline |
Definition at line 192 of file SymbolicFile.h.
References Other.
|
inline |
Definition at line 188 of file SymbolicFile.h.
References Other.
|
inline |
Definition at line 200 of file SymbolicFile.h.
References llvm::object::SymbolicFile::printSymbolName().