LLVM 19.0.0git
Functions | Variables
MCObjectStreamer.cpp File Reference
#include "llvm/MC/MCObjectStreamer.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCCodeView.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SourceMgr.h"

Go to the source code of this file.

Functions

static std::optional< uint64_tabsoluteSymbolDiff (const MCSymbol *Hi, const MCSymbol *Lo)
 
static bool canReuseDataFragment (const MCDataFragment &F, const MCAssembler &Assembler, const MCSubtargetInfo *STI)
 
static const MCExprbuildSymbolDiff (MCObjectStreamer &OS, const MCSymbol *A, const MCSymbol *B, SMLoc Loc)
 
static void emitDwarfSetLineAddr (MCObjectStreamer &OS, MCDwarfLineTableParams Params, int64_t LineDelta, const MCSymbol *Label, int PointerSize)
 
static std::optional< std::pair< bool, std::string > > getOffsetAndDataFragment (const MCSymbol &Symbol, uint32_t &RelocOffset, MCDataFragment *&DF)
 

Variables

static const char *const BundlingNotImplementedMsg
 

Function Documentation

◆ absoluteSymbolDiff()

static std::optional< uint64_t > absoluteSymbolDiff ( const MCSymbol Hi,
const MCSymbol Lo 
)
static

◆ buildSymbolDiff()

static const MCExpr * buildSymbolDiff ( MCObjectStreamer OS,
const MCSymbol A,
const MCSymbol B,
SMLoc  Loc 
)
static

◆ canReuseDataFragment()

static bool canReuseDataFragment ( const MCDataFragment F,
const MCAssembler Assembler,
const MCSubtargetInfo STI 
)
static

◆ emitDwarfSetLineAddr()

static void emitDwarfSetLineAddr ( MCObjectStreamer OS,
MCDwarfLineTableParams  Params,
int64_t  LineDelta,
const MCSymbol Label,
int  PointerSize 
)
static

◆ getOffsetAndDataFragment()

static std::optional< std::pair< bool, std::string > > getOffsetAndDataFragment ( const MCSymbol Symbol,
uint32_t RelocOffset,
MCDataFragment *&  DF 
)
static

Variable Documentation

◆ BundlingNotImplementedMsg

const char* const BundlingNotImplementedMsg
static
Initial value:
=
"Aligned bundling is not implemented for this object format"

Definition at line 488 of file MCObjectStreamer.cpp.

Referenced by llvm::MCObjectStreamer::emitBundleAlignMode(), llvm::MCObjectStreamer::emitBundleLock(), and llvm::MCObjectStreamer::emitBundleUnlock().