Home
last modified time | relevance | path

Searched refs:file_addr (Results 1 – 25 of 47) sorted by relevance

12

/src/contrib/llvm-project/lldb/source/Symbol/
H A DLineTable.cpp39 void LineTable::InsertLineEntry(lldb::addr_t file_addr, uint32_t line, in InsertLineEntry() argument
45 Entry entry(file_addr, line, column, file_idx, is_start_of_statement, in InsertLineEntry()
70 LineSequence *sequence, lldb::addr_t file_addr, uint32_t line, in AppendLineEntryToSequence() argument
76 Entry entry(file_addr, line, column, file_idx, is_start_of_statement, in AppendLineEntryToSequence()
89 if (!entries.empty() && entries.back().file_addr == file_addr) { in AppendLineEntryToSequence()
154 LT_COMPARE(a.file_addr, b.file_addr); in operator ()()
198 search_entry.file_addr = so_addr.GetFileAddress(); in FindLineEntryByAddress()
199 if (search_entry.file_addr != LLDB_INVALID_ADDRESS) { in FindLineEntryByAddress()
206 if (pos->file_addr != search_entry.file_addr) in FindLineEntryByAddress()
208 else if (pos->file_addr == search_entry.file_addr) { in FindLineEntryByAddress()
[all …]
H A DSymtab.cpp903 const addr_t file_addr; member
1029 Symbol *Symtab::FindSymbolAtFileAddress(addr_t file_addr) { in FindSymbolAtFileAddress() argument
1035 m_file_addr_to_index.FindEntryStartsAt(file_addr); in FindSymbolAtFileAddress()
1038 if (symbol->GetFileAddress() == file_addr) in FindSymbolAtFileAddress()
1044 Symbol *Symtab::FindSymbolContainingFileAddress(addr_t file_addr) { in FindSymbolContainingFileAddress() argument
1051 m_file_addr_to_index.FindEntryThatContains(file_addr); in FindSymbolContainingFileAddress()
1054 if (symbol->ContainsFileAddress(file_addr)) in FindSymbolContainingFileAddress()
1061 addr_t file_addr, std::function<bool(Symbol *)> const &callback) { in ForEachSymbolContainingFileAddress() argument
1071 m_file_addr_to_index.FindEntryIndexesThatContain(file_addr, in ForEachSymbolContainingFileAddress()
1076 if (symbol->ContainsFileAddress(file_addr)) { in ForEachSymbolContainingFileAddress()
H A DUnwindTable.cpp168 addr_t file_addr = addr.GetFileAddress(); in GetFuncUnwindersContainingAddress() local
172 insert_pos = m_unwinds.lower_bound(file_addr); in GetFuncUnwindersContainingAddress()
H A DArmUnwindInfo.cpp59 lldb::addr_t file_addr = exidx_base_addr + offset; in ArmUnwindInfo() local
63 m_exidx_entries.emplace_back(file_addr, addr, data); in ArmUnwindInfo()
/src/contrib/llvm-project/lldb/source/Core/
H A DAddressRange.cpp34 AddressRange::AddressRange(addr_t file_addr, addr_t byte_size, in AddressRange() argument
36 : m_base_addr(file_addr, section_list), m_byte_size(byte_size) {} in AddressRange()
70 addr_t file_addr = addr.GetFileAddress(); in ContainsFileAddress() local
71 if (file_addr == LLDB_INVALID_ADDRESS) in ContainsFileAddress()
74 if (file_base_addr <= file_addr) in ContainsFileAddress()
75 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress()
80 bool AddressRange::ContainsFileAddress(addr_t file_addr) const { in ContainsFileAddress()
81 if (file_addr == LLDB_INVALID_ADDRESS) in ContainsFileAddress()
88 if (file_base_addr <= file_addr) in ContainsFileAddress()
89 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress()
H A DSection.cpp160 SectionType sect_type, addr_t file_addr, addr_t byte_size, in Section() argument
166 m_file_addr(file_addr), m_byte_size(byte_size), in Section()
176 SectionType sect_type, addr_t file_addr, addr_t byte_size, in Section() argument
182 m_file_addr(file_addr), m_byte_size(byte_size), in Section()
205 bool Section::SetFileAddress(lldb::addr_t file_addr) { in SetFileAddress() argument
208 if (m_file_addr >= file_addr) in SetFileAddress()
209 return parent_sp->SetFileAddress(m_file_addr - file_addr); in SetFileAddress()
213 m_file_addr = file_addr; in SetFileAddress()
265 const addr_t file_addr = GetFileAddress(); in ContainsFileAddress() local
266 if (file_addr != LLDB_INVALID_ADDRESS && !IsThreadSpecific()) { in ContainsFileAddress()
[all …]
H A DAddress.cpp250 bool Address::ResolveAddressUsingFileSections(addr_t file_addr, in ResolveAddressUsingFileSections() argument
254 section_list->FindSectionContainingFileAddress(file_addr)); in ResolveAddressUsingFileSections()
257 assert(section_sp->ContainsFileAddress(file_addr)); in ResolveAddressUsingFileSections()
258 m_offset = file_addr - section_sp->GetFileAddress(); in ResolveAddressUsingFileSections()
263 m_offset = file_addr; in ResolveAddressUsingFileSections()
459 addr_t file_addr = GetFileAddress(); in Dump() local
460 if (file_addr == LLDB_INVALID_ADDRESS) { in Dump()
465 DumpAddress(s->AsRawOstream(), file_addr, addr_size); in Dump()
731 addr_t file_addr = GetFileAddress(); in Dump() local
759 file_addr)) in Dump()
H A DValue.cpp667 lldb::addr_t file_addr = GetScalar().ULongLong(LLDB_INVALID_ADDRESS); in ConvertToLoadAddress() local
668 if (file_addr == LLDB_INVALID_ADDRESS) in ConvertToLoadAddress()
672 if (!module->ResolveFileAddress(file_addr, so_addr)) in ConvertToLoadAddress()
/src/contrib/ofed/librdmacm/examples/
H A Drcopy.c63 static void *file_addr; variable
236 if (file_addr || fd > 0) { in server_open()
279 if (file_addr) { in server_close()
280 munmap(file_addr, bytes); in server_close()
281 file_addr = NULL; in server_close()
318 file_addr = mmap(NULL, bytes, PROT_WRITE, MAP_SHARED, fd, 0); in server_write()
319 if (file_addr == (void *) -1) { in server_write()
327 len = _recv(rs, file_addr, bytes); in server_write()
439 file_addr = mmap(NULL, bytes, PROT_READ, MAP_SHARED, fd, 0); in client_open()
440 if (file_addr == (void *) -1) { in client_open()
[all …]
/src/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLineTable.h71 void InsertLineEntry(lldb::addr_t file_addr, uint32_t line, uint16_t column,
81 static void AppendLineEntryToSequence(LineSequence *sequence, lldb::addr_t file_addr,
219 : file_addr(_file_addr), line(_line), in Entry()
230 file_addr = LLDB_INVALID_ADDRESS; in Clear()
248 SCALAR_COMPARE(lhs.file_addr, rhs.file_addr); in Compare()
275 return lhs.file_addr < rhs.file_addr; in EntryAddressLessThan()
280 lldb::addr_t file_addr = LLDB_INVALID_ADDRESS; member
H A DSymtab.h119 Symbol *FindSymbolAtFileAddress(lldb::addr_t file_addr);
120 Symbol *FindSymbolContainingFileAddress(lldb::addr_t file_addr);
122 lldb::addr_t file_addr, std::function<bool(Symbol *)> const &callback);
/src/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpressionList.cpp43 lldb::addr_t file_addr) const { in GetExpressionData()
45 GetExpressionAtAddress(func_load_addr, file_addr)) in GetExpressionData()
98 std::function<lldb::addr_t(lldb::addr_t file_addr)> const in LinkThreadLocalStorage()
144 lldb::addr_t file_addr, in DumpLocations() argument
155 if (file_addr != LLDB_INVALID_ADDRESS && in DumpLocations()
156 (file_addr < load_base || file_addr >= load_end)) in DumpLocations()
170 if (file_addr != LLDB_INVALID_ADDRESS) in DumpLocations()
H A DDWARFExpression.cpp373 lldb::addr_t file_addr) { in Update_DW_OP_addr() argument
392 if (encoder.PutAddress(offset, file_addr) == UINT32_MAX) in Update_DW_OP_addr()
416 encoder.AppendAddress(file_addr); in Update_DW_OP_addr()
448 std::function<lldb::addr_t(lldb::addr_t file_addr)> const in LinkThreadLocalStorage()
784 const char *dw_op_type, lldb::addr_t file_addr, in ResolveLoadAddress() argument
790 if (!module_sp->ResolveFileAddress(file_addr, so_addr)) in ResolveLoadAddress()
971 auto file_addr = stack.back().GetScalar().ULongLong( in Evaluate() local
976 exe_ctx, module_sp, "DW_OP_deref", file_addr, so_addr); in Evaluate()
1088 auto file_addr = in Evaluate() local
1092 exe_ctx, module_sp, "DW_OP_deref_size", file_addr, so_addr, in Evaluate()
/src/contrib/llvm-project/lldb/source/API/
H A DSBSection.cpp121 lldb::addr_t file_addr = LLDB_INVALID_ADDRESS; in GetFileAddress() local
125 return file_addr; in GetFileAddress()
254 const addr_t file_addr = section_sp->GetFileAddress(); in GetDescription() local
255 strm.Printf("[0x%16.16" PRIx64 "-0x%16.16" PRIx64 ") ", file_addr, in GetDescription()
256 file_addr + section_sp->GetByteSize()); in GetDescription()
/src/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDWARFExpressionList.h57 lldb::addr_t file_addr = 0) const;
83 std::function<lldb::addr_t(lldb::addr_t file_addr)> const
92 lldb::addr_t func_load_addr, lldb::addr_t file_addr,
H A DDWARFExpression.h75 lldb::addr_t file_addr);
85 std::function<lldb::addr_t(lldb::addr_t file_addr)> const
/src/contrib/llvm-project/lldb/bindings/interface/
H A DSBInstructionListExtensions.i25 lookup_file_addr = key.file_addr
29 inst_file_addr = inst.addr.file_addr
H A DSBSectionExtensions.i24file_addr = property(GetFileAddress, None, doc='''A read only property that returns an integer tha…
H A DSBAddressExtensions.i51file_addr = property(GetFileAddress, None, doc='''A read only property that returns file address f…
/src/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddressRange.h63 AddressRange(lldb::addr_t file_addr, lldb::addr_t byte_size,
134 bool ContainsFileAddress(lldb::addr_t file_addr) const;
/src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDIE.h67 LookupDeepestBlock(lldb::addr_t file_addr) const;
/src/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.h70 AddressClass GetAddressClass(lldb::addr_t file_addr) override { in GetAddressClass() argument
/src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h169 return lhs.file_addr < rhs.file_addr; in operator()
/src/contrib/ofed/librdmacm/
H A Dpreload.c1155 void *file_addr; in sendfile() local
1162 file_addr = mmap(NULL, count, PROT_READ, 0, in_fd, offset ? *offset : 0); in sendfile()
1163 if (file_addr == (void *) -1) in sendfile()
1166 ret = rwrite(fd, file_addr, count); in sendfile()
1169 munmap(file_addr, count); in sendfile()
/src/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.h78 AddressClass GetAddressClass(lldb::addr_t file_addr) override { in GetAddressClass() argument

12