LLVM 22.0.0git
SparcAsmBackend.cpp File Reference
#include "MCTargetDesc/SparcFixupKinds.h"
#include "MCTargetDesc/SparcMCTargetDesc.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCValue.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/BinaryFormat/ELFRelocs/Sparc.def"

Go to the source code of this file.

Macros

#define ELF_RELOC(X, Y)

Functions

static unsigned adjustFixupValue (unsigned Kind, uint64_t Value)
static unsigned getFixupKindNumBytes (unsigned Kind)
 getFixupKindNumBytes - The number of bytes the fixup may change.

Macro Definition Documentation

◆ ELF_RELOC

#define ELF_RELOC ( X,
Y )
Value:
.Case(#X, Y)
static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton, "Generate example skeleton entry")
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")

Function Documentation

◆ adjustFixupValue()

◆ getFixupKindNumBytes()

unsigned getFixupKindNumBytes ( unsigned Kind)
static

getFixupKindNumBytes - The number of bytes the fixup may change.

Definition at line 100 of file SparcAsmBackend.cpp.

References llvm::FK_Data_1, llvm::FK_Data_2, and llvm::FK_Data_8.