[PATCH] D31941: [ELF] - Implemented --compress-debug-sections option.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 12:23:05 PDT 2017


ruiu added inline comments.


================
Comment at: ELF/OutputSections.cpp:128
+  this->writeTo<ELFT>(&Data[0]);
+  zlib::compress(StringRef((char *)Data.data(), Data.size()), CompressedData);
+
----------------
I believe this function returns an Error. Make sure you handle an error before submitting.


https://reviews.llvm.org/D31941





More information about the llvm-commits mailing list