Home
last modified time | relevance | path

Searched refs:GetBaseAddress (Results 1 – 25 of 59) sorted by relevance

123

/external/lldb/source/Core/
DVMRange.cpp58 s->AddressRange(offset + GetBaseAddress(), offset + GetEndAddress(), addr_width); in Dump()
64 … return lhs.GetBaseAddress() == rhs.GetBaseAddress() && lhs.GetEndAddress() == rhs.GetEndAddress(); in operator ==()
70 … return lhs.GetBaseAddress() != rhs.GetBaseAddress() || lhs.GetEndAddress() != rhs.GetEndAddress(); in operator !=()
76 if (lhs.GetBaseAddress() < rhs.GetBaseAddress()) in operator <()
78 else if (lhs.GetBaseAddress() > rhs.GetBaseAddress()) in operator <()
86 if (lhs.GetBaseAddress() < rhs.GetBaseAddress()) in operator <=()
88 else if (lhs.GetBaseAddress() > rhs.GetBaseAddress()) in operator <=()
96 if (lhs.GetBaseAddress() > rhs.GetBaseAddress()) in operator >()
98 else if (lhs.GetBaseAddress() < rhs.GetBaseAddress()) in operator >()
106 if (lhs.GetBaseAddress() > rhs.GetBaseAddress()) in operator >=()
[all …]
DAddressRange.cpp68 addr_t file_base_addr = GetBaseAddress().GetFileAddress(); in ContainsFileAddress()
88 addr_t file_base_addr = GetBaseAddress().GetFileAddress(); in ContainsFileAddress()
104 addr_t load_base_addr = GetBaseAddress().GetLoadAddress(target); in ContainsLoadAddress()
124 addr_t load_base_addr = GetBaseAddress().GetLoadAddress(target); in ContainsLoadAddress()
180 ModuleSP module_sp (GetBaseAddress().GetModule()); in Dump()
DDisassembler.cpp242 if (range.GetByteSize() > 0 && range.GetBaseAddress().IsValid()) in DisassembleRange()
312 ResolveAddress (exe_ctx, disasm_range.GetBaseAddress(), range.GetBaseAddress()); in Disassemble()
531 range.GetBaseAddress() = sc.symbol->GetAddress(); in Disassemble()
536 range.GetBaseAddress() = frame->GetFrameCodeAddress(); in Disassemble()
539 if (range.GetBaseAddress().IsValid() && range.GetByteSize() == 0) in Disassemble()
1074 if (target == NULL || byte_size == 0 || !range.GetBaseAddress().IsValid()) in ParseInstructions()
1082 const size_t bytes_read = target->ReadMemory (range.GetBaseAddress(), in ParseInstructions()
1097 … return DecodeInstructions (range.GetBaseAddress(), data, 0, UINT32_MAX, false, data_from_file); in ParseInstructions()
DAddressResolverName.cpp169 … if (sc.function->GetAddressRange().GetBaseAddress() == symbol_sc.symbol->GetAddress()) in SearchCallback()
187 func_addr = sc.function->GetAddressRange().GetBaseAddress(); in SearchCallback()
/external/lldb/source/Commands/
DCommandObjectDisassemble.cpp404 range.GetBaseAddress() = symbol->GetAddress(); in DoExecute()
421 range.GetBaseAddress() = frame->GetFrameCodeAddress(); in DoExecute()
430 range.GetBaseAddress().SetOffset (m_options.start_addr); in DoExecute()
431 if (range.GetBaseAddress().IsValid()) in DoExecute()
483 if (!range.GetBaseAddress().IsValid()) in DoExecute()
490 range.GetBaseAddress() = sc.function->GetAddressRange().GetBaseAddress(); in DoExecute()
492 range.GetBaseAddress() = sc.symbol->GetAddress(); in DoExecute()
494 range.GetBaseAddress() = frame->GetFrameCodeAddress(); in DoExecute()
497 if (!range.GetBaseAddress().IsValid()) in DoExecute()
510 range.GetBaseAddress(), in DoExecute()
[all …]
/external/lldb/include/lldb/Core/
DVMRange.h71 const lldb::addr_t base_addr = GetBaseAddress(); in SetEndAddress()
91 GetBaseAddress () const in GetBaseAddress() function
99 return GetBaseAddress() + m_byte_size; in GetEndAddress()
111 return (GetBaseAddress() <= addr) && (addr < GetEndAddress()); in Contains()
117 if (Contains(range.GetBaseAddress())) in Contains()
120 return (GetBaseAddress() <= range_end) && (range_end <= GetEndAddress()); in Contains()
DAddressRange.h230 GetBaseAddress() { return m_base_addr; } in GetBaseAddress() function
239 GetBaseAddress() const { return m_base_addr; } in GetBaseAddress() function
/external/lldb/source/Symbol/
DBlock.cpp53 base_addr = function->GetAddressRange().GetBaseAddress().GetLoadAddress(target); in GetDescription()
55 base_addr = function->GetAddressRange().GetBaseAddress().GetFileAddress(); in GetDescription()
296 if (addr.GetSection() == func_range.GetBaseAddress().GetSection()) in GetRangeContainingAddress()
299 const addr_t func_offset = func_range.GetBaseAddress().GetOffset(); in GetRangeContainingAddress()
308 range.GetBaseAddress() = func_range.GetBaseAddress(); in GetRangeContainingAddress()
309 range.GetBaseAddress().SetOffset(func_offset + range_ptr->GetRangeBase()); in GetRangeContainingAddress()
337 if (addr.GetSection() == func_range.GetBaseAddress().GetSection()) in GetRangeIndexContainingAddress()
340 const addr_t func_offset = func_range.GetBaseAddress().GetOffset(); in GetRangeIndexContainingAddress()
360 range.GetBaseAddress() = function->GetAddressRange().GetBaseAddress(); in GetRangeAtIndex()
361 range.GetBaseAddress().Slide(vm_range.GetRangeBase ()); in GetRangeAtIndex()
[all …]
DSymbol.cpp176 return m_addr_range.GetBaseAddress().GetSection().get() != NULL; in ValueIsAddress()
202 if (m_addr_range.GetBaseAddress().GetSection()) in GetDescription()
215 …m_addr_range.GetBaseAddress().Dump(s, target, Address::DumpStyleLoadAddress, Address::DumpStyleFil… in GetDescription()
219 s->Printf (", value = 0x%16.16" PRIx64, m_addr_range.GetBaseAddress().GetOffset()); in GetDescription()
224 s->Printf (", sibling = %5" PRIu64, m_addr_range.GetBaseAddress().GetOffset()); in GetDescription()
226 s->Printf (", value = 0x%16.16" PRIx64, m_addr_range.GetBaseAddress().GetOffset()); in GetDescription()
254 if (!m_addr_range.GetBaseAddress().Dump(s, NULL, Address::DumpStyleFileAddress)) in Dump()
259 if (!m_addr_range.GetBaseAddress().Dump(s, target, Address::DumpStyleLoadAddress)) in Dump()
276 m_addr_range.GetBaseAddress().GetOffset(), in Dump()
292 const Address &base_address = m_addr_range.GetBaseAddress(); in GetPrologueByteSize()
DFunction.cpp270 … if (line_table->FindLineEntryByAddress (GetAddressRange().GetBaseAddress(), line_entry, NULL)) in GetStartLineSourceInfo()
286 Address scratch_addr(GetAddressRange().GetBaseAddress()); in GetEndLineSourceInfo()
374 m_block.Dump(s, m_range.GetBaseAddress().GetFileAddress(), INT_MAX, show_context); in Dump()
388 SectionSP section_sp (m_range.GetBaseAddress().GetSection()); in CalculateSymbolContextModule()
504 …if (line_table->FindLineEntryByAddress(GetAddressRange().GetBaseAddress(), first_line_entry, &firs… in GetPrologueByteSize()
510 … prologue_end_file_addr = first_line_entry.range.GetBaseAddress().GetFileAddress(); in GetPrologueByteSize()
524 … prologue_end_file_addr = line_entry.range.GetBaseAddress().GetFileAddress(); in GetPrologueByteSize()
545 … prologue_end_file_addr = line_entry.range.GetBaseAddress().GetFileAddress(); in GetPrologueByteSize()
553 …prologue_end_file_addr = first_line_entry.range.GetBaseAddress().GetFileAddress() + first_line_ent… in GetPrologueByteSize()
556 const addr_t func_start_file_addr = m_range.GetBaseAddress().GetFileAddress(); in GetPrologueByteSize()
DLineEntry.cpp74 return range.GetBaseAddress().IsValid() && line != 0; in IsValid()
120 if (!range.GetBaseAddress().Dump(s, in Dump()
157 …range.GetBaseAddress().Dump(s, target, Address::DumpStyleLoadAddress, Address::DumpStyleFileAddres… in GetDescription()
214 int result = Address::CompareFileAddress (a.range.GetBaseAddress(), b.range.GetBaseAddress()); in Compare()
DUnwindTable.cpp94 …ymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddress().IsValid()) in GetFuncUnwindersContainingAddress()
104 …m_unwinds.insert (insert_pos, std::make_pair(range.GetBaseAddress().GetFileAddress(), func_unwinde… in GetFuncUnwindersContainingAddress()
121 …ymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddress().IsValid()) in GetUncachedFuncUnwindersContainingAddress()
DFuncUnwinders.cpp80 if (m_range.GetBaseAddress().IsValid()) in GetUnwindPlanAtCallSite()
82 Address current_pc (m_range.GetBaseAddress ()); in GetUnwindPlanAtCallSite()
236 return m_range.GetBaseAddress(); in GetFunctionStartAddress()
DSymbolContext.cpp157 …dr_t function_offset = addr.GetOffset() - function->GetAddressRange().GetBaseAddress().GetOffset(); in DumpStopContext()
175 …const addr_t inlined_function_offset = addr.GetOffset() - block_range.GetBaseAddress().GetOffset(); in DumpStopContext()
441 range.GetBaseAddress() = symbol->GetAddress(); in GetAddressRange()
486 next_frame_pc = range.GetBaseAddress(); in GetParentOfInlinedScope()
487 next_frame_sc.line_entry.range.GetBaseAddress() = next_frame_pc; in GetParentOfInlinedScope()
644 … if (function->GetAddressRange().GetBaseAddress().CalculateSymbolContextLineEntry(line_entry)) in GetFunctionStartLineEntry()
1032 … if (pos->function->GetAddressRange().GetBaseAddress() == sc.symbol->GetAddress()) in AppendIfUnique()
1074 … if (function_sc.function->GetAddressRange().GetBaseAddress() == symbol_sc.symbol->GetAddress()) in MergeSymbolContextIntoFunctionContext()
DUnwindPlan.cpp369 if (range.GetBaseAddress().IsValid() && range.GetByteSize() != 0) in SetPlanValidAddressRange()
376 …if (!m_plan_valid_address_range.GetBaseAddress().IsValid() || m_plan_valid_address_range.GetByteSi… in PlanValidAtAddress()
395 …if (m_plan_valid_address_range.GetBaseAddress().IsValid() && m_plan_valid_address_range.GetByteSiz… in Dump()
/external/lldb/source/API/
DSBFunction.cpp143 ModuleSP module_sp (m_opaque_ptr->GetAddressRange().GetBaseAddress().GetModule()); in GetInstructions()
173 addr.SetAddress (&m_opaque_ptr->GetAddressRange().GetBaseAddress()); in GetStartAddress()
186 addr.SetAddress (&m_opaque_ptr->GetAddressRange().GetBaseAddress()); in GetEndAddress()
DSBBlock.cpp196 … sc.function->GetAddressRange().GetBaseAddress().GetFileAddress()); in GetDescription()
222 sb_addr.ref() = range.GetBaseAddress(); in GetRangeStartAddress()
237 sb_addr.ref() = range.GetBaseAddress(); in GetRangeEndAddress()
DSBLineEntry.cpp72 sb_address.SetAddress(&m_opaque_ap->range.GetBaseAddress()); in GetStartAddress()
94 sb_address.SetAddress(&m_opaque_ap->range.GetBaseAddress()); in GetEndAddress()
/external/lldb/source/Plugins/Process/Utility/
DUnwindMacOSXFrameBackchain.cpp147 range.GetBaseAddress() = first_frame_sc.symbol->GetAddress(); in GetStackFrameData_i386()
154 if (first_frame->GetFrameCodeAddress() == addr_range_ptr->GetBaseAddress()) in GetStackFrameData_i386()
246 range.GetBaseAddress() = first_frame_sc.symbol->GetAddress(); in GetStackFrameData_x86_64()
253 if (first_frame->GetFrameCodeAddress() == addr_range_ptr->GetBaseAddress()) in GetStackFrameData_x86_64()
DInferiorCallPOSIX.cpp82 mmap_range.GetBaseAddress(), in InferiorCallMmap()
173 … munmap_range.GetBaseAddress(), in InferiorCallMunmap()
DRegisterContextLLDB.cpp154 if (addr_range.GetBaseAddress().IsValid()) in InitializeZerothFrame()
156 m_start_pc = addr_range.GetBaseAddress(); in InitializeZerothFrame()
395 && addr_range.GetBaseAddress().IsValid() in InitializeNonZerothFrame()
396 && addr_range.GetBaseAddress().GetSection() == m_current_pc.GetSection() in InitializeNonZerothFrame()
397 && addr_range.GetBaseAddress().GetOffset() == m_current_pc.GetOffset()) in InitializeNonZerothFrame()
424 if (addr_range.GetBaseAddress().IsValid()) in InitializeNonZerothFrame()
426 m_start_pc = addr_range.GetBaseAddress(); in InitializeNonZerothFrame()
/external/lldb/source/Breakpoint/
DBreakpointResolverFileLine.cpp149 … lldb::addr_t start_file_addr = sc.line_entry.range.GetBaseAddress().GetFileAddress(); in SearchCallback()
169 Address line_start = sc.line_entry.range.GetBaseAddress(); in SearchCallback()
180 … Address prologue_addr(sc.function->GetAddressRange().GetBaseAddress()); in SearchCallback()
/external/lldb/include/lldb/Symbol/
DSymbol.h81 return m_addr_range.GetBaseAddress(); in GetAddress()
92 return m_addr_range.GetBaseAddress(); in GetAddress()
/external/lldb/source/Plugins/UnwindAssembly/x86/
DUnwindAssembly-x86.cpp506 m_cur_insn = m_func_bounds.GetBaseAddress (); in get_non_call_site_unwind_plan()
685 Address end_of_fun(m_func_bounds.GetBaseAddress()); in get_non_call_site_unwind_plan()
762 if (!func.GetBaseAddress().IsValid()) in get_fast_unwind_plan()
770 …if (target->ReadMemory (func.GetBaseAddress(), prefer_file_cache, bytebuf, sizeof (bytebuf), error… in get_fast_unwind_plan()
836 m_cur_insn = m_func_bounds.GetBaseAddress (); in find_first_non_prologue_insn()
/external/lldb/source/Target/
DThreadPlanStepOverRange.cpp222 … Address prev_address = prev_line_entry.range.GetBaseAddress(); in ShouldStop()
248 … Address next_line_address = next_line_entry.range.GetBaseAddress(); in ShouldStop()

123