LLVM: llvm::object::SymbolRef Class Reference (original) (raw)
This is a value type class that represents a single symbol in the list of symbols in the object file. More...
#include "[llvm/Object/ObjectFile.h](ObjectFile%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| enum | Type { ST_Unknown, ST_Other, ST_Data, ST_Debug, ST_File, ST_Function } |
| Public Types inherited from llvm::object::BasicSymbolRef | |
| 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 } |
This is a value type class that represents a single symbol in the list of symbols in the object file.
Definition at line 170 of file ObjectFile.h.
◆ Type
| Enumerator |
|---|
| ST_Unknown |
| ST_Other |
| ST_Data |
| ST_Debug |
| ST_File |
| ST_Function |
Definition at line 174 of file ObjectFile.h.
| llvm::object::SymbolRef::SymbolRef ( ) | default |
|---|
◆ SymbolRef() [2/3]
◆ SymbolRef() [3/3]
◆ getAddress()
◆ getAlignment()
| uint32_t llvm::object::SymbolRef::getAlignment ( ) const | inline |
|---|
◆ getCommonSize()
| uint64_t llvm::object::SymbolRef::getCommonSize ( ) const | inline |
|---|
◆ getName()
◆ getObject()
Definition at line 493 of file ObjectFile.h.
References llvm::cast(), and llvm::object::BasicSymbolRef::getObject().
Referenced by llvm::object::ELFSymbolRef::ELFSymbolRef(), getAddress(), getAlignment(), getCommonSize(), getName(), llvm::object::XCOFFSymbolRef::getName(), getSection(), llvm::object::XCOFFSymbolRef::getSize(), getType(), getValue(), llvm::object::XCOFFSymbolRef::getValue(), llvm::object::XCOFFSymbolRef::getXCOFFCsectAuxRef(), llvm::object::GOFFSymbolRef::GOFFSymbolRef(), and llvm::object::XCOFFSymbolRef::isFunction().
◆ getSection()
◆ getType()
| Expected< SymbolRef::Type > llvm::object::SymbolRef::getType ( ) const | inline |
|---|
◆ getValue()
◆ SectionRef
The documentation for this class was generated from the following file:
- include/llvm/Object/ObjectFile.h