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_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_symtab_writer.h90 const DebugInfo& debug_info) { in WriteDebugSymbols() argument
96 if (debug_info.Empty()) { in WriteDebugSymbols()
103 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols()
117 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols()
126 if (kGenerateSortedSymbol && debug_info.compiled_methods.size() >= kSortedSymbolMinCount) { in WriteDebugSymbols()
134 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols()
160 if (!debug_info.dex_files.empty() && builder->GetDex()->Exists()) { in WriteDebugSymbols()
162 for (auto it : debug_info.dex_files) { in WriteDebugSymbols()
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.cc50 const debug::DebugInfo& debug_info) in DebugInfoTask() argument
57 debug_info_(debug_info) { in DebugInfoTask()
100 void PrepareDebugInfo(const debug::DebugInfo& debug_info) override;
108 void WriteDebugInfo(const debug::DebugInfo& debug_info) override;
246 void ElfWriterQuick<ElfTypes>::PrepareDebugInfo(const debug::DebugInfo& debug_info) { in PrepareDebugInfo() argument
257 debug_info); in PrepareDebugInfo()
265 void ElfWriterQuick<ElfTypes>::WriteDebugInfo(const debug::DebugInfo& debug_info) { in WriteDebugInfo() argument
269 PrepareDebugInfo(debug_info); in WriteDebugInfo()
278 if (!debug_info.Empty() && compiler_options_.GetGenerateDebugInfo()) { in WriteDebugInfo()
280 debug::WriteDebugInfo(builder_.get(), debug_info); in WriteDebugInfo()
Delf_writer.h68 virtual void PrepareDebugInfo(const debug::DebugInfo& debug_info) = 0;
76 virtual void WriteDebugInfo(const debug::DebugInfo& debug_info) = 0;
Doat_writer.cc4075 debug::DebugInfo debug_info{}; in GetDebugInfo() local
4076 debug_info.compiled_methods = ArrayRef<const debug::MethodDebugInfo>(method_info_); in GetDebugInfo()
4084 debug_info.dex_files.emplace(dex_file_offset, dex_file); in GetDebugInfo()
4088 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.cc204 void CompactDexWriter::WriteDebugInfoItem(Stream* stream, dex_ir::DebugInfoItem* debug_info) { in WriteDebugInfoItem() argument
206 debug_info, in WriteDebugInfoItem()
209 ProcessOffset(stream, debug_info); in WriteDebugInfoItem()
210 stream->Write(debug_info->GetDebugInfo(), debug_info->GetDebugInfoSize()); in WriteDebugInfoItem()
Dcompact_dex_writer.h152 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.h464 inline uint32_t DexFile::DecodeDebugInfoParameterNames(const uint8_t** debug_info, in DecodeDebugInfoParameterNames() argument
466 uint32_t line = DecodeUnsignedLeb128(debug_info); in DecodeDebugInfoParameterNames()
467 const uint32_t parameters_size = DecodeUnsignedLeb128(debug_info); in DecodeDebugInfoParameterNames()
469 visitor(dex::StringIndex(DecodeUnsignedLeb128P1(debug_info))); in DecodeDebugInfoParameterNames()
Ddex_file.h806 static uint32_t DecodeDebugInfoParameterNames(const uint8_t** debug_info,
/art/runtime/jit/
Djit_code_cache.cc491 std::set<const void*> debug_info; in FreeAllMethodHeaders() local
494 CHECK(debug_info.emplace(addr).second) << "Duplicate debug info: " << addr << " " << name; in FreeAllMethodHeaders()
497 if (!debug_info.empty()) { // If debug-info generation is enabled. in FreeAllMethodHeaders()
499 CHECK_EQ(debug_info.count(it.first), 1u) << "No debug info: " << it.second->PrettyMethod(); in FreeAllMethodHeaders()
501 CHECK_EQ(compiled_methods.size(), debug_info.size()); in FreeAllMethodHeaders()
646 const std::vector<uint8_t>& debug_info, in Commit() argument
693 if (!debug_info.empty()) { in Commit()
695 AddNativeDebugInfoForJit(code_ptr, debug_info, /*allow_packing=*/ !is_full_debug_info); in Commit()
Djit_code_cache.h265 const std::vector<uint8_t>& debug_info,
/art/compiler/optimizing/
Doptimizing_compiler.cc1281 std::vector<uint8_t> debug_info; in JitCompile() local
1301 debug_info = GenerateJitDebugInfo(info); in JitCompile()
1312 debug_info, in JitCompile()
1390 std::vector<uint8_t> debug_info; in JitCompile() local
1409 debug_info = GenerateJitDebugInfo(info); in JitCompile()
1420 debug_info, in JitCompile()
/art/oatdump/
Doatdump.cc214 debug::DebugInfo debug_info{}; in Symbolize() local
215 debug_info.compiled_methods = ArrayRef<const debug::MethodDebugInfo>(method_debug_infos_); in Symbolize()
217 debug::WriteDebugInfo(builder_.get(), debug_info); in Symbolize()

12