/art/runtime/gc/accounting/ |
D | bitmap-inl.h | 33 inline bool Bitmap::AtomicTestAndSetBit(uintptr_t bit_index) { in AtomicTestAndSetBit() 36 const uintptr_t word_mask = BitIndexToMask(bit_index); in AtomicTestAndSetBit() 37 auto* atomic_entry = reinterpret_cast<Atomic<uintptr_t>*>(&bitmap_begin_[word_index]); in AtomicTestAndSetBit() 38 uintptr_t old_word; in AtomicTestAndSetBit() 51 inline bool Bitmap::TestBit(uintptr_t bit_index) const { in TestBit() 57 inline void Bitmap::VisitSetBits(uintptr_t bit_start, uintptr_t bit_end, const Visitor& visitor) in VisitSetBits() 61 const uintptr_t index_start = BitIndexToWordIndex(bit_start); in VisitSetBits() 62 const uintptr_t index_end = BitIndexToWordIndex(bit_end); in VisitSetBits() 75 uintptr_t left_edge = bitmap_begin_[index_start]; in VisitSetBits() 77 left_edge &= ~((static_cast<uintptr_t>(1) << (bit_start % kBitsPerBitmapWord)) - 1); in VisitSetBits() [all …]
|
D | space_bitmap-inl.h | 35 uintptr_t addr = reinterpret_cast<uintptr_t>(obj); in AtomicTestAndSet() 37 const uintptr_t offset = addr - heap_begin_; in AtomicTestAndSet() 39 const uintptr_t mask = OffsetToMask(offset); in AtomicTestAndSet() 40 Atomic<uintptr_t>* atomic_entry = &bitmap_begin_[index]; in AtomicTestAndSet() 42 uintptr_t old_word; in AtomicTestAndSet() 57 uintptr_t addr = reinterpret_cast<uintptr_t>(obj); in Test() 61 const uintptr_t offset = addr - heap_begin_; in Test() 67 inline void SpaceBitmap<kAlignment>::VisitMarkedRange(uintptr_t visit_begin, in VisitMarkedRange() 68 uintptr_t visit_end, in VisitMarkedRange() 72 for (uintptr_t i = visit_begin; i < visit_end; i += kAlignment) { in VisitMarkedRange() [all …]
|
D | card_table-inl.h | 39 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); in byte_cas() 43 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); in byte_cas() 46 const uintptr_t cur_word = word_atomic->LoadRelaxed() & in byte_cas() 47 ~(static_cast<uintptr_t>(0xFF) << shift_in_bits); in byte_cas() 48 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas() 49 const uintptr_t new_word = cur_word | (static_cast<uintptr_t>(new_value) << shift_in_bits); in byte_cas() 73 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); in Scan() 81 (reinterpret_cast<uintptr_t>(card_end) & (sizeof(uintptr_t) - 1)); in Scan() 83 uintptr_t* word_end = reinterpret_cast<uintptr_t*>(aligned_end); in Scan() 84 for (uintptr_t* word_cur = reinterpret_cast<uintptr_t*>(card_cur); word_cur < word_end; in Scan() [all …]
|
D | bitmap.h | 48 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex() 57 static ALWAYS_INLINE constexpr uintptr_t BitIndexToMask(uintptr_t bit_index) { in BitIndexToMask() 58 return static_cast<uintptr_t>(1) << (bit_index % kBitsPerBitmapWord); in BitIndexToMask() 80 void VisitSetBits(uintptr_t visit_begin, size_t visit_end, const Visitor& visitor) const; 85 uintptr_t* Begin() { in Begin() 102 static constexpr size_t kBitsPerBitmapWord = sizeof(uintptr_t) * kBitsPerByte; 111 ALWAYS_INLINE bool ModifyBit(uintptr_t bit_index); 117 uintptr_t* const bitmap_begin_; 130 static MemoryRangeBitmap* Create(const std::string& name, uintptr_t cover_begin, 131 uintptr_t cover_end); [all …]
|
D | space_bitmap.h | 79 ALWAYS_INLINE static constexpr uintptr_t OffsetBitIndex(uintptr_t offset) { in OffsetBitIndex() 85 static constexpr uintptr_t OffsetToMask(uintptr_t offset) { in OffsetToMask() 120 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; in HasAddress() 139 void VisitRange(uintptr_t visit_begin, uintptr_t visit_end, const Visitor& visitor) const { in VisitRange() 149 void VisitMarkedRange(uintptr_t visit_begin, uintptr_t visit_end, Visitor&& visitor) const 161 static void SweepWalk(const SpaceBitmap& live, const SpaceBitmap& mark, uintptr_t base, 162 uintptr_t max, SweepCallback* thunk, void* arg); 167 Atomic<uintptr_t>* Begin() { in Begin() 188 uintptr_t HeapBegin() const { in HeapBegin() 198 void SetHeapLimit(uintptr_t new_end); [all …]
|
D | space_bitmap.cc | 54 uintptr_t* bitmap_begin = reinterpret_cast<uintptr_t*>(mem_map->Begin()); in CreateFromMemMap() 62 uintptr_t* bitmap_begin, in SpaceBitmap() 67 bitmap_begin_(reinterpret_cast<Atomic<uintptr_t>*>(bitmap_begin)), in SpaceBitmap() 69 heap_begin_(reinterpret_cast<uintptr_t>(heap_begin)), in SpaceBitmap() 70 heap_limit_(reinterpret_cast<uintptr_t>(heap_begin) + heap_capacity), in SpaceBitmap() 97 void SpaceBitmap<kAlignment>::SetHeapLimit(uintptr_t new_end) { in SetHeapLimit() 123 uintptr_t begin_offset = reinterpret_cast<uintptr_t>(begin) - heap_begin_; in ClearRange() 124 uintptr_t end_offset = reinterpret_cast<uintptr_t>(end) - heap_begin_; in ClearRange() 135 const uintptr_t start_index = OffsetToIndex(begin_offset); in ClearRange() 136 const uintptr_t end_index = OffsetToIndex(end_offset); in ClearRange() [all …]
|
D | card_table.cc | 81 uint8_t* biased_begin = reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(cardtable_begin) - in Create() 82 (reinterpret_cast<uintptr_t>(heap_begin) >> kCardShift)); in Create() 83 uintptr_t biased_byte = reinterpret_cast<uintptr_t>(biased_begin) & 0xff; in Create() 89 CHECK_EQ(reinterpret_cast<uintptr_t>(biased_begin) & 0xff, kCardDirty); in Create() 107 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(start), kCardSize); in ClearCardRange() 108 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(end), kCardSize); in ClearCardRange() 116 return IsValidCard(biased_begin_ + ((uintptr_t)addr >> kCardShift)); in AddrIsInCardTable() 120 uint8_t* card_addr = biased_begin_ + ((uintptr_t)addr >> kCardShift); in CheckAddrIsInCardTable()
|
/art/libartbase/base/ |
D | bit_field.h | 26 static constexpr uintptr_t kUintPtrTOne = 1U; 37 static_assert(position < sizeof(uintptr_t) * kBitsPerByte, "Invalid position."); 39 static_assert(size <= sizeof(uintptr_t) * kBitsPerByte, "Invalid size."); 40 static_assert(size + position <= sizeof(uintptr_t) * kBitsPerByte, "Invalid position + size."); 44 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0; in IsValid() 48 static uintptr_t Mask() { in Mask() 54 static uintptr_t MaskInPlace() { in MaskInPlace() 70 static uintptr_t Encode(T value) { in Encode() 72 return static_cast<uintptr_t>(value) << position; in Encode() 76 static T Decode(uintptr_t value) { in Decode() [all …]
|
/art/runtime/gc/collector/ |
D | immune_spaces.cc | 37 uintptr_t best_begin = 0u; in CreateLargestImmuneRegion() 38 uintptr_t best_end = 0u; in CreateLargestImmuneRegion() 39 uintptr_t best_heap_size = 0u; in CreateLargestImmuneRegion() 40 uintptr_t cur_begin = 0u; in CreateLargestImmuneRegion() 41 uintptr_t cur_end = 0u; in CreateLargestImmuneRegion() 42 uintptr_t cur_heap_size = 0u; in CreateLargestImmuneRegion() 43 using Interval = std::tuple</*start*/uintptr_t, /*end*/uintptr_t, /*is_heap*/bool>; in CreateLargestImmuneRegion() 46 uintptr_t space_begin = reinterpret_cast<uintptr_t>(space->Begin()); in CreateLargestImmuneRegion() 47 uintptr_t space_end = reinterpret_cast<uintptr_t>(space->Limit()); in CreateLargestImmuneRegion() 53 space_end = RoundUp(reinterpret_cast<uintptr_t>(image_space->GetImageEnd()), kPageSize); in CreateLargestImmuneRegion() [all …]
|
D | immune_region.h | 48 return reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(begin_) < size_; in ContainsObject() 75 size_ = reinterpret_cast<uintptr_t>(end_) - reinterpret_cast<uintptr_t>(begin_); in UpdateSize() 80 uintptr_t size_;
|
/art/runtime/arch/ |
D | context.h | 42 static uintptr_t* CalleeSaveAddress(uint8_t* frame, int num, size_t frame_size) { in CalleeSaveAddress() 48 return reinterpret_cast<uintptr_t*>(save_addr); in CalleeSaveAddress() 56 virtual void SetSP(uintptr_t new_sp) = 0; 59 virtual void SetPC(uintptr_t new_pc) = 0; 62 virtual void SetArg0(uintptr_t new_arg0_value) = 0; 68 virtual uintptr_t* GetGPRAddress(uint32_t reg) = 0; 72 virtual uintptr_t GetGPR(uint32_t reg) = 0; 76 virtual void SetGPR(uint32_t reg, uintptr_t value) = 0; 83 virtual uintptr_t GetFPR(uint32_t reg) = 0; 87 virtual void SetFPR(uint32_t reg, uintptr_t value) = 0;
|
/art/runtime/arch/mips64/ |
D | fault_handler_mips64.cc | 42 uintptr_t* out_return_pc, uintptr_t* out_sp) { in GetMethodAndReturnPcAndSp() 45 *out_sp = static_cast<uintptr_t>(sc->sc_regs[mips64::SP]); in GetMethodAndReturnPcAndSp() 53 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(siginfo->si_addr); // BVA addr in GetMethodAndReturnPcAndSp() 54 uintptr_t* overflow_addr = reinterpret_cast<uintptr_t*>( in GetMethodAndReturnPcAndSp() 87 uintptr_t* padding = reinterpret_cast<uintptr_t*>(sc->sc_regs[mips64::SP]) + /* ArtMethod* */ 1; in Action() 88 *padding = reinterpret_cast<uintptr_t>(info->si_addr); in Action() 91 sc->sc_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 121 uintptr_t sp = sc->sc_regs[mips64::SP]; in Action() 124 uintptr_t fault_addr = reinterpret_cast<uintptr_t>(info->si_addr); // BVA addr in Action() 129 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(InstructionSet::kMips64); in Action() [all …]
|
D | context_mips64.h | 40 void SetSP(uintptr_t new_sp) OVERRIDE { in SetSP() 44 void SetPC(uintptr_t new_pc) OVERRIDE { in SetPC() 53 uintptr_t* GetGPRAddress(uint32_t reg) OVERRIDE { in GetGPRAddress() 58 uintptr_t GetGPR(uint32_t reg) OVERRIDE { in GetGPR() 64 void SetGPR(uint32_t reg, uintptr_t value) OVERRIDE; 71 uintptr_t GetFPR(uint32_t reg) OVERRIDE { in GetFPR() 77 void SetFPR(uint32_t reg, uintptr_t value) OVERRIDE; 82 void SetArg0(uintptr_t new_arg0_value) OVERRIDE { in SetArg0() 88 uintptr_t* gprs_[kNumberOfGpuRegisters]; 93 uintptr_t sp_, t9_, arg0_;
|
/art/runtime/arch/mips/ |
D | fault_handler_mips.cc | 41 uintptr_t* out_return_pc, uintptr_t* out_sp) { in GetMethodAndReturnPcAndSp() 44 *out_sp = static_cast<uintptr_t>(sc->sc_regs[mips::SP]); in GetMethodAndReturnPcAndSp() 52 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(siginfo->si_addr); // BVA addr in GetMethodAndReturnPcAndSp() 53 uintptr_t* overflow_addr = reinterpret_cast<uintptr_t*>( in GetMethodAndReturnPcAndSp() 85 uintptr_t* padding = reinterpret_cast<uintptr_t*>(sc->sc_regs[mips::SP]) + /* ArtMethod* */ 1; in Action() 86 *padding = reinterpret_cast<uintptr_t>(info->si_addr); in Action() 89 sc->sc_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 119 uintptr_t sp = sc->sc_regs[mips::SP]; in Action() 122 uintptr_t fault_addr = reinterpret_cast<uintptr_t>(info->si_addr); // BVA addr in Action() 127 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(InstructionSet::kMips); in Action() [all …]
|
D | context_mips.h | 40 void SetSP(uintptr_t new_sp) OVERRIDE { in SetSP() 44 void SetPC(uintptr_t new_pc) OVERRIDE { in SetPC() 53 uintptr_t* GetGPRAddress(uint32_t reg) OVERRIDE { in GetGPRAddress() 58 uintptr_t GetGPR(uint32_t reg) OVERRIDE { in GetGPR() 64 void SetGPR(uint32_t reg, uintptr_t value) OVERRIDE; 71 uintptr_t GetFPR(uint32_t reg) OVERRIDE { in GetFPR() 77 void SetFPR(uint32_t reg, uintptr_t value) OVERRIDE; 82 void SetArg0(uintptr_t new_arg0_value) OVERRIDE { in SetArg0() 88 uintptr_t* gprs_[kNumberOfCoreRegisters]; 93 uintptr_t sp_, t9_, arg0_;
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 49 uintptr_t* out_return_pc, uintptr_t* out_sp) { in GetMethodAndReturnPcAndSp() 52 *out_sp = static_cast<uintptr_t>(sc->arm_sp); in GetMethodAndReturnPcAndSp() 60 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp() 61 uintptr_t* overflow_addr = reinterpret_cast<uintptr_t*>( in GetMethodAndReturnPcAndSp() 67 *out_method = reinterpret_cast<ArtMethod*>(reinterpret_cast<uintptr_t*>(*out_sp)[0]); in GetMethodAndReturnPcAndSp() 105 uintptr_t gc_map_location = (sc->arm_pc + instr_size) | 1; in Action() 108 sc->arm_sp -= sizeof(uintptr_t); in Action() 109 *reinterpret_cast<uintptr_t*>(sc->arm_sp) = gc_map_location; in Action() 110 sc->arm_lr = reinterpret_cast<uintptr_t>(info->si_addr); in Action() 111 sc->arm_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() [all …]
|
D | context_arm.h | 41 void SetSP(uintptr_t new_sp) OVERRIDE { in SetSP() 45 void SetPC(uintptr_t new_pc) OVERRIDE { in SetPC() 49 void SetArg0(uintptr_t new_arg0_value) OVERRIDE { in SetArg0() 58 uintptr_t* GetGPRAddress(uint32_t reg) OVERRIDE { in GetGPRAddress() 63 uintptr_t GetGPR(uint32_t reg) OVERRIDE { in GetGPR() 69 void SetGPR(uint32_t reg, uintptr_t value) OVERRIDE; 76 uintptr_t GetFPR(uint32_t reg) OVERRIDE { in GetFPR() 82 void SetFPR(uint32_t reg, uintptr_t value) OVERRIDE; 89 uintptr_t* gprs_[kNumberOfCoreRegisters]; 92 uintptr_t sp_, pc_, arg0_;
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 42 uintptr_t* out_return_pc, uintptr_t* out_sp) { in GetMethodAndReturnPcAndSp() 45 *out_sp = static_cast<uintptr_t>(sc->sp); in GetMethodAndReturnPcAndSp() 53 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp() 54 uintptr_t* overflow_addr = reinterpret_cast<uintptr_t*>( in GetMethodAndReturnPcAndSp() 83 sc->sp -= sizeof(uintptr_t); in Action() 84 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4; in Action() 85 sc->regs[30] = reinterpret_cast<uintptr_t>(info->si_addr); in Action() 87 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 142 sc->pc = reinterpret_cast<uintptr_t>(art_quick_implicit_suspend); in Action() 159 uintptr_t sp = sc->sp; in Action() [all …]
|
D | context_arm64.h | 41 void SetSP(uintptr_t new_sp) OVERRIDE { in SetSP() 45 void SetPC(uintptr_t new_lr) OVERRIDE { in SetPC() 49 void SetArg0(uintptr_t new_arg0_value) OVERRIDE { in SetArg0() 58 uintptr_t* GetGPRAddress(uint32_t reg) OVERRIDE { in GetGPRAddress() 63 uintptr_t GetGPR(uint32_t reg) OVERRIDE { in GetGPR() 70 void SetGPR(uint32_t reg, uintptr_t value) OVERRIDE; 77 uintptr_t GetFPR(uint32_t reg) OVERRIDE { in GetFPR() 83 void SetFPR(uint32_t reg, uintptr_t value) OVERRIDE; 93 uintptr_t* gprs_[kNumberOfXRegisters + 1]; 96 uintptr_t sp_, pc_, arg0_;
|
/art/runtime/arch/x86_64/ |
D | context_x86_64.h | 40 void SetSP(uintptr_t new_sp) OVERRIDE { in SetSP() 44 void SetPC(uintptr_t new_pc) OVERRIDE { in SetPC() 48 void SetArg0(uintptr_t new_arg0_value) OVERRIDE { in SetArg0() 57 uintptr_t* GetGPRAddress(uint32_t reg) OVERRIDE { in GetGPRAddress() 62 uintptr_t GetGPR(uint32_t reg) OVERRIDE { in GetGPR() 68 void SetGPR(uint32_t reg, uintptr_t value) OVERRIDE; 75 uintptr_t GetFPR(uint32_t reg) OVERRIDE { in GetFPR() 81 void SetFPR(uint32_t reg, uintptr_t value) OVERRIDE; 88 uintptr_t* gprs_[kNumberOfCpuRegisters]; 93 uintptr_t rsp_, rip_, arg0_;
|
D | context_x86_64.cc | 26 static constexpr uintptr_t gZero = 0; 66 gprs_[RAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 67 gprs_[RDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 89 void X86_64Context::SetGPR(uint32_t reg, uintptr_t value) { in SetGPR() 96 void X86_64Context::SetFPR(uint32_t reg, uintptr_t value) { in SetFPR() 103 extern "C" NO_RETURN void art_quick_do_long_jump(uintptr_t*, uintptr_t*); 107 uintptr_t gprs[kNumberOfCpuRegisters + 1]; in DoLongJump() 108 uintptr_t fprs[kNumberOfFloatRegisters]; in DoLongJump() 118 uintptr_t rsp = gprs[kNumberOfCpuRegisters - RSP - 1] - sizeof(intptr_t); in DoLongJump() 120 *(reinterpret_cast<uintptr_t*>(rsp)) = rip_; in DoLongJump()
|
/art/runtime/arch/x86/ |
D | context_x86.h | 40 void SetSP(uintptr_t new_sp) OVERRIDE { in SetSP() 44 void SetPC(uintptr_t new_pc) OVERRIDE { in SetPC() 48 void SetArg0(uintptr_t new_arg0_value) OVERRIDE { in SetArg0() 57 uintptr_t* GetGPRAddress(uint32_t reg) OVERRIDE { in GetGPRAddress() 62 uintptr_t GetGPR(uint32_t reg) OVERRIDE { in GetGPR() 68 void SetGPR(uint32_t reg, uintptr_t value) OVERRIDE; 75 uintptr_t GetFPR(uint32_t reg) OVERRIDE { in GetFPR() 81 void SetFPR(uint32_t reg, uintptr_t value) OVERRIDE; 101 uintptr_t* gprs_[kNumberOfCpuRegisters]; 106 uintptr_t esp_, eip_, arg0_;
|
/art/runtime/ |
D | oat_quick_method_header.h | 45 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer() 46 uintptr_t header = code - OFFSETOF_MEMBER(OatQuickMethodHeader, code_); in FromCodePointer() 60 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { in NativeQuickPcOffset() 61 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); in NativeQuickPcOffset() 137 bool Contains(uintptr_t pc) const { in Contains() 138 uintptr_t code_start = reinterpret_cast<uintptr_t>(code_); in Contains() 154 ? reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(code_) | 1) in GetEntryPoint() 171 uintptr_t ToNativeQuickPc(ArtMethod* method, 176 uint32_t ToDexPc(ArtMethod* method, const uintptr_t pc, bool abort_on_failure = true) const;
|
D | memory_region.h | 46 MemoryRegion(void* pointer_in, uintptr_t size_in) : pointer_(pointer_in), size_(size_in) {} in MemoryRegion() 62 ALWAYS_INLINE T Load(uintptr_t offset) const { in Load() 72 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { in Store() 81 ALWAYS_INLINE T LoadUnaligned(uintptr_t offset) const { in LoadUnaligned() 96 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { in StoreUnaligned() 108 ALWAYS_INLINE T* PointerTo(uintptr_t offset) const { in PointerTo() 114 ALWAYS_INLINE bool LoadBit(uintptr_t bit_offset) const { in LoadBit() 120 ALWAYS_INLINE void StoreBit(uintptr_t bit_offset, bool value) const { in StoreBit() 134 ALWAYS_INLINE uint32_t LoadBits(uintptr_t bit_offset, size_t length) const { in LoadBits() 171 void StoreBits(uintptr_t bit_offset, uint32_t value, size_t length); [all …]
|
/art/dex2oat/linker/ |
D | elf_writer_test.cc | 100 EXPECT_EQ(reinterpret_cast<uintptr_t>(dl_oatdata) + reinterpret_cast<uintptr_t>(base), in TEST_F() 101 reinterpret_cast<uintptr_t>(ef->FindDynamicSymbolAddress("oatdata"))); in TEST_F() 102 EXPECT_EQ(reinterpret_cast<uintptr_t>(dl_oatexec) + reinterpret_cast<uintptr_t>(base), in TEST_F() 103 reinterpret_cast<uintptr_t>(ef->FindDynamicSymbolAddress("oatexec"))); in TEST_F() 104 EXPECT_EQ(reinterpret_cast<uintptr_t>(dl_oatlastword) + reinterpret_cast<uintptr_t>(base), in TEST_F() 105 reinterpret_cast<uintptr_t>(ef->FindDynamicSymbolAddress("oatlastword"))); in TEST_F() 129 const std::vector<std::vector<uintptr_t>> test_data { in TEST_F() 140 ElfBuilder<ElfTypes32>::EncodeOatPatches(ArrayRef<const uintptr_t>(patch_locations), in TEST_F() 151 for (uintptr_t location : patch_locations) { in TEST_F()
|