LLVM 19.0.0git
Public Member Functions | List of all members
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)
void emitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit delta value.
unsigned sizeOf (const dwarf::FormParams &FormParams, dwarf::Form Form) const
 SizeOf - Determine size of delta value in bytes.
void print (raw_ostream &O) const

Detailed Description

A simple label difference DIE.

Definition at line 261 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEDelta()

llvm::DIEDelta::DIEDelta ( const MCSymbol Hi,
const MCSymbol Lo 

Definition at line 266 of file DIE.h.

Member Function Documentation

◆ emitValue()

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

EmitValue - Emit delta value.

Definition at line 538 of file DIE.cpp.

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

Referenced by llvm::DIEAddrOffset::emitValue().

◆ print()

LLVM_DUMP_METHOD void DIEDelta::print ( raw_ostream O) const

Definition at line 560 of file DIE.cpp.

References llvm::MCSymbol::getName().

Referenced by llvm::DIEAddrOffset::print().

◆ sizeOf()

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

SizeOf - Determine size of delta value in bytes.

Definition at line 545 of file DIE.cpp.

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

Referenced by emitValue(), and llvm::DIEAddrOffset::sizeOf().

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