LLVM API Documentation

Public Types | Public Attributes
llvm::MCFixupKindInfo Struct Reference

MCFixupKindInfo - Target independent information on a fixup kind. More...

#include <MCFixupKindInfo.h>

Collaboration diagram for llvm::MCFixupKindInfo:
Collaboration graph
[legend]

List of all members.

Public Types

enum  FixupKindFlags { FKF_IsPCRel = (1 << 0), FKF_IsAlignedDownTo32Bits = (1 << 1) }

Public Attributes

const char * Name
unsigned TargetOffset
 The bit offset to write the relocation into.
unsigned TargetSize
unsigned Flags
 Flags describing additional information on this fixup kind.

Detailed Description

MCFixupKindInfo - Target independent information on a fixup kind.

Definition at line 16 of file MCFixupKindInfo.h.


Member Enumeration Documentation

Enumerator:
FKF_IsPCRel 

Is this fixup kind PCrelative? This is used by the assembler backend to evaluate fixup values in a target independent manner when possible.

FKF_IsAlignedDownTo32Bits 

Should this fixup kind force a 4-byte aligned effective PC value?

Definition at line 17 of file MCFixupKindInfo.h.


Member Data Documentation

Flags describing additional information on this fixup kind.

Definition at line 38 of file MCFixupKindInfo.h.

Referenced by llvm::MachObjectWriter::isFixupKindPCRel().

A target specific name for the fixup kind. The names will be unique for distinct kinds on any given target.

Definition at line 28 of file MCFixupKindInfo.h.

The bit offset to write the relocation into.

Definition at line 31 of file MCFixupKindInfo.h.

The number of bits written by this fixup. The bits are assumed to be contiguous.

Definition at line 35 of file MCFixupKindInfo.h.

Referenced by llvm::MipsAsmBackend::applyFixup().


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