[PATCH] D59017: [llvm-objcopy] - Remove dead code. NFCI.

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 04:33:55 PST 2019


jhenderson added inline comments.


================
Comment at: tools/llvm-objcopy/ELF/Object.cpp:184
 template <class ELFT>
 void ELFSectionWriter<ELFT>::visit(const DecompressedSection &Sec) {
   const size_t DataOffset = isDataGnuCompressed(Sec.OriginalData)
----------------
I wonder if it's worth making zlib::isAvailable() an assertion in this function?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59017/new/

https://reviews.llvm.org/D59017





More information about the llvm-commits mailing list