LLVM  11.0.0git
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
llvm::object::XCOFFRelocation32 Struct Reference

#include "llvm/Object/XCOFFObjectFile.h"

Collaboration diagram for llvm::object::XCOFFRelocation32:
Collaboration graph

Public Member Functions

bool isRelocationSigned () const
bool isFixupIndicated () const
uint8_t getRelocatedLength () const

Public Attributes

support::ubig32_t VirtualAddress
support::ubig32_t SymbolIndex
uint8_t Info
XCOFF::RelocationType Type

Static Public Attributes

static constexpr uint8_t XR_SIGN_INDICATOR_MASK = 0x80
static constexpr uint8_t XR_FIXUP_INDICATOR_MASK = 0x40
static constexpr uint8_t XR_BIASED_LENGTH_MASK = 0x3f

Detailed Description

Definition at line 184 of file XCOFFObjectFile.h.

Member Function Documentation

◆ getRelocatedLength()

uint8_t llvm::object::XCOFFRelocation32::getRelocatedLength ( ) const

◆ isFixupIndicated()

bool llvm::object::XCOFFRelocation32::isFixupIndicated ( ) const

Definition at line 71 of file XCOFFObjectFile.cpp.

References Info, and XR_FIXUP_INDICATOR_MASK.

◆ isRelocationSigned()

bool llvm::object::XCOFFRelocation32::isRelocationSigned ( ) const

Definition at line 67 of file XCOFFObjectFile.cpp.

References Info, and XR_SIGN_INDICATOR_MASK.

Member Data Documentation

◆ Info

uint8_t llvm::object::XCOFFRelocation32::Info

Definition at line 204 of file XCOFFObjectFile.h.

Referenced by getRelocatedLength(), isFixupIndicated(), and isRelocationSigned().

◆ SymbolIndex

support::ubig32_t llvm::object::XCOFFRelocation32::SymbolIndex

◆ Type

XCOFF::RelocationType llvm::object::XCOFFRelocation32::Type

◆ VirtualAddress

support::ubig32_t llvm::object::XCOFFRelocation32::VirtualAddress


constexpr uint8_t llvm::object::XCOFFRelocation32::XR_BIASED_LENGTH_MASK = 0x3f

Definition at line 197 of file XCOFFObjectFile.h.

Referenced by getRelocatedLength().


constexpr uint8_t llvm::object::XCOFFRelocation32::XR_FIXUP_INDICATOR_MASK = 0x40

Definition at line 193 of file XCOFFObjectFile.h.

Referenced by isFixupIndicated().


constexpr uint8_t llvm::object::XCOFFRelocation32::XR_SIGN_INDICATOR_MASK = 0x80

Definition at line 189 of file XCOFFObjectFile.h.

Referenced by isRelocationSigned().

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