LLVM 17.0.0git
|
#include "llvm/MC/MCDwarf.h"
Static Public Member Functions | |
static void | Encode (MCContext &Context, MCDwarfLineTableParams Params, int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS) |
Utility function to encode a Dwarf pair of LineDelta and AddrDeltas. | |
static 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 666 of file MCDwarf.cpp.
References Context, llvm::MCStreamer::emitBytes(), Encode(), llvm::MCStreamer::getContext(), and OS.
Referenced by llvm::MCObjectStreamer::emitDwarfAdvanceLineAddr(), and emitDwarfSetLineAddr().
|
static |
Utility function to encode a Dwarf pair of LineDelta and AddrDeltas.
Definition at line 682 of file MCDwarf.cpp.
References assert(), Context, llvm::MCDwarfLineTableParams::DWARF2LineBase, llvm::MCDwarfLineTableParams::DWARF2LineOpcodeBase, llvm::MCDwarfLineTableParams::DWARF2LineRange, llvm::encodeSLEB128(), llvm::encodeULEB128(), if(), INT64_MAX, OS, ScaleAddrDelta(), and SpecialAddr().
Referenced by Emit(), and llvm::DwarfStreamer::emitLineTableForUnit().