10 #ifndef LLVM_MC_MCFIXUP_H
11 #define LLVM_MC_MCFIXUP_H
14 #include "llvm/Support/DataTypes.h"
A eight-byte pc relative fixup.
static MCFixupKind getKindForSize(unsigned Size, bool isPCRel)
Return the generic fixup kind for a value with the given size.
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
A one-byte pc relative fixup.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
Base class for the full range of assembler expressions which are needed for parsing.
A four-byte section relative fixup.
A four-byte gp relative fixup.
A two-byte section relative fixup.
uint32_t getOffset() const
const MCExpr * getValue() const
void setOffset(uint32_t Value)
MCFixupKind
Extensible enumeration to represent the type of a fixup.
MCFixupKind getKind() const
static MCFixup create(uint32_t Offset, const MCExpr *Value, MCFixupKind Kind, SMLoc Loc=SMLoc())
A two-byte pc relative fixup.
A four-byte pc relative fixup.
A two-byte gp relative fixup.
A one-byte section relative fixup.
A eight-byte gp relative fixup.
A eight-byte section relative fixup.
A one-byte gp relative fixup.
LLVM Value Representation.
Represents a location in source code.