LLVM  16.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)
 
const XCOFFSymbolEntry32getSymbol32 ()
 
const XCOFFSymbolEntry64getSymbol64 ()
 
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 751 of file XCOFFObjectFile.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NAME_IN_STR_TBL_MAGIC 

Definition at line 753 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 789 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 801 of file XCOFFObjectFile.h.

◆ getLanguageIdForCFile()

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

Definition at line 783 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 797 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

◆ getSymbol32()

const XCOFFSymbolEntry32* llvm::object::XCOFFSymbolRef::getSymbol32 ( )
inline

Definition at line 768 of file XCOFFObjectFile.h.

◆ getSymbol64()

const XCOFFSymbolEntry64* llvm::object::XCOFFSymbolRef::getSymbol64 ( )
inline

Definition at line 769 of file XCOFFObjectFile.h.

◆ getSymbolType()

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

Definition at line 781 of file XCOFFObjectFile.h.

References GETVALUE.

Referenced by llvm::object::XCOFFObjectFile::getSymbolFlags(), and isFunction().

◆ getValue()

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

Definition at line 771 of file XCOFFObjectFile.h.

References getValue32(), and getValue64().

◆ getValue32()

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

Definition at line 773 of file XCOFFObjectFile.h.

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

Referenced by getValue().

◆ getValue64()

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

Definition at line 775 of file XCOFFObjectFile.h.

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

Referenced by getValue().

◆ getXCOFFCsectAuxRef()

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

◆ 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: