LLVM 22.0.0git
llvm::SymbolInfoTy Struct Reference

#include "llvm/MC/MCDisassembler/MCDisassembler.h"

Public Member Functions

 SymbolInfoTy (std::optional< XCOFF::StorageMappingClass > Smc, uint64_t Addr, StringRef Name, std::optional< uint32_t > Idx, bool Label)
 SymbolInfoTy (uint64_t Addr, StringRef Name, uint8_t Type, bool IsMappingSymbol=false, bool IsXCOFF=false)
bool isXCOFF () const

Public Attributes

uint64_t Addr
StringRef Name
XCOFFSymbolInfoTy XCOFFSymInfo
uint8_t Type
bool IsMappingSymbol

Friends

bool operator< (const SymbolInfoTy &P1, const SymbolInfoTy &P2)

Detailed Description

Definition at line 30 of file MCDisassembler.h.

Constructor & Destructor Documentation

◆ SymbolInfoTy() [1/2]

llvm::SymbolInfoTy::SymbolInfoTy ( std::optional< XCOFF::StorageMappingClass > Smc,
uint64_t Addr,
StringRef Name,
std::optional< uint32_t > Idx,
bool Label )
inline

Definition at line 44 of file MCDisassembler.h.

References Addr, IsMappingSymbol, Name, Type, and XCOFFSymInfo.

Referenced by operator<.

◆ SymbolInfoTy() [2/2]

llvm::SymbolInfoTy::SymbolInfoTy ( uint64_t Addr,
StringRef Name,
uint8_t Type,
bool IsMappingSymbol = false,
bool IsXCOFF = false )
inline

Definition at line 48 of file MCDisassembler.h.

References Addr, IsMappingSymbol, Name, and Type.

Member Function Documentation

◆ isXCOFF()

bool llvm::SymbolInfoTy::isXCOFF ( ) const
inline

Definition at line 52 of file MCDisassembler.h.

◆ operator<

bool operator< ( const SymbolInfoTy & P1,
const SymbolInfoTy & P2 )
friend

Definition at line 55 of file MCDisassembler.h.

References Addr, assert(), IsMappingSymbol, Name, SymbolInfoTy(), Type, and XCOFFSymInfo.

Member Data Documentation

◆ Addr

uint64_t llvm::SymbolInfoTy::Addr

◆ IsMappingSymbol

bool llvm::SymbolInfoTy::IsMappingSymbol

Definition at line 37 of file MCDisassembler.h.

Referenced by operator<, SymbolInfoTy(), and SymbolInfoTy().

◆ Name

StringRef llvm::SymbolInfoTy::Name

Definition at line 32 of file MCDisassembler.h.

Referenced by operator<, SymbolInfoTy(), and SymbolInfoTy().

◆ Type

uint8_t llvm::SymbolInfoTy::Type

◆ XCOFFSymInfo

XCOFFSymbolInfoTy llvm::SymbolInfoTy::XCOFFSymInfo

Definition at line 34 of file MCDisassembler.h.

Referenced by operator<, and SymbolInfoTy().


The documentation for this struct was generated from the following file: