Home
last modified time | relevance | path

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

12

/art/compiler/debug/dwarf/
Ddwarf_test.cc27 namespace dwarf { namespace
302 info.StartTag(dwarf::DW_TAG_compile_unit); in TEST_F()
305 info.WriteStrp(dwarf::DW_AT_producer, "Compiler name", &debug_str_data_); in TEST_F()
307 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01000000); in TEST_F()
309 info.WriteAddr(dwarf::DW_AT_high_pc, 0x02000000); in TEST_F()
311 info.StartTag(dwarf::DW_TAG_subprogram); in TEST_F()
313 info.WriteStrp(dwarf::DW_AT_name, "Foo", &debug_str_data_); in TEST_F()
315 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01010000); in TEST_F()
317 info.WriteAddr(dwarf::DW_AT_high_pc, 0x01020000); in TEST_F()
320 info.StartTag(dwarf::DW_TAG_subprogram); in TEST_F()
[all …]
Ddwarf_test.h38 namespace dwarf {
/art/compiler/debug/
Delf_debug_frame_writer.h40 using Reg = dwarf::Reg; in WriteCIE()
47 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
70 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
93 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
118 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
142 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
227 dwarf::WriteFDE(is64bit, in WriteCFISection()
244 dwarf::Writer<> header(&header_buffer); in WriteCFISection()
246 header.PushUint8(dwarf::DW_EH_PE_omit); // Encoding of .eh_frame pointer - none. in WriteCFISection()
247 header.PushUint8(dwarf::DW_EH_PE_udata4); // Encoding of binary search table size. in WriteCFISection()
[all …]
Delf_debug_loc_writer.h32 using Reg = dwarf::Reg;
179 dwarf::DebugInfoEntryWriter<>* debug_info, in WriteDebugLocEntry()
198 dwarf::Writer<> debug_loc(debug_loc_buffer); in WriteDebugLocEntry()
206 dwarf::Expression expr(&expr_buffer); in WriteDebugLocEntry()
287 dwarf::Writer<> debug_ranges(debug_ranges_buffer); in WriteDebugLocEntry()
327 debug_info->WriteSecOffset(dwarf::DW_AT_location, debug_loc_offset); in WriteDebugLocEntry()
328 debug_info->WriteSecOffset(dwarf::DW_AT_start_scope, debug_ranges_offset); in WriteDebugLocEntry()
Delf_debug_info_writer.h87 dwarf::DebugAbbrevWriter<> debug_abbrev_;
115 using namespace dwarf; // NOLINT. For easy access to DWARF constants. in Write() local
126 dwarf::Writer<> debug_ranges(&owner_->debug_ranges_); in Write()
288 using namespace dwarf; // NOLINT. For easy access to DWARF constants. in Write() local
491 info_.WriteString(dwarf::DW_AT_linkage_name, name); in WriteLinkageName()
500 info_.WriteRef4(dwarf::DW_AT_type, 0); in WriteLazyType()
514 info_.WriteString(dwarf::DW_AT_name, name); in WriteName()
521 using namespace dwarf; // NOLINT. For easy access to DWARF constants. in WriteTypeDeclaration() local
621 size_t offset = info_.StartTag(dwarf::DW_TAG_class_type); in StartClassTag()
646 info_.StartTag(dwarf::DW_TAG_namespace); in SetNamespaceForClass()
[all …]
Delf_debug_line_writer.h61 std::vector<dwarf::FileEntry> files; in WriteCompilationUnit()
83 dwarf::DebugLineOpCodeWriter<> opcodes(is64bit, code_factor_bits_); in WriteCompilationUnit()
205 files.push_back(dwarf::FileEntry { in WriteCompilationUnit()
/art/compiler/
Dcfi_test.h36 class CFITest : public dwarf::DwarfTest {
51 dwarf::DebugFrameOpCodeWriter<> initial_opcodes; in GenerateExpected()
52 dwarf::WriteCIE(is64bit, dwarf::Reg(8), initial_opcodes, &debug_frame_data_); in GenerateExpected()
54 dwarf::WriteFDE(is64bit, in GenerateExpected()
DAndroid.bp455 "debug/dwarf/dwarf_test.cc",
/art/compiler/utils/arm64/
Dassembler_arm64.h46 static inline dwarf::Reg DWARFReg(vixl::aarch64::CPURegister reg) { in DWARFReg()
48 return dwarf::Reg::Arm64Fp(reg.GetCode()); in DWARFReg()
51 return dwarf::Reg::Arm64Core(reg.GetCode()); in DWARFReg()
/art/compiler/utils/arm/
Dassembler_arm_vixl.h40 inline dwarf::Reg DWARFReg(vixl32::Register reg) { in DWARFReg()
41 return dwarf::Reg::ArmCore(static_cast<int>(reg.GetCode())); in DWARFReg()
44 inline dwarf::Reg DWARFReg(vixl32::SRegister reg) { in DWARFReg()
45 return dwarf::Reg::ArmFp(static_cast<int>(reg.GetCode())); in DWARFReg()
/art/libelffile/dwarf/
Dregister.h21 namespace dwarf {
Dexpression.h27 namespace dwarf {
Ddebug_abbrev_writer.h31 namespace dwarf {
Dwriter.h29 namespace dwarf {
Ddebug_line_opcode_writer.h26 namespace dwarf {
Dheaders.h31 namespace dwarf {
Ddebug_info_entry_writer.h31 namespace dwarf {
Ddebug_frame_opcode_writer.h26 namespace dwarf {
Ddwarf_constants.h21 namespace dwarf {
/art/compiler/utils/riscv64/
Djni_macro_assembler_riscv64.cc78 __ cfi().RelOffset(dwarf::Reg::Riscv64Core(RA), offset); in BuildFrame()
83 __ cfi().RelOffset(dwarf::Reg::Riscv64Core(enum_cast<XRegister>(reg)), offset); in BuildFrame()
88 __ cfi().RelOffset(dwarf::Reg::Riscv64Fp(enum_cast<FRegister>(reg)), offset); in BuildFrame()
108 __ cfi().Restore(dwarf::Reg::Riscv64Fp(enum_cast<FRegister>(reg))); in RemoveFrame()
113 __ cfi().Restore(dwarf::Reg::Riscv64Core(enum_cast<XRegister>(reg))); in RemoveFrame()
118 __ cfi().Restore(dwarf::Reg::Riscv64Core(RA)); in RemoveFrame()
/art/compiler/utils/
Dassembler.h287 : public dwarf::DebugFrameOpCodeWriter<> {
298 : dwarf::DebugFrameOpCodeWriter<>(/* enabled= */ false), in DebugFrameOpCodeWriterForAssembler()
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc29 static dwarf::Reg DWARFReg(Register reg) { in DWARFReg()
30 return dwarf::Reg::X86_64Core(static_cast<int>(reg)); in DWARFReg()
32 static dwarf::Reg DWARFReg(FloatRegister reg) { in DWARFReg()
33 return dwarf::Reg::X86_64Fp(static_cast<int>(reg)); in DWARFReg()
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc35 static dwarf::Reg DWARFReg(Register reg) { in DWARFReg()
36 return dwarf::Reg::X86Core(static_cast<int>(reg)); in DWARFReg()
/art/compiler/optimizing/
Dcode_generator_riscv64.cc6033 __ cfi().RelOffset(dwarf::Reg::Riscv64Core(reg), offset); in GenerateFrameEntry()
6043 __ cfi().RelOffset(dwarf::Reg::Riscv64Fp(reg), offset); in GenerateFrameEntry()
6076 __ cfi().Restore(dwarf::Reg::Riscv64Core(reg)); in GenerateFrameExit()
6086 __ cfi().Restore(dwarf::Reg::Riscv64Fp(reg)); in GenerateFrameExit()
Dcode_generator_x86_64.cc1649 static dwarf::Reg DWARFReg(Register reg) { in DWARFReg()
1650 return dwarf::Reg::X86_64Core(static_cast<int>(reg)); in DWARFReg()
1653 static dwarf::Reg DWARFReg(FloatRegister reg) { in DWARFReg()
1654 return dwarf::Reg::X86_64Fp(static_cast<int>(reg)); in DWARFReg()

12