Home
last modified time | relevance | path

Searched refs:ir_debug_info (Results 1 – 6 of 6) sorted by relevance

/tools/dexter/slicer/
Ddebuginfo_encoder.cc122 auto ir_debug_info = ir_method->code->debug_info; in Encode() local
142 ir_debug_info->line_start = line_start_; in Encode()
143 ir_debug_info->data = slicer::MemView(dbginfo_.data(), dbginfo_.size()); in Encode()
146 ir_debug_info->param_names = *param_names_; in Encode()
148 ir_debug_info->param_names = {}; in Encode()
Dcode_ir.cc109 void CodeIr::DissasembleDebugInfo(const ir::DebugInfo* ir_debug_info) { in DissasembleDebugInfo() argument
110 if (ir_debug_info == nullptr) { in DissasembleDebugInfo()
116 int line = ir_debug_info->line_start; in DissasembleDebugInfo()
120 if (!ir_debug_info->param_names.empty()) { in DissasembleDebugInfo()
122 dbg_header->param_names = ir_debug_info->param_names; in DissasembleDebugInfo()
145 const dex::u1* ptr = ir_debug_info->data.ptr<dex::u1>(); in DissasembleDebugInfo()
Dreader.cc612 auto ir_debug_info = dex_ir_->Alloc<ir::DebugInfo>(); in ExtractDebugInfo() local
615 ir_debug_info->line_start = dex::ReadULeb128(&ptr); in ExtractDebugInfo()
623 ir_debug_info->param_names.push_back(ir_string); in ExtractDebugInfo()
696 ir_debug_info->data = slicer::MemView(base_ptr, ptr - base_ptr); in ExtractDebugInfo()
698 return ir_debug_info; in ExtractDebugInfo()
Dwriter.cc742 dex::u4 Writer::WriteDebugInfo(const ir::DebugInfo* ir_debug_info) { in WriteDebugInfo() argument
743 SLICER_CHECK(ir_debug_info != nullptr); in WriteDebugInfo()
749 data.PushULeb128(ir_debug_info->line_start); in WriteDebugInfo()
750 data.PushULeb128(ir_debug_info->param_names.size()); in WriteDebugInfo()
751 for (auto ir_string : ir_debug_info->param_names) { in WriteDebugInfo()
756 const dex::u1* src = ir_debug_info->data.ptr<dex::u1>(); in WriteDebugInfo()
/tools/dexter/slicer/export/slicer/
Dwriter.h215 dex::u4 WriteDebugInfo(const ir::DebugInfo* ir_debug_info);
Dcode_ir.h432 void DissasembleDebugInfo(const ir::DebugInfo* ir_debug_info);