Lines Matching refs:file_offset
183 static ElfStatus OpenObjectFile(const std::string& filename, uint64_t file_offset, in OpenObjectFile() argument
195 auto buffer_or_err = llvm::MemoryBuffer::getOpenFileSlice(fd, filename, file_size, file_offset); in OpenObjectFile()
235 ElfStatus GetBuildIdFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, in GetBuildIdFromEmbeddedElfFile() argument
238 ElfStatus result = OpenObjectFile(filename, file_offset, file_size, &wrapper); in GetBuildIdFromEmbeddedElfFile()
448 ElfStatus ParseSymbolsFromEmbeddedElfFile(const std::string& filename, uint64_t file_offset, in ParseSymbolsFromEmbeddedElfFile() argument
452 ElfStatus result = OpenObjectFile(filename, file_offset, file_size, &wrapper); in ParseSymbolsFromEmbeddedElfFile()
511 uint64_t* file_offset) { in ReadMinExecutableVirtualAddress() argument
518 *file_offset = it->p_offset; in ReadMinExecutableVirtualAddress()
526 *file_offset = 0; in ReadMinExecutableVirtualAddress()
545 uint64_t file_offset, in ReadMinExecutableVirtualAddressFromEmbeddedElfFile() argument
551 ElfStatus result = OpenObjectFile(filename, file_offset, file_size, &wrapper); in ReadMinExecutableVirtualAddressFromEmbeddedElfFile()