LLVM  6.0.0svn
Public Types | Public Attributes | List of all members
llvm::MCFixupKindInfo Struct Reference

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

#include "llvm/MC/MCFixupKindInfo.h"

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

Public Types

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

Public Attributes

const charName
 A target specific name for the fixup kind. More...
 
unsigned TargetOffset
 The bit offset to write the relocation into. More...
 
unsigned TargetSize
 The number of bits written by this fixup. More...
 
unsigned Flags
 Flags describing additional information on this fixup kind. More...
 

Detailed Description

Target independent information on a fixup kind.

Definition at line 16 of file MCFixupKindInfo.h.

Member Enumeration Documentation

◆ FixupKindFlags

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

unsigned llvm::MCFixupKindInfo::Flags

Flags describing additional information on this fixup kind.

Definition at line 38 of file MCFixupKindInfo.h.

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

◆ Name

const char* llvm::MCFixupKindInfo::Name

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.

Referenced by PrintCFIEscape().

◆ TargetOffset

unsigned llvm::MCFixupKindInfo::TargetOffset

The bit offset to write the relocation into.

Definition at line 31 of file MCFixupKindInfo.h.

Referenced by adjustFixupValue(), llvm::AVRAsmBackend::applyFixup(), and PrintCFIEscape().

◆ TargetSize

unsigned llvm::MCFixupKindInfo::TargetSize

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::AVRAsmBackend::applyFixup(), llvm::MipsAsmBackend::applyFixup(), and PrintCFIEscape().


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