Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp56 file_offset = 0; in Clear()
121 file_offset = offset; in ExtractFromThin()
199 file_offset = offset; in Extract()
324 else if (file_offset != LLDB_INVALID_OFFSET && in FindCachedArchive()
325 pos->second->GetFileOffset() != file_offset) in FindCachedArchive()
394 lldb::offset_t file_offset, lldb::offset_t length) { in CreateInstance() argument
426 file_offset)); in CreateInstance()
445 file_offset)); in CreateInstance()
562 lldb::offset_t file_offset = 0; in GetObjectFile() local
574 lldb::offset_t data_offset = object->file_offset; in GetObjectFile()
[all …]
H A DObjectContainerBSDArchive.h58 lldb::offset_t file_offset,
111 lldb::offset_t file_offset = 0; member
123 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset,
134 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset);
138 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset,
/llvm-project-15.0.7/lldb/source/Symbol/
H A DObjectFile.cpp45 module_sp, data_sp, data_offset, file, file_offset, file_size)); in CreateObjectFromContainer()
54 lldb::offset_t file_offset, lldb::offset_t file_size, in FindPlugin() argument
60 static_cast<const void *>(file), static_cast<uint64_t>(file_offset), in FindPlugin()
76 module_sp, file, file_offset, file_size, data_sp, data_offset); in FindPlugin()
86 file->GetPath(), g_initial_bytes_to_read, file_offset); in FindPlugin()
142 module_sp, file, file_offset, file_size, data_sp, data_offset); in FindPlugin()
188 lldb::offset_t file_offset, in GetModuleSpecifications() argument
194 file.GetPath(), g_initial_bytes_to_read, file_offset); in GetModuleSpecifications()
199 if (actual_file_size > file_offset) in GetModuleSpecifications()
200 file_size = actual_file_size - file_offset; in GetModuleSpecifications()
[all …]
/llvm-project-15.0.7/lldb/test/API/macosx/lc-note/kern-ver-str/
H A Dcreate-empty-corefile.cpp150 off_t file_offset = 0; in get_uuid_from_binary() local
187 file_offset += sizeof (struct mach_header); in get_uuid_from_binary()
206 file_offset += sizeof (struct mach_header_64); in get_uuid_from_binary()
209 off_t load_cmds_offset = file_offset; in get_uuid_from_binary()
211 … for (int i = 0; i < num_of_load_cmds && (file_offset - load_cmds_offset) < size_of_load_cmds; i++) in get_uuid_from_binary()
213 ::fseeko (f, file_offset, SEEK_SET); in get_uuid_from_binary()
221 ::fseeko (f, file_offset, SEEK_SET); in get_uuid_from_binary()
232 file_offset += cmdsize; in get_uuid_from_binary()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/
H A DObjectContainerUniversalMachO.cpp39 lldb::offset_t file_offset, lldb::offset_t length) { in CreateInstance() argument
48 file, file_offset, length)); in CreateInstance()
66 lldb::offset_t file_offset, lldb::offset_t length) in ObjectContainerUniversalMachO() argument
67 : ObjectContainer(module_sp, file, file_offset, length, data_sp, in ObjectContainerUniversalMachO()
201 lldb::offset_t data_offset, lldb::offset_t file_offset, in GetModuleSpecifications() argument
213 const lldb::offset_t slice_file_offset = fat_arch.offset + file_offset; in GetModuleSpecifications()
H A DObjectContainerUniversalMachO.h45 lldb::offset_t file_offset,
/llvm-project-15.0.7/lldb/test/API/macosx/lc-note/firmware-corefile/
H A Dcreate-empty-corefile.cpp198 off_t file_offset = 0; in get_uuid_from_binary() local
232 file_offset += sizeof(struct mach_header); in get_uuid_from_binary()
250 file_offset += sizeof(struct mach_header_64); in get_uuid_from_binary()
255 off_t load_cmds_offset = file_offset; in get_uuid_from_binary()
258 (file_offset - load_cmds_offset) < size_of_load_cmds; in get_uuid_from_binary()
260 ::fseeko(f, file_offset, SEEK_SET); in get_uuid_from_binary()
267 ::fseeko(f, file_offset, SEEK_SET); in get_uuid_from_binary()
277 file_offset += cmdsize; in get_uuid_from_binary()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp61 const FileSpec *file, offset_t file_offset, offset_t length) { in CreateInstance() argument
63 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
75 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
82 file_offset, length, std::move(header->arch), in CreateInstance()
94 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
H A DObjectFileBreakpad.h32 lldb::offset_t file_offset, lldb::offset_t length);
42 lldb::offset_t file_offset,
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp93 offset_t file_offset, offset_t length) { in CreateInstance() argument
97 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
116 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
127 module_sp, data_sp, data_offset, file, file_offset, length)); in CreateInstance()
220 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
302 offset_t file_offset = sect_info.offset & 0xffffffff; in CreateSections() local
303 addr_t vm_addr = file_offset; in CreateSections()
335 file_offset, // Offset of this section in the file. in CreateSections()
H A DObjectFileWasm.h35 lldb::offset_t file_offset, lldb::offset_t length);
45 lldb::offset_t file_offset,
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DSection.h111 lldb::addr_t vm_size, lldb::offset_t file_offset,
122 lldb::addr_t vm_size, lldb::offset_t file_offset,
148 void SetFileOffset(lldb::offset_t file_offset) { in SetFileOffset() argument
149 m_file_offset = file_offset; in SetFileOffset()
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DObjectContainer.h38 lldb::offset_t file_offset, lldb::offset_t length, in ObjectContainer() argument
42 m_offset(file_offset), m_length(length) { in ObjectContainer()
H A DObjectFile.h118 lldb::offset_t file_offset, lldb::offset_t length,
165 lldb::offset_t file_offset, lldb::offset_t file_size,
189 GetModuleSpecifications(const FileSpec &file, lldb::offset_t file_offset,
196 lldb::offset_t file_offset,
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.cpp92 offset_t file_offset, offset_t length) { in CreateInstance() argument
94 module_sp, data_sp, data_offset, file, file_offset, length); in CreateInstance()
109 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
H A DObjectFilePDB.h36 lldb::offset_t file_offset, lldb::offset_t length);
46 lldb::offset_t file_offset,
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.h38 lldb::offset_t file_offset, lldb::offset_t length);
47 lldb::offset_t file_offset,
H A DObjectFileJIT.cpp60 lldb::offset_t file_offset, in CreateInstance() argument
78 lldb::offset_t data_offset, lldb::offset_t file_offset, in GetModuleSpecifications() argument
/llvm-project-15.0.7/lldb/unittests/Process/gdb-remote/
H A DGDBRemoteCommunicationClientTest.cpp190 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])"); in TEST_F()
215 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])"); in TEST_F()
235 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])", in TEST_F()
238 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])", in TEST_F()
241 R"("file_path":"/foo/bar.so","file_offset":0,"file_size":1234}]])", in TEST_F()
244 R"("file_offset":0,"file_size":1234}]])", in TEST_F()
250 R"("file_path":"/foo/bar.so","file_offset":0}]])", in TEST_F()
/llvm-project-15.0.7/lldb/include/lldb/
H A Dlldb-private-interfaces.h45 lldb::offset_t data_offset, lldb::offset_t file_offset,
51 lldb::offset_t file_offset,
/llvm-project-15.0.7/bolt/utils/
H A Dllvm-bolt-wrapper.py245 file_offset = int(cols[5], 16)
248 if offset >= file_offset and offset <= file_offset + size:
/llvm-project-15.0.7/lldb/source/Core/
H A DSection.cpp157 lldb::offset_t file_offset, lldb::offset_t file_size, in Section() argument
163 m_file_offset(file_offset), m_file_size(file_size), in Section()
173 lldb::offset_t file_offset, lldb::offset_t file_size, in Section() argument
179 m_file_offset(file_offset), m_file_size(file_size), in Section()
/llvm-project-15.0.7/lldb/source/API/
H A DSBSection.cpp193 const uint64_t file_offset = sect_file_offset + offset; in GetSectionData() local
203 objfile->GetFileSpec().GetPath(), file_size, file_offset); in GetSectionData()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Minidump/
H A DObjectFileMinidump.h52 lldb::offset_t file_offset,
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.cpp208 lldb::offset_t file_offset, lldb::offset_t length) { in CreateInstance() argument
211 data_sp = MapFileData(file, length, file_offset); in CreateInstance()
222 data_sp = MapFileData(file, length, file_offset); in CreateInstance()
228 module_sp, data_sp, data_offset, file_p, file_offset, length); in CreateInstance()
253 lldb::offset_t data_offset, lldb::offset_t file_offset, in GetModuleSpecifications() argument
262 if (DataBufferSP full_sp = MapFileData(file, -1, file_offset)) in GetModuleSpecifications()
414 lldb::offset_t file_offset, in ObjectFilePECOFF() argument
416 : ObjectFile(module_sp, file, file_offset, length, data_sp, data_offset), in ObjectFilePECOFF()

12