labath added inline comments.
================ Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:3400-3403 + GetModule()->ReportWarning( + "Unable to initialize decompressor for section '%s'", + section->GetName().GetCString()); + return 0; ---------------- You have to consume the `Decompressor.takeError()` object to fulfill the `llvm::Error` contract. Easiest way to do that is to actually print it out. ================ Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:3407 std::make_shared<DataBufferHeap>(Decompressor->getDecompressedSize(), 0); if (auto Error = Decompressor->decompress( {reinterpret_cast<char *>(buffer_sp->GetBytes()), ---------------- Same here. ================ Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:3413 + section->GetName().GetCString()); + return 0; } ---------------- `lit/Modules/compressed-sections.yaml` test will need to be updated to account for the return 0. Repository: rLLDB LLDB https://reviews.llvm.org/D50274 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits