/art/compiler/jni/quick/ |
D | jni_compiler.h | 38 ArrayRef<const uint8_t> cfi) in JniCompiledMethod() argument 44 cfi_(cfi.begin(), cfi.end()) {} in JniCompiledMethod()
|
D | jni_compiler.cc | 217 jni_asm->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in ArtJniCompileMethodInternal() 229 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal() 666 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal() 672 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(current_frame_size)); in ArtJniCompileMethodInternal() 687 ArrayRef<const uint8_t>(*jni_asm->cfi().data())); in ArtJniCompileMethodInternal()
|
/art/compiler/debug/ |
D | elf_debug_frame_writer.h | 162 if (!method_infos[i].cfi.empty() && !method_infos[i].deduped) { in WriteCFISection() 173 ArrayRef<const uint8_t> l = lhs->cfi; in WriteCFISection() 174 ArrayRef<const uint8_t> r = rhs->cfi; in WriteCFISection() 194 DCHECK(!mi->cfi.empty()); in WriteCFISection() 205 mi->cfi, in WriteCFISection()
|
D | method_debug_info.h | 45 ArrayRef<const uint8_t> cfi; member
|
/art/compiler/jni/ |
D | jni_cfi_test.cc | 84 jni_asm->cfi().SetEnabled(true); in TestImplSized() 101 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size); in TestImplSized() 102 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized()
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.cc | 57 cfi().SetCurrentCFAOffset(4); // Return address on stack. in BuildFrame() 72 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 73 cfi().RelOffset(DWARFReg(spill), 0); in BuildFrame() 82 cfi().AdjustCFAOffset(adjust); in BuildFrame() 86 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 88 DCHECK_EQ(static_cast<size_t>(cfi().GetCurrentCFAOffset()), frame_size); in BuildFrame() 95 cfi().RememberState(); in RemoveFrame() 100 cfi().AdjustCFAOffset(-adjust); in RemoveFrame() 105 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame() 106 cfi().Restore(DWARFReg(spill)); in RemoveFrame() [all …]
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.cc | 49 cfi().SetCurrentCFAOffset(8); // Return address on stack. in BuildFrame() 62 cfi().AdjustCFAOffset(kFramePointerSize); in BuildFrame() 63 cfi().RelOffset(DWARFReg(spill.AsCpuRegister().AsRegister()), 0); in BuildFrame() 72 cfi().AdjustCFAOffset(rest_of_frame); in BuildFrame() 82 cfi().RelOffset(DWARFReg(spill.AsXmmRegister().AsFloatRegister()), offset); in BuildFrame() 98 cfi().RememberState(); in RemoveFrame() 108 cfi().Restore(DWARFReg(spill.AsXmmRegister().AsFloatRegister())); in RemoveFrame() 118 cfi().AdjustCFAOffset(-offset); in RemoveFrame() 124 cfi().AdjustCFAOffset(-static_cast<int>(kFramePointerSize)); in RemoveFrame() 125 cfi().Restore(DWARFReg(spill.AsCpuRegister().AsRegister())); in RemoveFrame() [all …]
|
/art/compiler/optimizing/ |
D | optimizing_cfi_test.cc | 60 code_gen_->GetAssembler()->cfi().SetEnabled(true); in SetUpFrame() 101 ArrayRef<const uint8_t> actual_cfi(*(opt_asm->cfi().data())); in Check()
|
D | optimizing_compiler.cc | 715 ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()), in Emit() 818 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompile() 943 codegen->GetAssembler()->cfi().SetEnabled(compiler_options.GenerateAnyDebugInfo()); in TryCompileIntrinsic() 1282 info.cfi = jni_compiled_method.GetCfi(); in JitCompile() 1390 info.cfi = ArrayRef<const uint8_t>(*codegen->GetAssembler()->cfi().data()); in JitCompile()
|
D | intrinsics_x86.cc | 481 __ cfi().AdjustCFAOffset(16); in GenFPToFPCall() 500 __ cfi().AdjustCFAOffset(-16); in GenFPToFPCall() 1412 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck() 1428 __ cfi().AdjustCFAOffset(stack_adjust); in VisitStringGetCharsNoCheck() 1465 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck() 1469 __ cfi().AdjustCFAOffset(-stack_adjust); in VisitStringGetCharsNoCheck() 2875 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy() 2877 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy() 2898 __ cfi().AdjustCFAOffset(4); in VisitSystemArrayCopy() 2900 __ cfi().AdjustCFAOffset(-4); in VisitSystemArrayCopy()
|
D | code_generator_x86.cc | 1083 __ cfi().AdjustCFAOffset(4); in MaybeIncrementHotness() 1095 __ cfi().AdjustCFAOffset(-4); in MaybeIncrementHotness() 1111 __ cfi().AdjustCFAOffset(4); in MaybeIncrementHotness() 1122 __ cfi().AdjustCFAOffset(-4); in MaybeIncrementHotness() 1131 __ cfi().AdjustCFAOffset(4); in MaybeIncrementHotness() 1136 __ cfi().AdjustCFAOffset(-4); in MaybeIncrementHotness() 1147 __ cfi().SetCurrentCFAOffset(kX86WordSize); // return address in GenerateFrameEntry() 1164 __ cfi().AdjustCFAOffset(kX86WordSize); in GenerateFrameEntry() 1165 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry() 1188 __ cfi().RememberState(); in GenerateFrameExit() [all …]
|
D | code_generator_arm_vixl.cc | 2091 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize); in MaybeIncrementHotness() 2102 GetAssembler()->cfi().AdjustCFAOffset(-static_cast<int>(kArmWordSize)); in MaybeIncrementHotness() 2116 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize); in MaybeIncrementHotness() 2124 GetAssembler()->cfi().AdjustCFAOffset(-static_cast<int>(kArmWordSize)); in MaybeIncrementHotness() 2137 GetAssembler()->cfi().AdjustCFAOffset(kArmWordSize * POPCOUNT(core_spill_mask)); in MaybeIncrementHotness() 2141 GetAssembler()->cfi().AdjustCFAOffset( in MaybeIncrementHotness() 2164 GetAssembler()->cfi().Nop(); in GenerateFrameEntry() 2210 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry() 2211 GetAssembler()->cfi().RelOffsetForMany(DWARFReg(kMethodRegister), in GenerateFrameEntry() 2219 GetAssembler()->cfi().RelOffset(DWARFReg(sreg), /*offset=*/ fp_spills_offset); in GenerateFrameEntry() [all …]
|
D | code_generator_x86_64.cc | 1432 __ cfi().AdjustCFAOffset(kX86_64WordSize); in MaybeIncrementHotness() 1433 __ cfi().RelOffset(DWARFReg(RDI), 0); in MaybeIncrementHotness() 1442 __ cfi().AdjustCFAOffset(-static_cast<int>(kX86_64WordSize)); in MaybeIncrementHotness() 1443 __ cfi().Restore(DWARFReg(RDI)); in MaybeIncrementHotness() 1451 __ cfi().SetCurrentCFAOffset(kX86_64WordSize); // return address in GenerateFrameEntry() 1469 __ cfi().AdjustCFAOffset(kX86_64WordSize); in GenerateFrameEntry() 1470 __ cfi().RelOffset(DWARFReg(reg), 0); in GenerateFrameEntry() 1483 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); in GenerateFrameEntry() 1507 __ cfi().RememberState(); in GenerateFrameExit() 1515 __ cfi().Restore(DWARFReg(kFpuCalleeSaves[i])); in GenerateFrameExit() [all …]
|
D | code_generator_arm64.cc | 1237 GetAssembler()->cfi().AdjustCFAOffset(frame_size); in GenerateFrameEntry() 1239 GetAssembler()->cfi().RelOffset(DWARFReg(lowest_spill), core_spills_offset); in GenerateFrameEntry() 1256 GetAssembler()->cfi().RememberState(); in GenerateFrameExit() 1278 GetAssembler()->cfi().Restore(DWARFReg(lowest_spill)); in GenerateFrameExit() 1282 GetAssembler()->cfi().AdjustCFAOffset(-frame_size); in GenerateFrameExit() 1285 GetAssembler()->cfi().RestoreState(); in GenerateFrameExit() 1286 GetAssembler()->cfi().DefCFAOffset(GetFrameSize()); in GenerateFrameExit() 3697 GetAssembler()->cfi().AdjustCFAOffset(adjustment); in IncreaseFrame() 3702 GetAssembler()->cfi().AdjustCFAOffset(-adjustment); in DecreaseFrame()
|
D | code_generator.cc | 396 DCHECK_EQ(GetAssembler()->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size_)); in Compile()
|
/art/compiler/utils/ |
D | jni_macro_assembler.h | 261 virtual DebugFrameOpCodeWriterForAssembler& cfi() = 0; 311 DebugFrameOpCodeWriterForAssembler& cfi() override { in cfi() function 312 return asm_.cfi(); in cfi()
|
D | assembler.h | 394 DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } in cfi() function
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 103 cfi().AdjustCFAOffset(POPCOUNT(core_spill_mask) * kFramePointerSize); in BuildFrame() 104 cfi().RelOffsetForMany(DWARFReg(r0), 0, core_spill_mask, kFramePointerSize); in BuildFrame() 113 cfi().AdjustCFAOffset(POPCOUNT(fp_spill_mask) * kFramePointerSize); in BuildFrame() 114 cfi().RelOffsetForMany(DWARFReg(s0), 0, fp_spill_mask, kFramePointerSize); in BuildFrame() 134 cfi().RememberState(); in RemoveFrame() 159 cfi().AdjustCFAOffset(-kFramePointerSize * POPCOUNT(fp_spill_mask)); in RemoveFrame() 160 cfi().RestoreMany(DWARFReg(s0), fp_spill_mask); in RemoveFrame() 199 cfi().RestoreState(); in RemoveFrame() 200 cfi().DefCFAOffset(frame_size); in RemoveFrame() 207 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize() [all …]
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.cc | 67 cfi().AdjustCFAOffset(adjust); in IncreaseFrameSize() 76 cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSize() 840 cfi().RememberState(); in RemoveFrame() 883 cfi().RestoreState(); in RemoveFrame() 884 cfi().DefCFAOffset(frame_size); in RemoveFrame()
|
/art/test/ |
D | Android.bp | 595 "137-cfi/cfi.cc",
|
/art/oatdump/ |
D | oatdump.cc | 321 info.cfi = ArrayRef<uint8_t>(); in WalkOatMethod()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1400 info.cfi = compiled_method->GetCFIInfo(); in VisitMethod()
|