================
@@ -275,9 +275,9 @@ bool ObjectFileWasm::DecodeSections() {
}
size_t ObjectFileWasm::GetModuleSpecifications(
- const FileSpec &file, DataBufferSP &data_sp, offset_t data_offset,
+ const FileSpec &file, DataExtractorSP &extractor_sp, offset_t data_offset,
offset_t file_offset, offset_t length, ModuleSpecList &specs) {
- if (!ValidateModuleHeader(data_sp)) {
+ if (!ValidateModuleHeader(extractor_sp->GetSharedDataBuffer())) {
----------------
bulbazord wrote:
I'd lean in favor of including it into this PR. It's ok if this change isn't
100% NFC and Jason can change the title as needed.
https://github.com/llvm/llvm-project/pull/178347
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits