/art/compiler/jni/ |
D | jni_cfi_test.cc | 81 jni_asm->cfi().SetEnabled(true); in TestImplSized() 91 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImplSized() 92 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized()
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.cc | 49 cfi().SetCurrentCFAOffset(4); // Return address on stack. in BuildFrame() 56 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 57 cfi().RelOffset(DWARFReg(spill), 0); in BuildFrame() 65 cfi().AdjustCFAOffset(adjust); in BuildFrame() 67 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 68 DCHECK_EQ(static_cast<size_t>(cfi().GetCurrentCFAOffset()), frame_size); in BuildFrame() 90 cfi().RememberState(); in RemoveFrame() 94 cfi().AdjustCFAOffset(-adjust); in RemoveFrame() 98 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame() 99 cfi().Restore(DWARFReg(spill)); in RemoveFrame() [all …]
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.cc | 43 cfi().SetCurrentCFAOffset(8); // Return address on stack. in BuildFrame() 51 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 52 cfi().RelOffset(DWARFReg(spill.AsCpuRegister().AsRegister()), 0); in BuildFrame() 60 cfi().AdjustCFAOffset(rest_of_frame); in BuildFrame() 69 cfi().RelOffset(DWARFReg(spill.AsXmmRegister().AsFloatRegister()), offset); in BuildFrame() 105 cfi().RememberState(); in RemoveFrame() 116 cfi().Restore(DWARFReg(spill.AsXmmRegister().AsFloatRegister())); in RemoveFrame() 123 cfi().AdjustCFAOffset(-adjust); in RemoveFrame() 128 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame() 129 cfi().Restore(DWARFReg(spill.AsCpuRegister().AsRegister())); in RemoveFrame() [all …]
|
/art/compiler/debug/ |
D | elf_debug_frame_writer.h | 185 if (!method_infos[i].cfi.empty() && !method_infos[i].deduped) { in WriteCFISection() 196 ArrayRef<const uint8_t> l = lhs->cfi; in WriteCFISection() 197 ArrayRef<const uint8_t> r = rhs->cfi; in WriteCFISection() 226 DCHECK(!mi->cfi.empty()); in WriteCFISection() 235 mi->cfi, format, buffer_address, &buffer, in WriteCFISection()
|
D | method_debug_info.h | 42 ArrayRef<const uint8_t> cfi; member
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 75 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame() 76 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame() 84 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame() 85 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); in BuildFrame() 121 cfi().RememberState(); in RemoveFrame() 146 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame() 147 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame() 163 cfi().RestoreState(); in RemoveFrame() 164 cfi().DefCFAOffset(frame_size); in RemoveFrame() 170 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize() [all …]
|
/art/compiler/utils/ |
D | jni_macro_assembler.h | 217 virtual DebugFrameOpCodeWriterForAssembler& cfi() = 0; 260 DebugFrameOpCodeWriterForAssembler& cfi() OVERRIDE { in cfi() function 261 return asm_.cfi(); in cfi()
|
D | assembler.h | 393 DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } in cfi() function
|
/art/compiler/optimizing/ |
D | optimizing_cfi_test.cc | 63 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame() 103 const std::vector<uint8_t>& actual_cfi = *(opt_asm->cfi().data()); in Check()
|
D | optimizing_compiler.cc | 878 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit() 972 codegen->GetAssembler()->cfi().SetEnabled( in TryCompile() 1272 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
|
D | intrinsics_x86.cc | 971 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall() 990 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall() 1791 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck() 1807 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck() 1844 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck() 1848 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck() 3251 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy() 3253 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy() 3274 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy() 3276 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
|
D | code_generator_x86_64.cc | 1262 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry() 1282 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry() 1283 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry() 1289 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry() 1297 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry() 1316 __ cfi().RememberState(); in GenerateFrameExit() 1324 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit() 1330 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit() 1336 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in GenerateFrameExit() 1337 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit() [all …]
|
D | code_generator_x86.cc | 1063 __ cfi().SetCurrentCFAOffset(kX86WordSize); // return address in GenerateFrameEntry() 1082 __ cfi().AdjustCFAOffset(kX86WordSize); in GenerateFrameEntry() 1083 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry() 1089 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry() 1104 __ cfi().RememberState(); in GenerateFrameExit() 1108 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit() 1114 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86WordSize)); in GenerateFrameExit() 1115 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit() 1120 __ cfi().RestoreState(); in GenerateFrameExit() 1121 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
|
D | code_generator_arm_vixl.cc | 2659 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry() 2660 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry() 2671 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry() 2672 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(s0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry() 2677 GetAssembler()->cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry() 2700 GetAssembler()->cfi().RememberState(); in GenerateFrameExit() 2703 GetAssembler()->cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit() 2711 GetAssembler()->cfi().AdjustCFAOffset( in GenerateFrameExit() 2713 GetAssembler()->cfi().RestoreMany(DWARFReg(vixl32::SRegister(0)), fpu_spill_mask_); in GenerateFrameExit() 2719 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit() [all …]
|
D | code_generator_mips64.cc | 1180 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry() 1189 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry() 1207 __ cfi().RememberState(); in GenerateFrameExit() 1219 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit() 1228 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit() 1237 __ cfi().RestoreState(); in GenerateFrameExit() 1238 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
|
D | code_generator_arm64.cc | 1586 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry() 1601 GetAssembler()->cfi().RememberState(); in GenerateFrameExit() 1609 GetAssembler()->cfi().AdjustCFAOffset(-frame_size); in GenerateFrameExit() 1612 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit() 1613 GetAssembler()->cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
|
D | code_generator.cc | 241 DCHECK_EQ(GetAssembler()->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size_)); in Compile()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 222 jni_asm->cfi().SetEnabled(driver->GetCompilerOptions().GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal() 234 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal() 646 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal() 648 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal() 665 ArrayRef<const uint8_t>(*jni_asm->cfi().data()), in ArtJniCompileMethodInternal()
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.cc | 63 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize() 70 cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSize() 769 cfi().RememberState(); in RemoveFrame() 789 cfi().RestoreState(); in RemoveFrame() 790 cfi().DefCFAOffset(frame_size); in RemoveFrame()
|
/art/test/ |
D | Android.bp | 389 "137-cfi/cfi.cc",
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.cc | 51 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI() 56 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI() 61 cfi().ReserveCFIStream(old_stream.size() + advances.size() + 16); in PatchCFI() 66 cfi().AppendRawData(old_stream, stream_pos, advance.stream_pos); in PatchCFI() 70 cfi().AdvancePC(final_pc); in PatchCFI() 73 cfi().AppendRawData(old_stream, stream_pos, old_stream.size()); in PatchCFI()
|
D | assembler_mips64.h | 432 cfi().DelayEmittingAdvancePCs(); in Assembler() 442 DebugFrameOpCodeWriterForAssembler& cfi() { return Assembler::cfi(); } in cfi() function
|
/art/compiler/utils/mips/ |
D | assembler_mips.h | 203 cfi().DelayEmittingAdvancePCs(); in Assembler() 208 DebugFrameOpCodeWriterForAssembler& cfi() { return Assembler::cfi(); } in cfi() function
|
D | assembler_mips.cc | 245 size_t number_of_delayed_adjust_pcs = cfi().NumberOfDelayedAdvancePCs(); in FinalizeInstructions() 253 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI() 259 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI() 277 cfi().AppendRawData(old_stream, 0u, advances[0].stream_pos); in PatchCFI() 296 cfi().AdvancePC(advance_pc); in PatchCFI() 298 cfi().AppendRawData(old_stream, advances[entry].stream_pos, end_pos); in PatchCFI()
|
/art/runtime/arch/mips64/ |
D | quick_entrypoints_mips64.S | 118 .cfi_rel_offset 28, 56 # Value from gp is pushed, so set the cfi offset accordingly. 627 .cfi_rel_offset 28, 80 # Value from gp is pushed, so set the cfi offset accordingly.
|