LLVM
8.0.1
|
#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. More... | |
static bool | FixedEncode (MCContext &Context, MCDwarfLineTableParams Params, int64_t LineDelta, uint64_t AddrDelta, raw_ostream &OS, uint32_t *Offset, uint32_t *Size) |
Utility function to encode a Dwarf pair of LineDelta and AddrDeltas using fixed length operands. More... | |
static void | Emit (MCStreamer *MCOS, MCDwarfLineTableParams Params, int64_t LineDelta, uint64_t AddrDelta) |
Utility function to emit the encoding to a streamer. More... | |
|
static |
Utility function to emit the encoding to a streamer.
Definition at line 633 of file MCDwarf.cpp.
References Context, llvm::MCStreamer::EmitBytes(), Encode(), llvm::MCStreamer::getContext(), and llvm::raw_svector_ostream::str().
Referenced by llvm::MCObjectStreamer::EmitDwarfAdvanceLineAddr(), and emitDwarfSetLineAddr().
|
static |
Utility function to encode a Dwarf pair of LineDelta and AddrDeltas.
Definition at line 649 of file MCDwarf.cpp.
References assert(), llvm::MCDwarfLineTableParams::DWARF2LineBase, llvm::MCDwarfLineTableParams::DWARF2LineOpcodeBase, llvm::MCDwarfLineTableParams::DWARF2LineRange, llvm::encodeSLEB128(), llvm::encodeULEB128(), if(), INT64_MAX, ScaleAddrDelta(), and SpecialAddr().
Referenced by Emit(), and llvm::MCAssembler::Finish().
|
static |
Utility function to encode a Dwarf pair of LineDelta and AddrDeltas using fixed length operands.
Definition at line 731 of file MCDwarf.cpp.
References llvm::encodeSLEB128(), llvm::encodeULEB128(), llvm::MCContext::getAsmInfo(), llvm::MCAsmInfo::getCodePointerSize(), INT64_MAX, llvm::raw_ostream::tell(), and llvm::raw_ostream::write().
Referenced by llvm::MCAssembler::Finish().