Home
last modified time | relevance | path

Searched refs:code_ptr (Results 1 – 10 of 10) sorted by relevance

/art/runtime/jit/
Djit_code_cache.cc348 const void* code_ptr = nullptr; in GetSavedEntryPointOfPreCompiledMethod() local
350 code_ptr = zygote_map_.GetCodeFor(method); in GetSavedEntryPointOfPreCompiledMethod()
355 code_ptr = it->second; in GetSavedEntryPointOfPreCompiledMethod()
358 if (code_ptr != nullptr) { in GetSavedEntryPointOfPreCompiledMethod()
359 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod()
407 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
408 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
462 void JitCodeCache::FreeCodeAndData(const void* code_ptr, bool free_debug_info) { in FreeCodeAndData() argument
463 if (IsInZygoteExecSpace(code_ptr)) { in FreeCodeAndData()
467 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCodeAndData()
[all …]
Ddebugger_interface.h54 void AddNativeDebugInfoForJit(const void* code_ptr,
Ddebugger_interface.cc552 void AddNativeDebugInfoForJit(const void* code_ptr, in AddNativeDebugInfoForJit() argument
559 /*addr=*/ code_ptr, in AddNativeDebugInfoForJit()
565 << " for " << code_ptr in AddNativeDebugInfoForJit()
Djit_code_cache.h112 const void* code_ptr; member
440 void FreeCodeAndData(const void* code_ptr, bool free_debug_info = true)
/art/compiler/
Dexception_test.cc92 uint8_t* code_ptr = in SetUp() local
96 OatQuickMethodHeader method_header(code_ptr - fake_header_code_and_maps_.data(), code_size); in SetUp()
98 memcpy(code_ptr - header_size, &method_header, header_size); in SetUp()
99 memcpy(code_ptr, fake_code_.data(), fake_code_.size()); in SetUp()
103 CHECK_ALIGNED(code_ptr, 2); in SetUp()
109 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
114 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
Dcommon_compiler_test.cc78 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in MakeExecutable() local
79 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
80 MakeExecutable(code_ptr, code.size()); in MakeExecutable()
81 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
/art/runtime/
Doat_quick_method_header.h45 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { in FromCodePointer() argument
46 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer()
/art/compiler/debug/
Delf_debug_writer.cc245 const void* code_ptr = AlignDown(reinterpret_cast<const void*>(addr), kPcAlign); in PackElfFileForJIT() local
246 return std::binary_search(removed_symbols.begin(), removed_symbols.end(), code_ptr); in PackElfFileForJIT()
/art/dex2oat/linker/
Doat_writer.cc1550 const void* code_ptr = in StartClass() local
1552 if (code_ptr == nullptr) { in StartClass()
1556 code_ptr, pointer_size_); in StartClass()
1630 const void* code_ptr = in Postprocess() local
1632 if (code_ptr != nullptr) { in Postprocess()
1633 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()
/art/compiler/optimizing/
Doptimizing_compiler.cc1443 const void* code_ptr = reinterpret_cast<const void*>(info.code_address); in GenerateJitDebugInfo() local
1444 AddNativeDebugInfoForJit(code_ptr, elf, /*allow_packing=*/ mini_debug_info); in GenerateJitDebugInfo()