LLVM  13.0.0git
Public Types | Public Member Functions | List of all members
llvm::object::XCOFFSymbolRef Class Reference

#include "llvm/Object/XCOFFObjectFile.h"

Public Types

enum  { NAME_IN_STR_TBL_MAGIC = 0x0 }
 

Public Member Functions

 XCOFFSymbolRef (DataRefImpl SymEntDataRef, const XCOFFObjectFile *OwningObjectPtr)
 
uint64_t getValue () const
 
uint32_t getValue32 () const
 
uint64_t getValue64 () const
 
int16_t getSectionNumber () const
 
uint16_t getSymbolType () const
 
uint8_t getLanguageIdForCFile () const
 
uint8_t getCPUTypeIddForCFile () const
 
XCOFF::StorageClass getStorageClass () const
 
uint8_t getNumberOfAuxEntries () const
 
uintptr_t getEntryAddress () const
 
Expected< StringRefgetName () const
 
bool isFunction () const
 
bool isCsectSymbol () const
 
Expected< XCOFFCsectAuxRefgetXCOFFCsectAuxRef () const
 

Detailed Description

Definition at line 480 of file XCOFFObjectFile.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NAME_IN_STR_TBL_MAGIC 

Definition at line 482 of file XCOFFObjectFile.h.

Constructor & Destructor Documentation

◆ XCOFFSymbolRef()

llvm::object::XCOFFSymbolRef::XCOFFSymbolRef ( DataRefImpl  SymEntDataRef,
const XCOFFObjectFile OwningObjectPtr 
)
inline

Member Function Documentation

◆ getCPUTypeIddForCFile()

uint8_t llvm::object::XCOFFSymbolRef::getCPUTypeIddForCFile ( ) const
inline

Definition at line 515 of file XCOFFObjectFile.h.

References assert(), llvm::XCOFF::C_FILE, getStorageClass(), and GETVALUE.

◆ getEntryAddress()

uintptr_t llvm::object::XCOFFSymbolRef::getEntryAddress ( ) const
inline

Definition at line 527 of file XCOFFObjectFile.h.

◆ getLanguageIdForCFile()

uint8_t llvm::object::XCOFFSymbolRef::getLanguageIdForCFile ( ) const
inline

Definition at line 509 of file XCOFFObjectFile.h.

References assert(), llvm::XCOFF::C_FILE, getStorageClass(), and GETVALUE.

◆ getName()

Expected< StringRef > llvm::object::XCOFFSymbolRef::getName ( ) const

◆ getNumberOfAuxEntries()

uint8_t llvm::object::XCOFFSymbolRef::getNumberOfAuxEntries ( ) const
inline

Definition at line 523 of file XCOFFObjectFile.h.

References GETVALUE.

Referenced by getXCOFFCsectAuxRef().

◆ getSectionNumber()

int16_t llvm::object::XCOFFSymbolRef::getSectionNumber ( ) const
inline

◆ getStorageClass()

XCOFF::StorageClass llvm::object::XCOFFSymbolRef::getStorageClass ( ) const
inline

Definition at line 521 of file XCOFFObjectFile.h.

References GETVALUE.

Referenced by getCPUTypeIddForCFile(), getLanguageIdForCFile(), getName(), and isCsectSymbol().

◆ getSymbolType()

uint16_t llvm::object::XCOFFSymbolRef::getSymbolType ( ) const
inline

Definition at line 507 of file XCOFFObjectFile.h.

References GETVALUE.

Referenced by isFunction().

◆ getValue()

uint64_t llvm::object::XCOFFSymbolRef::getValue ( ) const
inline

Definition at line 497 of file XCOFFObjectFile.h.

References getValue32(), and getValue64().

◆ getValue32()

uint32_t llvm::object::XCOFFSymbolRef::getValue32 ( ) const
inline

Definition at line 499 of file XCOFFObjectFile.h.

References llvm::object::XCOFFSymbolEntry32::Value.

Referenced by getValue().

◆ getValue64()

uint64_t llvm::object::XCOFFSymbolRef::getValue64 ( ) const
inline

Definition at line 501 of file XCOFFObjectFile.h.

References llvm::object::XCOFFSymbolEntry64::Value.

Referenced by getValue().

◆ getXCOFFCsectAuxRef()

Expected< XCOFFCsectAuxRef > llvm::object::XCOFFSymbolRef::getXCOFFCsectAuxRef ( ) const

Definition at line 837 of file XCOFFObjectFile.cpp.

References assert(), getName(), getNumberOfAuxEntries(), and isCsectSymbol().

Referenced by isFunction().

◆ isCsectSymbol()

bool llvm::object::XCOFFSymbolRef::isCsectSymbol ( ) const

◆ isFunction()

bool llvm::object::XCOFFSymbolRef::isFunction ( ) const

The documentation for this class was generated from the following files: