Home
last modified time | relevance | path

Searched refs:linker (Results 1 – 25 of 100) sorted by relevance

1234

/art/compiler/driver/
Dcompiled_method_storage_test.cc48 const linker::LinkerPatch raw_patches1[] = { in TEST()
49 linker::LinkerPatch::IntrinsicReferencePatch(0u, 0u, 0u), in TEST()
50 linker::LinkerPatch::RelativeMethodPatch(4u, nullptr, 0u, 1u), in TEST()
52 const linker::LinkerPatch raw_patches2[] = { in TEST()
53 linker::LinkerPatch::IntrinsicReferencePatch(0u, 0u, 0u), in TEST()
54 linker::LinkerPatch::RelativeMethodPatch(4u, nullptr, 0u, 2u), in TEST()
56 ArrayRef<const linker::LinkerPatch> patches[] = { in TEST()
57 ArrayRef<const linker::LinkerPatch>(raw_patches1), in TEST()
58 ArrayRef<const linker::LinkerPatch>(raw_patches2), in TEST()
Dcompiled_method_storage.h32 namespace linker {
63 const LengthPrefixedArray<linker::LinkerPatch>* DeduplicateLinkerPatches(
64 const ArrayRef<const linker::LinkerPatch>& linker_patches);
65 void ReleaseLinkerPatches(const LengthPrefixedArray<linker::LinkerPatch>* linker_patches);
70 ArrayRef<const uint8_t> GetThunkCode(const linker::LinkerPatch& linker_patch,
74 void SetThunkCode(const linker::LinkerPatch& linker_patch,
88 static ThunkMapKey GetThunkMapKey(const linker::LinkerPatch& linker_patch);
121 ArrayDedupeSet<linker::LinkerPatch> dedupe_linker_patches_;
Dcompiled_method_storage.cc109 ThunkMapKey(linker::LinkerPatch::Type type, uint32_t custom_value1, uint32_t custom_value2) in ThunkMapKey()
123 linker::LinkerPatch::Type type_;
155 LengthPrefixedArrayAlloc<linker::LinkerPatch>(swap_space_.get())), in CompiledMethodStorage()
204 const LengthPrefixedArray<linker::LinkerPatch>* CompiledMethodStorage::DeduplicateLinkerPatches( in DeduplicateLinkerPatches()
205 const ArrayRef<const linker::LinkerPatch>& linker_patches) { in DeduplicateLinkerPatches()
210 const LengthPrefixedArray<linker::LinkerPatch>* linker_patches) { in ReleaseLinkerPatches()
215 const linker::LinkerPatch& linker_patch) { in GetThunkMapKey()
219 case linker::LinkerPatch::Type::kCallEntrypoint: in GetThunkMapKey()
222 case linker::LinkerPatch::Type::kBakerReadBarrierBranch: in GetThunkMapKey()
226 case linker::LinkerPatch::Type::kCallRelative: in GetThunkMapKey()
[all …]
/art/dex2oat/
DAndroid.bp25 "linker/elf_writer.cc",
26 "linker/elf_writer_quick.cc",
27 "linker/image_writer.cc",
28 "linker/multi_oat_relative_patcher.cc",
29 "linker/oat_writer.cc",
30 "linker/relative_patcher.cc",
36 "linker/arm/relative_patcher_arm_base.cc",
37 "linker/arm/relative_patcher_thumb2.cc",
42 "linker/arm64/relative_patcher_arm64.cc",
47 "linker/x86/relative_patcher_x86.cc",
[all …]
Ddex2oat_options.cc235 .WithType<linker::CopyOption>() in CreateArgumentParser()
236 .WithValueMap({{"true", linker::CopyOption::kOnlyIfCompressed}, in CreateArgumentParser()
237 {"false", linker::CopyOption::kNever}, in CreateArgumentParser()
238 {"always", linker::CopyOption::kAlways}}) in CreateArgumentParser()
/art/libnativeloader/
DREADME.md14 library finds the linker namespace (named `classloader-namespace`) that is
17 is performed by the dynamic linker.
19 The linker namespace is created when an APK is loaded into the process, and is
20 associated with the classloader that loaded the APK. The linker namespace is
25 The linker namespace is also configured differently depending on other
36 have their own linker namespaces. For example, ICU libraries `libicuuc.so` and
55 dynamic linker interface: `libdl.so` and `libnativebridge.so`. The former is
73 linker namespaces and finding an already created linker namespace for a given
77 models a linker namespace. Its main job is to abstract the two types of the
78 dynamic linker interface so that other parts of this library do not have to know
/art/compiler/
Dcompiled_method.h34 namespace linker {
116 const ArrayRef<const linker::LinkerPatch>& patches);
126 const ArrayRef<const linker::LinkerPatch>& patches);
146 ArrayRef<const linker::LinkerPatch> GetPatches() const;
162 const LengthPrefixedArray<linker::LinkerPatch>* const patches_;
Dcompiled_method-inl.h49 inline ArrayRef<const linker::LinkerPatch> CompiledMethod::GetPatches() const { in GetPatches()
Dcompiled_method.cc102 const ArrayRef<const linker::LinkerPatch>& patches) in CompiledMethod()
115 const ArrayRef<const linker::LinkerPatch>& patches) { in SwapAllocCompiledMethod()
/art/runtime/
Dclass_root-inl.h48 inline ObjPtr<mirror::Class> GetClassRoot(ClassRoot class_root, ClassLinker* linker) in GetClassRoot() argument
50 return GetClassRoot<kReadBarrierOption>(class_root, linker->GetClassRoots<kReadBarrierOption>()); in GetClassRoot()
87 inline ObjPtr<mirror::Class> GetClassRoot(ClassLinker* linker) in GetClassRoot() argument
89 return GetClassRoot<kReadBarrierOption>(detail::ClassRootSelector<MirrorType>::value, linker); in GetClassRoot()
Dclass_table.h35 namespace linker {
39 namespace linker {
297 friend class linker::ImageWriter; // for InsertWithoutLocks.
/art/test/804-class-extends-itself/
Dinfo.txt1 Exercise class linker check for classes extending themselves (b/28685551).
/art/dex2oat/linker/
Delf_writer_quick.h31 namespace linker {
Delf_writer.cc23 namespace linker { namespace
Delf_writer.h40 namespace linker {
Dindex_bss_mapping_encoder.h27 namespace linker {
Dmulti_oat_relative_patcher.cc26 namespace linker { namespace
/art/dex2oat/linker/x86/
Drelative_patcher_x86.h23 namespace linker {
Drelative_patcher_x86_base.h23 namespace linker {
Drelative_patcher_x86_base.cc22 namespace linker { namespace
Drelative_patcher_x86.cc23 namespace linker { namespace
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64.h23 namespace linker {
Drelative_patcher_x86_64.cc23 namespace linker { namespace
/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc128 ClassLinker* linker = Runtime::Current()->GetClassLinker(); in artThrowClassCastException() local
129 dest_type = linker->LookupResolvedType(type_index, visitor.caller).Ptr(); in artThrowClassCastException()
/art/runtime/verifier/
Dclass_verifier.cc252 ClassLinker* const linker = Runtime::Current()->GetClassLinker(); in VerifyClass() local
265 ArtMethod* resolved_method = linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in VerifyClass()
277 linker, in VerifyClass()

1234