Home
last modified time | relevance | path

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

/art/compiler/jni/quick/
Djni_compiler.h38 ArrayRef<const uint8_t> cfi) in JniCompiledMethod() argument
44 cfi_(cfi.begin(), cfi.end()) {} in JniCompiledMethod()
Djni_compiler.cc219 jni_asm->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal()
226 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
639 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
644 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); in ArtJniCompileMethodInternal()
658 ArrayRef<const uint8_t>(*jni_asm->cfi().data())); in ArtJniCompileMethodInternal()
/art/compiler/jni/
Djni_cfi_test.cc84 jni_asm->cfi().SetEnabled(true); in TestImplSized()
94 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImplSized()
95 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized()
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc49 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/debug/
Delf_debug_frame_writer.h182 if (!method_infos[i].cfi.empty() && !method_infos[i].deduped) { in WriteCFISection()
193 ArrayRef<const uint8_t> l = lhs->cfi; in WriteCFISection()
194 ArrayRef<const uint8_t> r = rhs->cfi; in WriteCFISection()
214 DCHECK(!mi->cfi.empty()); in WriteCFISection()
225 mi->cfi, in WriteCFISection()
Dmethod_debug_info.h45 ArrayRef<const uint8_t> cfi; member
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc43 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/
Djni_macro_assembler_arm_vixl.cc99 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame()
100 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame()
108 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame()
109 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); in BuildFrame()
145 cfi().RememberState(); in RemoveFrame()
170 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame()
171 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame()
211 cfi().RestoreState(); in RemoveFrame()
212 cfi().DefCFAOffset(frame_size); in RemoveFrame()
218 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
[all …]
/art/compiler/utils/
Djni_macro_assembler.h224 virtual DebugFrameOpCodeWriterForAssembler& cfi() = 0;
274 DebugFrameOpCodeWriterForAssembler& cfi() override { in cfi() function
275 return asm_.cfi(); in cfi()
Dassembler.h394 DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } in cfi() function
/art/compiler/optimizing/
Doptimizing_cfi_test.cc62 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame()
103 ArrayRef<const uint8_t> actual_cfi(*(opt_asm->cfi().data())); in Check()
Doptimizing_compiler.cc763 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit()
866 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompile()
986 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompileIntrinsic()
1331 info.cfi = jni_compiled_method.GetCfi(); in JitCompile()
1440 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
Dcode_generator_arm_vixl.cc2097 GetAssembler()->cfi().Nop(); in GenerateFrameEntry()
2129 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask_)); in GenerateFrameEntry()
2130 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry()
2141 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(fpu_spill_mask_)); in GenerateFrameEntry()
2142 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(s0), 0, fpu_spill_mask_, kArmWordSize); in GenerateFrameEntry()
2147 GetAssembler()->cfi().AdjustCFAOffset(adjust); in GenerateFrameEntry()
2172 GetAssembler()->cfi().RememberState(); in GenerateFrameExit()
2175 GetAssembler()->cfi().AdjustCFAOffset(-adjust); in GenerateFrameExit()
2183 GetAssembler()->cfi().AdjustCFAOffset( in GenerateFrameExit()
2185 GetAssembler()->cfi().RestoreMany(DWARFReg(vixl32::SRegister(0)), fpu_spill_mask_); in GenerateFrameExit()
[all …]
Dcode_generator_mips64.cc1130 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
1139 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
1157 __ cfi().RememberState(); in GenerateFrameExit()
1169 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1178 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1187 __ cfi().RestoreState(); in GenerateFrameExit()
1188 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
Dcode_generator.cc401 DCHECK_EQ(GetAssembler()->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size_)); in Compile()
Dcode_generator_mips.cc1333 __ cfi().RelOffset(DWARFReg(reg), ofs); in GenerateFrameEntry()
1359 __ cfi().RememberState(); in GenerateFrameExit()
1373 __ cfi().Restore(DWARFReg(reg)); in GenerateFrameExit()
1403 __ cfi().RestoreState(); in GenerateFrameExit()
1404 __ cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit()
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.cc62 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize()
69 cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSize()
768 cfi().RememberState(); in RemoveFrame()
814 cfi().RestoreState(); in RemoveFrame()
815 cfi().DefCFAOffset(frame_size); in RemoveFrame()
/art/test/
DAndroid.bp464 "137-cfi/cfi.cc",
/art/compiler/utils/mips/
Dassembler_mips.h285 cfi().DelayEmittingAdvancePCs(); in Assembler()
290 DebugFrameOpCodeWriterForAssembler& cfi() override { return Assembler::cfi(); } in cfi() function
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S118 .cfi_rel_offset 28, 56 # Value from gp is pushed, so set the cfi offset accordingly.
651 .cfi_rel_offset 28, 80 # Value from gp is pushed, so set the cfi offset accordingly.
/art/oatdump/
Doatdump.cc324 info.cfi = ArrayRef<uint8_t>(); in WalkOatMethod()
/art/dex2oat/linker/
Doat_writer.cc1368 info.cfi = compiled_method->GetCFIInfo(); in VisitMethod()