LLVM 22.0.0git
llvm::DIEDelta Class Reference

A simple label difference DIE. More...

#include "llvm/CodeGen/DIE.h"

Public Member Functions

 DIEDelta (const MCSymbol *Hi, const MCSymbol *Lo)
LLVM_ABI void emitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit delta value.
LLVM_ABI unsigned sizeOf (const dwarf::FormParams &FormParams, dwarf::Form Form) const
 SizeOf - Determine size of delta value in bytes.
LLVM_ABI void print (raw_ostream &O) const

Detailed Description

A simple label difference DIE.

Definition at line 265 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEDelta()

llvm::DIEDelta::DIEDelta ( const MCSymbol * Hi,
const MCSymbol * Lo )
inline

Definition at line 270 of file DIE.h.

References llvm::Hi, and llvm::Lo.

Member Function Documentation

◆ emitValue()

void DIEDelta::emitValue ( const AsmPrinter * AP,
dwarf::Form Form ) const

EmitValue - Emit delta value.

Definition at line 537 of file DIE.cpp.

References llvm::AsmPrinter::emitLabelDifference(), llvm::AsmPrinter::getDwarfFormParams(), and sizeOf().

◆ print()

LLVM_DUMP_METHOD void DIEDelta::print ( raw_ostream & O) const

Definition at line 559 of file DIE.cpp.

◆ sizeOf()

unsigned DIEDelta::sizeOf ( const dwarf::FormParams & FormParams,
dwarf::Form Form ) const

SizeOf - Determine size of delta value in bytes.

Definition at line 544 of file DIE.cpp.

References llvm::dwarf::FormParams::getDwarfOffsetByteSize(), and llvm_unreachable.

Referenced by emitValue().


The documentation for this class was generated from the following files: