LLVM 22.0.0git
llvm::XCOFFSymbolInfoTy Struct Reference

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

Public Member Functions

LLVM_ABI bool operator< (const XCOFFSymbolInfoTy &SymInfo) const
 The function is for symbol sorting when symbols have the same address.

Public Attributes

std::optional< XCOFF::StorageMappingClassStorageMappingClass
std::optional< uint32_tIndex
bool IsLabel = false

Detailed Description

Definition at line 23 of file MCDisassembler.h.

Member Function Documentation

◆ operator<()

bool XCOFFSymbolInfoTy::operator< ( const XCOFFSymbolInfoTy & SymInfo) const

The function is for symbol sorting when symbols have the same address.

The symbols in the same section are sorted in ascending order. llvm-objdump -D will choose the highest priority symbol to display when there are symbols with the same address.

Definition at line 89 of file MCDisassembler.cpp.

References getSMCPriority(), IsLabel, and StorageMappingClass.

Member Data Documentation

◆ Index

std::optional<uint32_t> llvm::XCOFFSymbolInfoTy::Index

Definition at line 25 of file MCDisassembler.h.

◆ IsLabel

bool llvm::XCOFFSymbolInfoTy::IsLabel = false

Definition at line 26 of file MCDisassembler.h.

Referenced by operator<().

◆ StorageMappingClass

std::optional<XCOFF::StorageMappingClass> llvm::XCOFFSymbolInfoTy::StorageMappingClass

Definition at line 24 of file MCDisassembler.h.

Referenced by operator<().


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