Home
last modified time | relevance | path

Searched refs:load_addr (Results 1 – 25 of 91) sorted by relevance

1234

/llvm-project-15.0.7/llvm/test/SafepointIRVerifier/
H A Dconstant-bases.ll13 %load_addr = getelementptr i8, i8 addrspace(1)* inttoptr (i64 15 to i8 addrspace(1)*), i64 %arg
15 ret i8 addrspace(1)* %load_addr
22 %load_addr.cast = bitcast i32 addrspace(1)* %load_addr to i8 addrspace(1)*
24 ret i8 addrspace(1)* %load_addr.cast
38 %load_addr = phi i8 addrspace(1)* [%load_addr.1, %entry], [%load_addr.2, %split]
40 ret i8 addrspace(1)* %load_addr
48 %load_addr = select i1 %cond, i8 addrspace(1)* %load_addr.1, i8 addrspace(1)* %load_addr.2
50 ret i8 addrspace(1)* %load_addr
57 %load_addr.1 = getelementptr i8, i8 addrspace(1)* %base, i64 %arg
65 %load_addr = phi i8 addrspace(1)* [%load_addr.1, %entry], [%load_addr.2, %split]
[all …]
H A Dcompares.ll11 %load_addr = getelementptr i8, i8 addrspace(1)* %addr, i64 %arg
13 %cmp = icmp eq i8 addrspace(1)* %load_addr, null
20 %load_addr = getelementptr i8, i8 addrspace(1)* null, i64 %arg
21 %load_addr_sel = select i1 %cond, i8 addrspace(1)* null, i8 addrspace(1)* %load_addr
33 %load_addr = getelementptr i32, i32 addrspace(1)* %addr, i64 %arg
36 %cmp = icmp eq i32 addrspace(1)* %load_addr, %load_addr_const
42 ; non-null pointer (load_addr.2).
47 %load_addr.1 = getelementptr i8, i8 addrspace(1)* null, i64 %arg
51 %load_addr.2 = getelementptr i8, i8 addrspace(1)* inttoptr (i64 30 to i8 addrspace(1)*), i64 %arg
55 %load_addr = phi i8 addrspace(1)* [%load_addr.1, %entry], [%load_addr.2, %split]
[all …]
/llvm-project-15.0.7/lldb/source/Target/
H A DSectionLoadList.cpp73 load_addr, module_sp.get()); in SetSectionLoadAddress()
83 if (load_addr == sta_pos->second) in SetSectionLoadAddress()
86 sta_pos->second = load_addr; in SetSectionLoadAddress()
88 m_sect_to_addr[section.get()] = load_addr; in SetSectionLoadAddress()
120 m_addr_to_sect[load_addr] = section; in SetSectionLoadAddress()
161 addr_t load_addr = sta_pos->second; in SetSectionUnloaded() local
165 m_addr_to_sect.find(load_addr); in SetSectionUnloaded()
215 m_addr_to_sect.lower_bound(load_addr); in ResolveLoadAddress()
220 if (load_addr >= pos_load_addr) { in ResolveLoadAddress()
234 if (load_addr >= rpos->first) { in ResolveLoadAddress()
[all …]
H A DSectionLoadHistory.cpp114 bool SectionLoadHistory::ResolveLoadAddress(uint32_t stop_id, addr_t load_addr, in ResolveLoadAddress() argument
121 return section_load_list->ResolveLoadAddress(load_addr, so_addr); in ResolveLoadAddress()
125 uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t load_addr, in SetSectionLoadAddress() argument
131 return section_load_list->SetSectionLoadAddress(section_sp, load_addr, in SetSectionLoadAddress()
147 addr_t load_addr) { in SetSectionUnloaded() argument
152 return section_load_list->SetSectionUnloaded(section_sp, load_addr); in SetSectionUnloaded()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Windows-DYLD/
H A DDynamicLoaderWindowsDYLD.cpp103 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in GetLoadAddress() local
110 m_process->GetFileLoadAddress(file_spec, is_loaded, load_addr); in GetLoadAddress()
112 if (status.Success() && is_loaded && load_addr != LLDB_INVALID_ADDRESS) { in GetLoadAddress()
113 m_loaded_modules[executable] = load_addr; in GetLoadAddress()
114 return load_addr; in GetLoadAddress()
131 lldb::addr_t load_addr = GetLoadAddress(executable); in DidAttach() local
132 if (load_addr == LLDB_INVALID_ADDRESS) in DidAttach()
137 if (image_base == load_addr) in DidAttach()
141 UpdateLoadedSections(executable, LLDB_INVALID_ADDRESS, load_addr, false); in DidAttach()
158 lldb::addr_t load_addr = GetLoadAddress(executable); in DidLaunch() local
[all …]
/llvm-project-15.0.7/lldb/source/Expression/
H A DMaterializer.cpp153 const lldb::addr_t load_addr = process_address + m_offset; in Materialize() local
159 (uint64_t)load_addr, in Materialize()
182 load_addr, in Materialize()
355 load_addr, in DumpToLog()
369 load_addr); in DumpToLog()
707 load_addr); in DumpToLog()
735 load_addr); in DumpToLog()
1121 load_addr); in DumpToLog()
1149 load_addr); in DumpToLog()
1287 load_addr); in DumpToLog()
[all …]
H A DDWARFExpressionList.cpp59 lldb::addr_t load_addr) const { in GetExpressionAtAddress()
64 addr_t addr = load_addr - func_load_addr + m_func_file_addr; in GetExpressionAtAddress()
73 lldb::addr_t load_addr) { in GetMutableExpressionAtAddress() argument
78 addr_t addr = load_addr - func_load_addr + m_func_file_addr; in GetMutableExpressionAtAddress()
/llvm-project-15.0.7/lldb/source/Core/
H A DAddressRange.cpp101 addr_t load_addr = addr.GetLoadAddress(target); in ContainsLoadAddress() local
102 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
105 if (load_base_addr <= load_addr) in ContainsLoadAddress()
106 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
111 bool AddressRange::ContainsLoadAddress(addr_t load_addr, Target *target) const { in ContainsLoadAddress() argument
112 if (load_addr == LLDB_INVALID_ADDRESS) in ContainsLoadAddress()
119 if (load_base_addr <= load_addr) in ContainsLoadAddress()
120 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress()
H A DAddress.cpp360 if (SetLoadAddress(load_addr, target)) { in SetCallableLoadAddress()
382 if (SetLoadAddress(load_addr, target, allow_section_end)) { in SetOpcodeLoadAddress()
468 addr_t load_addr = GetLoadAddress(target); in Dump() local
482 load_addr = GetCallableLoadAddress(target); in Dump()
485 if (load_addr == LLDB_INVALID_ADDRESS) { in Dump()
490 DumpAddress(s->AsRawOstream(), load_addr, addr_size); in Dump()
774 addr_t load_addr = GetLoadAddress(target); in Dump() local
775 if (load_addr != LLDB_INVALID_ADDRESS) { in Dump()
778 process->ReadPointerFromMemory(load_addr, memory_error); in Dump()
1043 load_addr, *this, allow_section_end)) in SetLoadAddress()
[all …]
H A DValueObjectMemory.cpp193 lldb::addr_t load_addr = m_address.GetLoadAddress(target); in UpdateValue() local
194 if (load_addr != LLDB_INVALID_ADDRESS) { in UpdateValue()
196 m_value.GetScalar() = load_addr; in UpdateValue()
/llvm-project-15.0.7/lldb/source/API/
H A DSBAddress.cpp43 SBAddress::SBAddress(lldb::addr_t load_addr, lldb::SBTarget &target) in SBAddress() argument
45 LLDB_INSTRUMENT_VA(this, load_addr, target); in SBAddress()
47 SetLoadAddress(load_addr, target); in SBAddress()
122 void SBAddress::SetLoadAddress(lldb::addr_t load_addr, lldb::SBTarget &target) { in SetLoadAddress() argument
123 LLDB_INSTRUMENT_VA(this, load_addr, target); in SetLoadAddress()
128 *this = target.ResolveLoadAddress(load_addr); in SetLoadAddress()
136 m_opaque_up->SetOffset(load_addr); in SetLoadAddress()
H A DSBMemoryRegionInfo.cpp166 const addr_t load_addr = m_opaque_up->GetRange().base; in GetDescription() local
168 strm.Printf("[0x%16.16" PRIx64 "-0x%16.16" PRIx64 " ", load_addr, in GetDescription()
169 load_addr + m_opaque_up->GetRange().size); in GetDescription()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBAddress.i58 SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target);
88 SetLoadAddress (lldb::addr_t load_addr,
155 def __set_load_addr_property__ (self, load_addr):
159 return self.SetLoadAddress (load_addr, target)
186load_addr = property(__get_load_addr_property__, __set_load_addr_property__, doc='''A read/write p…
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DSectionLoadList.h43 bool ResolveLoadAddress(lldb::addr_t load_addr, Address &so_addr,
47 lldb::addr_t load_addr,
54 lldb::addr_t load_addr);
H A DSectionLoadHistory.h47 bool ResolveLoadAddress(uint32_t stop_id, lldb::addr_t load_addr,
52 lldb::addr_t load_addr,
59 lldb::addr_t load_addr);
/llvm-project-15.0.7/lldb/examples/python/
H A Dgdb_disassemble.py7 start_addr = lldb.frame.function.addr.load_addr
11 start_addr = lldb.frame.symbol.addr.load_addr
15 inst_addr = inst.addr.load_addr
H A Dsymbolication.py44 def __init__(self, target, load_addr): argument
46 self.load_addr = load_addr # The load address that this object represents
58 s = "%#16.16x" % (self.load_addr)
69 self.so_addr = self.target.ResolveLoadAddress(self.load_addr)
300 def get_section_containing_load_addr(self, load_addr): argument
302 if section_info.contains(load_addr):
499 def find_image_containing_load_addr(self, load_addr): argument
501 if image.get_section_containing_load_addr(load_addr):
522 def symbolicate(self, load_addr, verbose=False): argument
536 image = self.find_image_containing_load_addr(load_addr)
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/RewriteStatepointsForGC/
H A Dconstants.ll108 %load_addr = getelementptr i8, i8 addrspace(1)* null, i64 %arg
110 ret i8 addrspace(1)* %load_addr
119 %load_addr = getelementptr i8, i8 addrspace(1)* inttoptr (i64 15 to i8 addrspace(1)*), i64 %arg
121 ret i8 addrspace(1)* %load_addr
133 %load_addr = getelementptr inbounds i8, i8 addrspace(1)* %p, i64 8
137 %load_addr.const = getelementptr inbounds i8, i8 addrspace(1)* null, i64 8
141 %addr = phi i8 addrspace(1)* [ %load_addr, %not-null ], [%load_addr.const, %null.crit-edge]
168 %load_addr = getelementptr inbounds i8, i8 addrspace(1)* %p, i64 8
175 …%addr = phi i8 addrspace(1)* [ %load_addr, %not-null ], [inttoptr (i64 8 to i8 addrspace(1)*), %nu…
202 %load_addr = getelementptr inbounds i8, i8 addrspace(1)* %p, i64 8
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp249 Status ScriptedProcess::DoGetMemoryRegionInfo(lldb::addr_t load_addr, in DoGetMemoryRegionInfo() argument
255 GetInterface().GetMemoryRegionContainingAddress(load_addr, error)) in DoGetMemoryRegionInfo()
454 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in GetLoadedDynamicLibrariesInfos() local
456 dict->GetValueForKeyAsInteger("load_addr", load_addr); in GetLoadedDynamicLibrariesInfos()
458 if (load_addr == LLDB_INVALID_ADDRESS) in GetLoadedDynamicLibrariesInfos()
463 load_addr += slide; in GetLoadedDynamicLibrariesInfos()
466 module_sp->SetLoadAddress(target, load_addr, false /*=value_is_offset*/, in GetLoadedDynamicLibrariesInfos()
/llvm-project-15.0.7/lldb/source/Plugins/Architecture/Arm/
H A DArchitectureArm.h26 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
29 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
/llvm-project-15.0.7/lldb/source/Plugins/Architecture/Mips/
H A DArchitectureMips.h30 lldb::addr_t GetCallableLoadAddress(lldb::addr_t load_addr,
33 lldb::addr_t GetOpcodeLoadAddress(lldb::addr_t load_addr,
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp420 addr_t load_addr = load_list.GetSectionLoadAddress(section_sp); in BuildMemoryRegions() local
421 if (load_addr == LLDB_INVALID_ADDRESS) in BuildMemoryRegions()
423 MemoryRegionInfo::RangeType section_range(load_addr, in BuildMemoryRegions()
426 MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in BuildMemoryRegions()
444 Status ProcessMinidump::DoGetMemoryRegionInfo(lldb::addr_t load_addr, in DoGetMemoryRegionInfo() argument
447 region = MinidumpParser::GetMemoryRegionInfo(*m_memory_regions, load_addr); in DoGetMemoryRegionInfo()
538 const uint64_t load_addr = module->BaseOfImage; in ReadModuleList() local
541 load_addr, load_addr + load_size, load_size); in ReadModuleList()
585 load_addr) in ReadModuleList()
603 module_spec, load_addr, load_size); in ReadModuleList()
[all …]
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/libraries-svr4/
H A DTestGdbRemoteLibrariesSvr4Support.py84 load_addr = int(child.attrib.get("l_addr"), 16)
86 self.add_query_memory_region_packets(load_addr)
89 self.assertEqual(load_addr, int(mem_region.get("start", 0), 16))
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DAddress.h406 bool SetLoadAddress(lldb::addr_t load_addr, Target *target,
410 lldb::addr_t load_addr, Target *target,
414 bool SetCallableLoadAddress(lldb::addr_t load_addr, Target *target);
/llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleSaver.cpp266 lldb::addr_t load_addr = LLDB_INVALID_ADDRESS; in BuildModulesSection() local
270 load_addr = base_addr.GetLoadAddress(&process.GetTarget()); in BuildModulesSection()
272 if (load_addr == LLDB_INVALID_ADDRESS) in BuildModulesSection()
288 JSONUINT64{load_addr}, module_sp->GetUUID().GetAsString()}); in BuildModulesSection()

1234