LLVM 20.0.0git
|
#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_t > | absoluteSymbolDiff (const MCSymbol *Hi, const MCSymbol *Lo) |
static bool | canReuseDataFragment (const MCDataFragment &F, const MCAssembler &Assembler, const MCSubtargetInfo *STI) |
static const MCExpr * | buildSymbolDiff (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 |
|
static |
Definition at line 94 of file MCObjectStreamer.cpp.
References assert(), llvm::Hi, and llvm::Lo.
Referenced by llvm::MCObjectStreamer::emitAbsoluteSymbolDiff(), and llvm::MCObjectStreamer::emitAbsoluteSymbolDiffAsULEB128().
|
static |
Definition at line 430 of file MCObjectStreamer.cpp.
References A, B, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::create(), OS, llvm::MCBinaryExpr::Sub, and llvm::MCSymbolRefExpr::VK_None.
Referenced by llvm::MCPseudoProbe::emit(), llvm::MCObjectStreamer::emitDwarfAdvanceFrameAddr(), and llvm::MCObjectStreamer::emitDwarfAdvanceLineAddr().
|
static |
Definition at line 145 of file MCObjectStreamer.cpp.
References F, and llvm::MCAssembler::isBundlingEnabled().
Referenced by llvm::MCObjectStreamer::getOrCreateDataFragment().
|
static |
Definition at line 441 of file MCObjectStreamer.cpp.
References llvm::MCDwarfLineAddr::Emit(), and OS.
Referenced by llvm::MCObjectStreamer::emitDwarfAdvanceLineAddr().
|
static |
Definition at line 629 of file MCObjectStreamer.cpp.
References DF, llvm::MCExpr::evaluateAsRelocatable(), llvm::MCFragment::FT_Data, llvm::MCValue::getConstant(), llvm::MCSymbol::getFragment(), llvm::MCFragment::getKind(), llvm::MCSymbol::getOffset(), llvm::MCValue::getSymA(), llvm::MCValue::getSymB(), llvm::MCSymbolRefExpr::getSymbol(), llvm::MCValue::isAbsolute(), llvm::MCSymbol::isDefined(), and llvm::MCSymbol::isVariable().
Referenced by llvm::MCObjectStreamer::emitRelocDirective().
Definition at line 401 of file MCObjectStreamer.cpp.
Referenced by llvm::MCObjectStreamer::emitBundleAlignMode(), llvm::MCObjectStreamer::emitBundleLock(), and llvm::MCObjectStreamer::emitBundleUnlock().