Home
last modified time | relevance | path

Searched refs:cfi (Results 1 – 25 of 27) sorted by relevance

12

/art/compiler/jni/
Djni_cfi_test.cc59 jni_asm->cfi().SetEnabled(true); in TestImpl()
69 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImpl()
70 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImpl()
/art/compiler/debug/
Delf_debug_frame_writer.h185 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()
Dmethod_debug_info.h42 ArrayRef<const uint8_t> cfi; member
/art/test/
DAndroid.libarttest.mk34 137-cfi/cfi.cc \
DAndroid.run-test.mk325 137-cfi
342 137-cfi \
390 137-cfi \
397 137-cfi \
431 137-cfi \
445 137-cfi \
460 137-cfi
/art/compiler/jni/quick/
Djni_compiler.cc105 jni_asm->cfi().SetEnabled(driver->GetCompilerOptions().GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal()
117 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
480 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
482 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
499 ArrayRef<const uint8_t>(*jni_asm->cfi().data()), in ArtJniCompileMethodInternal()
/art/compiler/optimizing/
Doptimizing_cfi_test.cc58 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame()
98 const std::vector<uint8_t>& actual_cfi = *(opt_asm->cfi().data()); in Check()
Doptimizing_compiler.cc602 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit()
721 codegen->GetAssembler()->cfi().SetEnabled( in TryCompile()
960 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
Dcode_generator_x86_64.cc1045 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry()
1065 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry()
1066 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
1072 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
1080 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry()
1089 __ cfi().RememberState(); in GenerateFrameExit()
1097 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit()
1103 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
1109 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in GenerateFrameExit()
1110 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
[all …]
Dcode_generator_arm.cc915 __ cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry()
916 __ cfi().RelOffsetForMany(DWARFReg(kMethodRegisterArgument), 0, core_spill_mask_, kArmWordSize); in GenerateFrameEntry()
920 __ cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry()
921 __ cfi().RelOffsetForMany(DWARFReg(S0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry()
925 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
934 __ cfi().RememberState(); in GenerateFrameExit()
937 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
941 __ cfi().AdjustCFAOffset(-kArmPointerSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameExit()
942 __ cfi().RestoreMany(DWARFReg(SRegister(0)), fpu_spill_mask_); in GenerateFrameExit()
948 __ cfi().RestoreState(); in GenerateFrameExit()
[all …]
Dcode_generator_mips64.cc557 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
566 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
581 __ cfi().RememberState(); in GenerateFrameExit()
603 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
612 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
623 __ cfi().RestoreState(); in GenerateFrameExit()
624 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
Dintrinsics_x86.cc862 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall()
881 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall()
1662 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck()
1678 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck()
Dcode_generator_x86.cc843 __ cfi().SetCurrentCFAOffset(kX86WordSize); // return address in GenerateFrameEntry()
862 __ cfi().AdjustCFAOffset(kX86WordSize); in GenerateFrameEntry()
863 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry()
869 __ cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
874 __ cfi().RememberState(); in GenerateFrameExit()
878 __ cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
884 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86WordSize)); in GenerateFrameExit()
885 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
890 __ cfi().RestoreState(); in GenerateFrameExit()
891 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
Dcode_generator_arm64.cc1021 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry()
1031 GetAssembler()->cfi().RememberState(); in GenerateFrameExit()
1039 GetAssembler()->cfi().AdjustCFAOffset(-frame_size); in GenerateFrameExit()
1042 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit()
1043 GetAssembler()->cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
Dcode_generator.cc217 DCHECK_EQ(GetAssembler()->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size_)); in Compile()
Dcode_generator_mips.cc710 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
746 __ cfi().RememberState(); in GenerateFrameExit()
788 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
799 __ cfi().RestoreState(); in GenerateFrameExit()
800 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
/art/compiler/utils/mips64/
Dassembler_mips64.cc43 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI()
48 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI()
53 cfi().ReserveCFIStream(old_stream.size() + advances.size() + 16); in PatchCFI()
58 cfi().AppendRawData(old_stream, stream_pos, advance.stream_pos); in PatchCFI()
62 cfi().AdvancePC(final_pc); in PatchCFI()
65 cfi().AppendRawData(old_stream, stream_pos, old_stream.size()); in PatchCFI()
Dassembler_mips64.h112 cfi().DelayEmittingAdvancePCs(); in Mips64Assembler()
/art/compiler/utils/
Dassembler.h518 DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } in cfi() function
/art/compiler/utils/arm64/
Dassembler_arm64.cc67 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
74 cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSize()
/art/compiler/utils/mips/
Dassembler_mips.cc46 size_t number_of_delayed_adjust_pcs = cfi().NumberOfDelayedAdvancePCs(); in FinalizeInstructions()
53 if (cfi().NumberOfDelayedAdvancePCs() == 0u) { in PatchCFI()
59 const auto data = cfi().ReleaseStreamAndPrepareForDelayedAdvancePC(); in PatchCFI()
77 cfi().AppendRawData(old_stream, 0u, advances[0].stream_pos); in PatchCFI()
96 cfi().AdvancePC(advance_pc); in PatchCFI()
98 cfi().AppendRawData(old_stream, advances[entry].stream_pos, end_pos); in PatchCFI()
Dassembler_mips.h114 cfi().DelayEmittingAdvancePCs(); in Assembler()
/art/compiler/utils/arm/
Dassembler_thumb2.cc300 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()
Dassembler_thumb2.h50 cfi().DelayEmittingAdvancePCs(); in ArmAssembler()
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S118 .cfi_rel_offset 28, 56 # Value from gp is pushed, so set the cfi offset accordingly.
384 .cfi_rel_offset 28, 80 # Value from gp is pushed, so set the cfi offset accordingly.

12