/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/utils/arm/ |
D | jni_macro_assembler_arm.cc | 66 DebugFrameOpCodeWriterForAssembler& ArmJNIMacroAssembler::cfi() { in cfi() function in art::arm::ArmJNIMacroAssembler 67 return asm_->cfi(); in cfi() 107 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame() 108 cfi().RelOffsetForMany(DWARFReg(Register(0)), 0, core_spill_mask, kFramePointerSize); in BuildFrame() 111 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame() 112 cfi().RelOffsetForMany(DWARFReg(SRegister(0)), 0, fp_spill_mask, kFramePointerSize); in BuildFrame() 147 cfi().RememberState(); in RemoveFrame() 167 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame() 168 cfi().RestoreMany(DWARFReg(SRegister(0)), fp_spill_mask); in RemoveFrame() 175 cfi().RestoreState(); in RemoveFrame() [all …]
|
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() 145 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame() 146 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame() 153 cfi().RestoreState(); in RemoveFrame() 154 cfi().DefCFAOffset(frame_size); in RemoveFrame() 160 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize() [all …]
|
D | jni_macro_assembler_arm.h | 42 DebugFrameOpCodeWriterForAssembler& cfi() OVERRIDE;
|
D | assembler_thumb2.cc | 300 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI() 305 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI() 310 cfi().ReserveCFIStream(old_stream.size() + advances.size() + 16); in PatchCFI() 315 cfi().AppendRawData(old_stream, stream_pos, advance.stream_pos); in PatchCFI() 319 cfi().AdvancePC(final_pc); in PatchCFI() 322 cfi().AppendRawData(old_stream, stream_pos, old_stream.size()); in PatchCFI()
|
/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/ |
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/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/optimizing/ |
D | optimizing_cfi_test.cc | 69 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame() 109 const std::vector<uint8_t>& actual_cfi = *(opt_asm->cfi().data()); in Check()
|
D | optimizing_compiler.cc | 873 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit() 967 codegen->GetAssembler()->cfi().SetEnabled( in TryCompile() 1266 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
|
D | intrinsics_x86.cc | 973 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall() 992 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall() 1793 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck() 1809 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck() 1846 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck() 1850 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck() 3312 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy() 3314 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy() 3335 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy() 3337 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
|
D | code_generator_x86_64.cc | 1267 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry() 1287 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry() 1288 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry() 1294 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry() 1302 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry() 1322 __ cfi().RememberState(); in GenerateFrameExit() 1330 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit() 1336 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit() 1342 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in GenerateFrameExit() 1343 __ 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() 1094 __ 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.cc | 2079 __ cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry() 2080 __ cfi().RelOffsetForMany(DWARFReg(kMethodRegisterArgument), 0, core_spill_mask_, kArmWordSize); in GenerateFrameEntry() 2084 __ cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry() 2085 __ cfi().RelOffsetForMany(DWARFReg(S0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry() 2096 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry() 2111 __ cfi().RememberState(); in GenerateFrameExit() 2114 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit() 2118 __ cfi().AdjustCFAOffset(-static_cast<int>(kArmPointerSize) * POPCOUNT(fpu_spill_mask_)); in GenerateFrameExit() 2119 __ cfi().RestoreMany(DWARFReg(SRegister(0)), fpu_spill_mask_); in GenerateFrameExit() 2125 __ cfi().RestoreState(); in GenerateFrameExit() [all …]
|
D | code_generator_arm_vixl.cc | 2157 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry() 2158 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry() 2169 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry() 2170 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(s0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry() 2183 GetAssembler()->cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry() 2198 GetAssembler()->cfi().RememberState(); in GenerateFrameExit() 2201 GetAssembler()->cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit() 2209 GetAssembler()->cfi().AdjustCFAOffset( in GenerateFrameExit() 2211 GetAssembler()->cfi().RestoreMany(DWARFReg(vixl32::SRegister(0)), fpu_spill_mask_); in GenerateFrameExit() 2217 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit() [all …]
|
/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() 782 cfi().RestoreState(); in RemoveFrame() 783 cfi().DefCFAOffset(frame_size); in RemoveFrame()
|
/art/test/ |
D | Android.bp | 375 "137-cfi/cfi.cc",
|
/art/compiler/utils/mips/ |
D | assembler_mips.h | 198 cfi().DelayEmittingAdvancePCs(); in Assembler() 203 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/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 | 429 cfi().DelayEmittingAdvancePCs(); in Assembler() 439 DebugFrameOpCodeWriterForAssembler& cfi() { return Assembler::cfi(); } in cfi() function
|