Home
last modified time | relevance | path

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

/tools/dexter/slicer/
Ddebuginfo_encoder.cc128 auto ir_debug_info = ir_method->code->debug_info; in Encode() local
148 ir_debug_info->line_start = line_start_; in Encode()
149 ir_debug_info->data = slicer::MemView(dbginfo_.data(), dbginfo_.size()); in Encode()
152 ir_debug_info->param_names = *param_names_; in Encode()
154 ir_debug_info->param_names = {}; in Encode()
Dcode_ir.cc108 void CodeIr::DisassembleDebugInfo(const ir::DebugInfo* ir_debug_info) { in DisassembleDebugInfo() argument
109 if (ir_debug_info == nullptr) { in DisassembleDebugInfo()
115 int line = ir_debug_info->line_start; in DisassembleDebugInfo()
119 if (!ir_debug_info->param_names.empty()) { in DisassembleDebugInfo()
121 dbg_header->param_names = ir_debug_info->param_names; in DisassembleDebugInfo()
144 const dex::u1* ptr = ir_debug_info->data.ptr<dex::u1>(); in DisassembleDebugInfo()
Dreader.cc653 auto ir_debug_info = dex_ir_->Alloc<ir::DebugInfo>(); in ExtractDebugInfo() local
656 ir_debug_info->line_start = dex::ReadULeb128(&ptr); in ExtractDebugInfo()
664 ir_debug_info->param_names.push_back(ir_string); in ExtractDebugInfo()
737 ir_debug_info->data = slicer::MemView(base_ptr, ptr - base_ptr); in ExtractDebugInfo()
739 return ir_debug_info; in ExtractDebugInfo()
Dwriter.cc784 dex::u4 Writer::WriteDebugInfo(const ir::DebugInfo* ir_debug_info) { in WriteDebugInfo() argument
785 SLICER_CHECK_NE(ir_debug_info, nullptr); in WriteDebugInfo()
791 data.PushULeb128(ir_debug_info->line_start); in WriteDebugInfo()
792 data.PushULeb128(ir_debug_info->param_names.size()); in WriteDebugInfo()
793 for (auto ir_string : ir_debug_info->param_names) { in WriteDebugInfo()
798 const dex::u1* src = ir_debug_info->data.ptr<dex::u1>(); in WriteDebugInfo()
/tools/dexter/slicer/export/slicer/
Dwriter.h218 dex::u4 WriteDebugInfo(const ir::DebugInfo* ir_debug_info);
Dcode_ir.h464 void DisassembleDebugInfo(const ir::DebugInfo* ir_debug_info);