LLVM 20.0.0git
|
#include "llvm/Object/XCOFFObjectFile.h"
Public Types | |
enum | { NAME_IN_STR_TBL_MAGIC = 0x0 } |
Public Types inherited from llvm::object::SymbolRef | |
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 } |
Definition at line 786 of file XCOFFObjectFile.h.
anonymous enum |
Enumerator | |
---|---|
NAME_IN_STR_TBL_MAGIC |
Definition at line 788 of file XCOFFObjectFile.h.
|
inline |
Definition at line 790 of file XCOFFObjectFile.h.
References assert(), and llvm::object::DataRefImpl::p.
|
inline |
Definition at line 839 of file XCOFFObjectFile.h.
References assert(), llvm::XCOFF::C_FILE, getStorageClass(), and GETVALUE.
|
inline |
Definition at line 851 of file XCOFFObjectFile.h.
References llvm::object::BasicSymbolRef::getRawDataRefImpl(), and llvm::object::DataRefImpl::p.
Referenced by getXCOFFCsectAuxRef().
|
inline |
Definition at line 833 of file XCOFFObjectFile.h.
References assert(), llvm::XCOFF::C_FILE, getStorageClass(), and GETVALUE.
Definition at line 1356 of file XCOFFObjectFile.cpp.
References llvm::object::generateXCOFFFixedNameStringRef(), getStorageClass(), llvm::object::XCOFFObjectFile::getStringTableEntry(), getSymbol32(), getSymbol64(), is64Bit(), NAME_IN_STR_TBL_MAGIC, and llvm::Offset.
Referenced by llvm::object::XCOFFObjectFile::getSymbolName(), llvm::object::XCOFFObjectFile::getSymbolType(), and getXCOFFCsectAuxRef().
|
inline |
Definition at line 847 of file XCOFFObjectFile.h.
References GETVALUE.
Referenced by getXCOFFCsectAuxRef().
|
inline |
Definition at line 829 of file XCOFFObjectFile.h.
References GETVALUE.
Referenced by llvm::object::XCOFFObjectFile::getSymbolFlags(), llvm::object::XCOFFObjectFile::getSymbolSection(), llvm::object::XCOFFObjectFile::getSymbolSectionID(), llvm::object::XCOFFObjectFile::getSymbolSectionName(), and llvm::object::XCOFFObjectFile::getSymbolType().
|
inline |
Definition at line 820 of file XCOFFObjectFile.h.
References llvm::object::BasicSymbolRef::getRawDataRefImpl(), and llvm::object::XCOFFObjectFile::getSymbolSize().
Referenced by isFunction().
|
inline |
Definition at line 845 of file XCOFFObjectFile.h.
References GETVALUE.
Referenced by getCPUTypeIddForCFile(), getLanguageIdForCFile(), getName(), llvm::object::XCOFFObjectFile::getSymbolFlags(), llvm::object::XCOFFObjectFile::getSymbolType(), and isCsectSymbol().
|
inline |
Definition at line 798 of file XCOFFObjectFile.h.
References llvm::object::BasicSymbolRef::getRawDataRefImpl(), and llvm::object::DataRefImpl::p.
Referenced by getName().
|
inline |
Definition at line 802 of file XCOFFObjectFile.h.
References llvm::object::BasicSymbolRef::getRawDataRefImpl(), and llvm::object::DataRefImpl::p.
Referenced by getName().
|
inline |
Definition at line 831 of file XCOFFObjectFile.h.
References GETVALUE.
Referenced by llvm::object::XCOFFObjectFile::getSymbolFlags(), and isFunction().
|
inline |
Definition at line 806 of file XCOFFObjectFile.h.
References getValue32(), getValue64(), and llvm::object::XCOFFObjectFile::is64Bit().
Referenced by llvm::object::XCOFFObjectFile::getSymbolAddress(), and llvm::object::XCOFFObjectFile::getSymbolValueImpl().
|
inline |
Definition at line 810 of file XCOFFObjectFile.h.
References llvm::object::BasicSymbolRef::getRawDataRefImpl(), and llvm::object::DataRefImpl::p.
Referenced by getValue().
|
inline |
Definition at line 815 of file XCOFFObjectFile.h.
References llvm::object::BasicSymbolRef::getRawDataRefImpl(), and llvm::object::DataRefImpl::p.
Referenced by getValue().
Expected< XCOFFCsectAuxRef > llvm::object::XCOFFSymbolRef::getXCOFFCsectAuxRef | ( | ) | const |
Definition at line 1313 of file XCOFFObjectFile.cpp.
References assert(), llvm::XCOFF::AUX_CSECT, llvm::object::XCOFFObjectFile::checkSymbolEntryPointer(), llvm::object::createError(), llvm::object::XCOFFObjectFile::getAdvancedSymbolEntryAddress(), getEntryAddress(), getName(), getNumberOfAuxEntries(), llvm::object::XCOFFObjectFile::getSymbolIndex(), Index, is64Bit(), isCsectSymbol(), and llvm::Expected< T >::takeError().
Referenced by llvm::object::XCOFFObjectFile::getCommonSymbolSizeImpl(), llvm::object::XCOFFObjectFile::getSymbolAlignment(), llvm::object::XCOFFObjectFile::getSymbolFlags(), llvm::object::XCOFFObjectFile::getSymbolSize(), and isFunction().
bool llvm::object::XCOFFSymbolRef::isCsectSymbol | ( | ) | const |
Definition at line 1307 of file XCOFFObjectFile.cpp.
References llvm::XCOFF::C_EXT, llvm::XCOFF::C_HIDEXT, llvm::XCOFF::C_WEAKEXT, and getStorageClass().
Referenced by llvm::object::XCOFFObjectFile::getCommonSymbolSizeImpl(), llvm::object::XCOFFObjectFile::getSymbolAlignment(), llvm::object::XCOFFObjectFile::getSymbolFlags(), llvm::object::XCOFFObjectFile::getSymbolSize(), getXCOFFCsectAuxRef(), and isFunction().
Definition at line 1241 of file XCOFFObjectFile.cpp.
References llvm::cantFail(), llvm::object::createError(), llvm::object::FunctionSym, llvm::Expected< T >::get(), llvm::object::SymbolRef::getAddress(), llvm::object::XCOFFCsectAuxRef::getEntryAddress(), getSize(), llvm::object::XCOFFCsectAuxRef::getStorageMappingClass(), llvm::object::XCOFFCsectAuxRef::getSymbolType(), getSymbolType(), getXCOFFCsectAuxRef(), isCsectSymbol(), llvm::Expected< T >::takeError(), llvm::Twine::utohexstr(), llvm::XCOFF::XMC_GL, llvm::XCOFF::XMC_PR, llvm::XCOFF::XTY_CM, llvm::XCOFF::XTY_ER, llvm::XCOFF::XTY_LD, and llvm::XCOFF::XTY_SD.
Referenced by llvm::object::XCOFFObjectFile::getSymbolType().