Home
last modified time | relevance | path

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

12

/aosp12/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.cpp289 (uint8_t)(llvm::dwarf::DW_EH_PE_pcrel | llvm::dwarf::DW_EH_PE_sdata4); in addEhFrameForPLT()
408 llvm::dwarf::DW_CFA_nop in createCIERegionForPLT()
429 llvm::dwarf::DW_OP_and, in createFDERegionForPLT()
431 llvm::dwarf::DW_OP_ge, in createFDERegionForPLT()
433 llvm::dwarf::DW_OP_shl, in createFDERegionForPLT()
438 llvm::dwarf::DW_CFA_nop in createFDERegionForPLT()
565 llvm::dwarf::DW_CFA_nop in createCIERegionForPLT()
586 llvm::dwarf::DW_OP_and, in createFDERegionForPLT()
588 llvm::dwarf::DW_OP_ge, in createFDERegionForPLT()
590 llvm::dwarf::DW_OP_shl, in createFDERegionForPLT()
[all …]
/aosp12/frameworks/compile/mclinker/lib/LD/
H A DEhFrameHdr.cpp51 data[1] = llvm::dwarf::DW_EH_PE_pcrel | llvm::dwarf::DW_EH_PE_sdata4;
66 data[2] = llvm::dwarf::DW_EH_PE_omit;
68 data[3] = llvm::dwarf::DW_EH_PE_omit;
71 data[2] = llvm::dwarf::DW_EH_PE_udata4;
73 data[3] = llvm::dwarf::DW_EH_PE_datarel | llvm::dwarf::DW_EH_PE_sdata4;
153 case llvm::dwarf::DW_EH_PE_udata2: in computePCBegin()
156 case llvm::dwarf::DW_EH_PE_udata4: in computePCBegin()
159 case llvm::dwarf::DW_EH_PE_udata8: in computePCBegin()
179 case llvm::dwarf::DW_EH_PE_absptr: in computePCBegin()
181 case llvm::dwarf::DW_EH_PE_pcrel: in computePCBegin()
[all …]
H A DEhFrameReader.cpp214 cie->setFDEEncode(llvm::dwarf::DW_EH_PE_absptr); in addCIE()
227 uint8_t fde_encoding = llvm::dwarf::DW_EH_PE_absptr; in addCIE()
265 case llvm::dwarf::DW_EH_PE_udata2: in addCIE()
268 case llvm::dwarf::DW_EH_PE_udata4: in addCIE()
271 case llvm::dwarf::DW_EH_PE_udata8: in addCIE()
274 case llvm::dwarf::DW_EH_PE_absptr: in addCIE()
279 if (llvm::dwarf::DW_EH_PE_aligned == (per_encode & 0xf0)) { in addCIE()
305 case llvm::dwarf::DW_EH_PE_udata2: in addCIE()
306 case llvm::dwarf::DW_EH_PE_udata4: in addCIE()
307 case llvm::dwarf::DW_EH_PE_udata8: in addCIE()
[all …]
/aosp12/art/compiler/debug/dwarf/
H A Ddwarf_test.cc27 namespace dwarf { namespace
302 info.StartTag(dwarf::DW_TAG_compile_unit); 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()
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()
324 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01020000); in TEST_F()
326 info.WriteAddr(dwarf::DW_AT_high_pc, 0x01030000); in TEST_F()
[all …]
H A Ddwarf_test.h37 namespace dwarf {
/aosp12/art/compiler/debug/
H A Delf_debug_frame_writer.h39 using Reg = dwarf::Reg; in WriteCIE()
46 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
69 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
94 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
118 dwarf::DebugFrameOpCodeWriter<> opcodes; in WriteCIE()
203 dwarf::WriteFDE(is64bit, in WriteCFISection()
220 dwarf::Writer<> header(&header_buffer); in WriteCFISection()
222 header.PushUint8(dwarf::DW_EH_PE_omit); // Encoding of .eh_frame pointer - none. in WriteCFISection()
223 header.PushUint8(dwarf::DW_EH_PE_udata4); // Encoding of binary search table size. in WriteCFISection()
224 header.PushUint8(dwarf::DW_EH_PE_udata4); // Encoding of binary search table data. in WriteCFISection()
H A Delf_debug_loc_writer.h32 using Reg = dwarf::Reg;
175 dwarf::DebugInfoEntryWriter<>* debug_info, in WriteDebugLocEntry()
194 dwarf::Writer<> debug_loc(debug_loc_buffer); in WriteDebugLocEntry()
202 dwarf::Expression expr(&expr_buffer); in WriteDebugLocEntry()
283 dwarf::Writer<> debug_ranges(debug_ranges_buffer); in WriteDebugLocEntry()
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()
H A Delf_debug_info_writer.h86 dwarf::DebugAbbrevWriter<> debug_abbrev_;
114 using namespace dwarf; // NOLINT. For easy access to DWARF constants. in Write() local
125 dwarf::Writer<> debug_ranges(&owner_->debug_ranges_); in Write()
287 using namespace dwarf; // NOLINT. For easy access to DWARF constants. in Write() local
488 info_.WriteString(dwarf::DW_AT_linkage_name, name); in WriteLinkageName()
497 info_.WriteRef4(dwarf::DW_AT_type, 0); in WriteLazyType()
511 info_.WriteString(dwarf::DW_AT_name, name); in WriteName()
518 using namespace dwarf; // NOLINT. For easy access to DWARF constants. in WriteTypeDeclaration() local
618 size_t offset = info_.StartTag(dwarf::DW_TAG_class_type); in StartClassTag()
643 info_.StartTag(dwarf::DW_TAG_namespace); in SetNamespaceForClass()
[all …]
H A Delf_debug_line_writer.h60 std::vector<dwarf::FileEntry> files; in WriteCompilationUnit()
81 dwarf::DebugLineOpCodeWriter<> opcodes(is64bit, code_factor_bits_); in WriteCompilationUnit()
203 files.push_back(dwarf::FileEntry { in WriteCompilationUnit()
/aosp12/art/compiler/
H A Dcfi_test.h35 class CFITest : public dwarf::DwarfTest {
50 dwarf::DebugFrameOpCodeWriter<> initial_opcodes; in GenerateExpected()
51 dwarf::WriteCIE(is64bit, dwarf::Reg(8), initial_opcodes, &debug_frame_data_); in GenerateExpected()
53 dwarf::WriteFDE(is64bit, in GenerateExpected()
/aosp12/art/compiler/utils/arm64/
H A Dassembler_arm64.h47 static inline dwarf::Reg DWARFReg(vixl::aarch64::CPURegister reg) { in DWARFReg()
49 return dwarf::Reg::Arm64Fp(reg.GetCode()); in DWARFReg()
52 return dwarf::Reg::Arm64Core(reg.GetCode()); in DWARFReg()
/aosp12/system/extras/simpleperf/doc/
H A DREADME.md25 …ays get complete DWARF-based call graphs](#why-we-cant-always-get-complete-dwarf-based-call-graphs)
44 a. When recording dwarf based call graph, simpleperf unwinds the stack before writing a sample
124 which may not support profiling features like recording dwarf based call graphs.
131 Below is our experiences of dwarf based call graphs and stack frame based call graphs.
133 dwarf based call graphs:
149 5. Take less CPU time than dwarf based call graphs. So the sample frequency can be 4000 Hz or
152 So if you need to profile code on ARM or profile fully compiled Java code, dwarf based call graphs
154 better. After all, you can always try dwarf based call graph first, because it always produces
158 Simpleperf may need unstripped native binaries on the device to generate good dwarf based call
166 64KB stack data is dumped by the kernel. By unwinding the stack based on dwarf information, we get
[all …]
H A Dinferno.md44 either using frame pointer (recommended) or dwarf. At the end of the recording
79 perform unwinding with dwarf `-du`, you can further tune this setting.
93 unwinding with `dwarf`. Dwarf unwinding involves copying the stack before it is
/aosp12/art/compiler/utils/arm/
H A Dassembler_arm_vixl.h43 inline dwarf::Reg DWARFReg(vixl32::Register reg) { in DWARFReg()
44 return dwarf::Reg::ArmCore(static_cast<int>(reg.GetCode())); in DWARFReg()
47 inline dwarf::Reg DWARFReg(vixl32::SRegister reg) { in DWARFReg()
48 return dwarf::Reg::ArmFp(static_cast<int>(reg.GetCode())); in DWARFReg()
/aosp12/art/libelffile/dwarf/
H A Dregister.h21 namespace dwarf {
H A Dexpression.h27 namespace dwarf {
H A Ddebug_abbrev_writer.h31 namespace dwarf {
H A Dwriter.h29 namespace dwarf {
H A Ddebug_line_opcode_writer.h26 namespace dwarf {
H A Dheaders.h31 namespace dwarf {
H A Ddebug_info_entry_writer.h31 namespace dwarf {
/aosp12/frameworks/compile/libbcc/lib/
H A DRSAddDebugInfoPass.cpp118 DebugInfo.createCompileUnit(llvm::dwarf::DW_LANG_GOOGLE_RenderScript, in initializeDebugInfo()
166 llvm::dwarf::DW_ATE_unsigned); in initializeDebugInfo()
/aosp12/art/compiler/utils/
H A Dassembler.h286 : public dwarf::DebugFrameOpCodeWriter<> {
297 : dwarf::DebugFrameOpCodeWriter<>(/* enabled= */ false), in DebugFrameOpCodeWriterForAssembler()
/aosp12/art/compiler/utils/x86_64/
H A Djni_macro_assembler_x86_64.cc27 static dwarf::Reg DWARFReg(Register reg) { in DWARFReg()
28 return dwarf::Reg::X86_64Core(static_cast<int>(reg)); in DWARFReg()
30 static dwarf::Reg DWARFReg(FloatRegister reg) { in DWARFReg()
31 return dwarf::Reg::X86_64Fp(static_cast<int>(reg)); in DWARFReg()
/aosp12/system/unwinding/libunwindstack/
H A DAndroidVersions.md42 * Fix bug handling of dwarf sections without any header (b/110235461).
82 elf file as Dwarf 4. It does not support the new dwarf ops in Dwarf 5.

12