LLVM 22.0.0git
|
#include "llvm/MC/MCDwarf.h"
Static Public Member Functions | |
static LLVM_ABI void | encode (MCContext &Context, MCDwarfLineTableParams Params, int64_t LineDelta, uint64_t AddrDelta, SmallVectorImpl< char > &OS) |
Utility function to encode a Dwarf pair of LineDelta and AddrDeltas. | |
static LLVM_ABI void | Emit (MCStreamer *MCOS, MCDwarfLineTableParams Params, int64_t LineDelta, uint64_t AddrDelta) |
Utility function to emit the encoding to a streamer. |
|
static |
Utility function to emit the encoding to a streamer.
Definition at line 730 of file MCDwarf.cpp.
References llvm::MCStreamer::emitBytes(), encode(), and llvm::MCStreamer::getContext().
Referenced by emitDwarfSetLineAddr().
|
static |
Utility function to encode a Dwarf pair of LineDelta and AddrDeltas.
Definition at line 745 of file MCDwarf.cpp.
References llvm::SmallVectorImpl< T >::append(), assert(), llvm::MCDwarfLineTableParams::DWARF2LineBase, llvm::MCDwarfLineTableParams::DWARF2LineOpcodeBase, llvm::MCDwarfLineTableParams::DWARF2LineRange, llvm::encodeSLEB128(), llvm::encodeULEB128(), INT64_MAX, llvm::SmallVectorTemplateBase< T, bool >::push_back(), ScaleAddrDelta(), and SpecialAddr().
Referenced by Emit(), and llvm::MCObjectStreamer::emitDwarfAdvanceLineAddr().