LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::XCOFFSymbolInfoTy Struct Reference

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

Public Member Functions

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 22 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 85 of file MCDisassembler.cpp.

References getSMCPriority(), and IsLabel.

Member Data Documentation

◆ Index

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

Definition at line 24 of file MCDisassembler.h.

◆ IsLabel

bool llvm::XCOFFSymbolInfoTy::IsLabel = false

Definition at line 25 of file MCDisassembler.h.

Referenced by operator<().

◆ StorageMappingClass

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

Definition at line 23 of file MCDisassembler.h.


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