================
@@ -434,18 +434,19 @@ ObjectFileSP 
ObjectContainerBSDArchive::GetObjectFile(const FileSpec *file) {
 }
 
 size_t ObjectContainerBSDArchive::GetModuleSpecifications(
-    const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp,
+    const lldb_private::FileSpec &file, lldb::DataExtractorSP &extractor_sp,
     lldb::offset_t data_offset, lldb::offset_t file_offset,
     lldb::offset_t file_size, lldb_private::ModuleSpecList &specs) {
 
+  DataExtractorSP data_extractor_sp = extractor_sp->GetSubsetExtractorSP(
----------------
bulbazord wrote:

Check the validity of `extractor_sp`?

https://github.com/llvm/llvm-project/pull/178347
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to