Home
last modified time | relevance | path

Searched refs:debug_info (Results 1 – 25 of 26) sorted by relevance

12

/art/tools/jfuzz/
Drun_jfuzz_test.py45 def GetExecutionModeRunner(dexer, debug_info, device, mode): argument
59 return TestRunnerRIOnHost(debug_info)
61 return TestRunnerArtIntOnHost(dexer, debug_info)
63 return TestRunnerArtOptOnHost(dexer, debug_info)
65 return TestRunnerArtIntOnTarget(dexer, debug_info, device)
67 return TestRunnerArtOptOnTarget(dexer, debug_info, device)
120 def __init__(self, dexer, debug_info): argument
128 self._debug_info = debug_info
148 def __init__(self, debug_info): argument
154 self._debug_info = debug_info
[all …]
Drun_dex_fuzz_test.py43 def __init__(self, num_tests, num_inputs, device, dexer, debug_info): argument
62 self._debug_info = debug_info
189 args.dexer, args.debug_info) as fuzzer:
DREADME.md56 [--debug_info]
73 --debug_info : include debugging info
95 [--debug_info]
103 --debug_info : include debugging info
/art/compiler/debug/
Delf_symtab_writer.h50 const DebugInfo& debug_info) { in WriteDebugSymbols() argument
56 if (debug_info.Empty()) { in WriteDebugSymbols()
63 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols()
81 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols()
104 if (!debug_info.dex_files.empty() && builder->GetDex()->Exists()) { in WriteDebugSymbols()
106 for (auto it : debug_info.dex_files) { in WriteDebugSymbols()
Delf_debug_writer.cc48 const DebugInfo& debug_info) { in WriteDebugInfo() argument
50 WriteDebugSymbols(builder, /* mini-debug-info= */ false, debug_info); in WriteDebugInfo()
53 WriteCFISection(builder, debug_info.compiled_methods); in WriteDebugInfo()
57 for (const MethodDebugInfo& mi : debug_info.compiled_methods) { in WriteDebugInfo()
121 const DebugInfo& debug_info) { in MakeMiniDebugInfoInternal() argument
134 if (!debug_info.Empty()) { in MakeMiniDebugInfoInternal()
135 WriteDebugSymbols(builder.get(), /* mini-debug-info= */ true, debug_info); in MakeMiniDebugInfoInternal()
137 if (!debug_info.compiled_methods.empty()) { in MakeMiniDebugInfoInternal()
138 WriteCFISection(builder.get(), debug_info.compiled_methods); in MakeMiniDebugInfoInternal()
155 const DebugInfo& debug_info) { in MakeMiniDebugInfo() argument
[all …]
Delf_debug_writer.h42 const DebugInfo& debug_info);
51 const DebugInfo& debug_info);
Delf_debug_loc_writer.h175 dwarf::DebugInfoEntryWriter<>* debug_info, in WriteDebugLocEntry() argument
323 debug_info->WriteSecOffset(dwarf::DW_AT_location, debug_loc_offset); in WriteDebugLocEntry()
324 debug_info->WriteSecOffset(dwarf::DW_AT_start_scope, debug_ranges_offset); in WriteDebugLocEntry()
/art/dex2oat/linker/
Delf_writer_quick.cc52 const debug::DebugInfo& debug_info) in DebugInfoTask() argument
59 debug_info_(debug_info) { in DebugInfoTask()
102 void PrepareDebugInfo(const debug::DebugInfo& debug_info) override;
110 void WriteDebugInfo(const debug::DebugInfo& debug_info) override;
248 void ElfWriterQuick<ElfTypes>::PrepareDebugInfo(const debug::DebugInfo& debug_info) { in PrepareDebugInfo() argument
259 debug_info); in PrepareDebugInfo()
267 void ElfWriterQuick<ElfTypes>::WriteDebugInfo(const debug::DebugInfo& debug_info) { in WriteDebugInfo() argument
276 if (!debug_info.Empty() && compiler_options_.GetGenerateDebugInfo()) { in WriteDebugInfo()
278 debug::WriteDebugInfo(builder_.get(), debug_info); in WriteDebugInfo()
Delf_writer.h70 virtual void PrepareDebugInfo(const debug::DebugInfo& debug_info) = 0;
78 virtual void WriteDebugInfo(const debug::DebugInfo& debug_info) = 0;
Doat_writer.cc4101 debug::DebugInfo debug_info{}; in GetDebugInfo() local
4102 debug_info.compiled_methods = ArrayRef<const debug::MethodDebugInfo>(method_info_); in GetDebugInfo()
4110 debug_info.dex_files.emplace(dex_file_offset, dex_file); in GetDebugInfo()
4114 return debug_info; in GetDebugInfo()
/art/libelffile/dwarf/
Dheaders.h97 std::vector<uint8_t>* debug_info) { in WriteDebugInfoCU() argument
100 Writer<> writer(debug_info); in WriteDebugInfoCU()
/art/dexlayout/
Dcompact_dex_writer.cc202 void CompactDexWriter::WriteDebugInfoItem(Stream* stream, dex_ir::DebugInfoItem* debug_info) { in WriteDebugInfoItem() argument
204 debug_info, in WriteDebugInfoItem()
207 ProcessOffset(stream, debug_info); in WriteDebugInfoItem()
208 stream->Write(debug_info->GetDebugInfo(), debug_info->GetDebugInfoSize()); in WriteDebugInfoItem()
Dcompact_dex_writer.h156 void WriteDebugInfoItem(Stream* stream, dex_ir::DebugInfoItem* debug_info) override;
Ddex_writer.cc519 void DexWriter::WriteDebugInfoItem(Stream* stream, dex_ir::DebugInfoItem* debug_info) { in WriteDebugInfoItem() argument
521 ProcessOffset(stream, debug_info); in WriteDebugInfoItem()
522 stream->Write(debug_info->GetDebugInfo(), debug_info->GetDebugInfoSize()); in WriteDebugInfoItem()
527 for (auto& debug_info : header_->DebugInfoItems()) { in WriteDebugInfoItems() local
528 WriteDebugInfoItem(stream, debug_info.get()); in WriteDebugInfoItems()
Ddex_writer.h268 virtual void WriteDebugInfoItem(Stream* stream, dex_ir::DebugInfoItem* debug_info);
Ddex_ir_builder.cc807 DebugInfoItem* debug_info = nullptr; in DedupeOrCreateCodeItem() local
809 debug_info = debug_info_items_map_.GetExistingObject(debug_info_offset); in DedupeOrCreateCodeItem()
810 if (debug_info == nullptr) { in DedupeOrCreateCodeItem()
814 debug_info = debug_info_items_map_.CreateAndAddItem(header_->DebugInfoItems(), in DedupeOrCreateCodeItem()
908 debug_info, in DedupeOrCreateCodeItem()
Ddex_ir.h1041 DebugInfoItem* debug_info, in CodeItem() argument
1049 debug_info_(debug_info), in CodeItem()
1093 DebugInfoItem(uint32_t debug_info_size, uint8_t* debug_info) in DebugInfoItem() argument
1094 : debug_info_size_(debug_info_size), debug_info_(debug_info) { } in DebugInfoItem()
Ddexlayout.cc1098 dex_ir::DebugInfoItem* debug_info = code->DebugInfo(); in DumpCode() local
1100 if (debug_info != nullptr) { in DumpCode()
1101 DexFile::DecodeDebugPositionInfo(debug_info->GetDebugInfo(), in DumpCode()
1114 if (debug_info != nullptr) { in DumpCode()
1125 DexFile::DecodeDebugLocalInfo(debug_info->GetDebugInfo(), in DumpCode()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc96 const uint8_t* debug_info = dex_file->GetDebugInfoStream(code_item.DebugInfoOffset()); in ProcessDexFiles() local
97 if (debug_info != nullptr && seen.insert(debug_info).second) { in ProcessDexFiles()
98 const uint8_t* stream = debug_info; in ProcessDexFiles()
160 const size_t bytes = stream - debug_info; in ProcessDexFiles()
167 ++counts[debug_info[i]]; in ProcessDexFiles()
/art/libdexfile/dex/
Ddex_file-inl.h460 inline uint32_t DexFile::DecodeDebugInfoParameterNames(const uint8_t** debug_info, in DecodeDebugInfoParameterNames() argument
462 uint32_t line = DecodeUnsignedLeb128(debug_info); in DecodeDebugInfoParameterNames()
463 const uint32_t parameters_size = DecodeUnsignedLeb128(debug_info); in DecodeDebugInfoParameterNames()
465 visitor(dex::StringIndex(DecodeUnsignedLeb128P1(debug_info))); in DecodeDebugInfoParameterNames()
Ddex_file.h784 static uint32_t DecodeDebugInfoParameterNames(const uint8_t** debug_info,
/art/compiler/optimizing/
Doptimizing_compiler.cc1264 std::vector<uint8_t> debug_info; in JitCompile() local
1283 debug_info = GenerateJitDebugInfo(info); in JitCompile()
1294 debug_info, in JitCompile()
1372 std::vector<uint8_t> debug_info; in JitCompile() local
1391 debug_info = GenerateJitDebugInfo(info); in JitCompile()
1402 debug_info, in JitCompile()
/art/runtime/jit/
Djit_code_cache.cc513 std::set<const void*> debug_info; in FreeAllMethodHeaders() local
516 CHECK(debug_info.emplace(addr).second) << "Duplicate debug info: " << addr << " " << name; in FreeAllMethodHeaders()
519 if (!debug_info.empty()) { // If debug-info generation is enabled. in FreeAllMethodHeaders()
521 CHECK_EQ(debug_info.count(it.first), 1u) << "No debug info: " << it.second->PrettyMethod(); in FreeAllMethodHeaders()
665 const std::vector<uint8_t>& debug_info, in Commit() argument
712 if (!debug_info.empty()) { in Commit()
714 AddNativeDebugInfoForJit(code_ptr, debug_info, /*allow_packing=*/ !is_full_debug_info); in Commit()
Djit_code_cache.h269 const std::vector<uint8_t>& debug_info,
/art/oatdump/
Doatdump.cc213 debug::DebugInfo debug_info{}; in Symbolize() local
214 debug_info.compiled_methods = ArrayRef<const debug::MethodDebugInfo>(method_debug_infos_); in Symbolize()
216 debug::WriteDebugInfo(builder_.get(), debug_info); in Symbolize()

12