Home
last modified time | relevance | path

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

/art/runtime/jit/
Djit_code_cache.cc353 const void* code_ptr = nullptr; in GetSavedEntryPointOfPreCompiledMethod() local
355 code_ptr = zygote_map_.GetCodeFor(method); in GetSavedEntryPointOfPreCompiledMethod()
360 code_ptr = it->second; in GetSavedEntryPointOfPreCompiledMethod()
363 if (code_ptr != nullptr) { in GetSavedEntryPointOfPreCompiledMethod()
364 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod()
417 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
418 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
472 void JitCodeCache::FreeCodeAndData(const void* code_ptr) { in FreeCodeAndData() argument
473 if (IsInZygoteExecSpace(code_ptr)) { in FreeCodeAndData()
477 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCodeAndData()
[all …]
Ddebugger_interface.h54 void AddNativeDebugInfoForJit(const void* code_ptr,
61 void RemoveNativeDebugInfoForJit(const void* code_ptr);
Ddebugger_interface.cc567 void AddNativeDebugInfoForJit(const void* code_ptr, in AddNativeDebugInfoForJit() argument
572 if (kIsDebugBuild && code_ptr != nullptr) { in AddNativeDebugInfoForJit()
573 DCHECK(g_dcheck_all_jit_functions.insert(code_ptr).second) << code_ptr << " already added"; in AddNativeDebugInfoForJit()
584 /*addr=*/ code_ptr, in AddNativeDebugInfoForJit()
590 << " for " << code_ptr in AddNativeDebugInfoForJit()
603 void RemoveNativeDebugInfoForJit(const void* code_ptr) { in RemoveNativeDebugInfoForJit() argument
605 g_dcheck_all_jit_functions.erase(code_ptr); in RemoveNativeDebugInfoForJit()
609 g_removed_jit_functions.push_back(code_ptr); in RemoveNativeDebugInfoForJit()
611 VLOG(jit) << "JIT mini-debug-info removed for " << code_ptr; in RemoveNativeDebugInfoForJit()
Djit_code_cache.h113 const void* code_ptr; member
450 void FreeCodeAndData(const void* code_ptr)
/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.cc89 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in MakeExecutable() local
90 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
91 MakeExecutable(code_ptr, code.size()); in MakeExecutable()
92 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.cc1561 const void* code_ptr = in StartClass() local
1563 if (code_ptr == nullptr) { in StartClass()
1567 code_ptr, pointer_size_); in StartClass()
1641 const void* code_ptr = in Postprocess() local
1643 if (code_ptr != nullptr) { in Postprocess()
1644 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()