[PATCH] D24342: Compact InputSectionData from 64 to 48 bytes

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 18:20:41 PDT 2016


ruiu added inline comments.

================
Comment at: ELF/InputSection.h:62-63
@@ -63,1 +61,4 @@
+  // If a section is compressed, this has the uncompressed section data.
+  std::unique_ptr<char> UncompressedData;
+  size_t UncompressedDataSize = 0;
 
----------------
My preference is to use std::vector instead of char * and size.


https://reviews.llvm.org/D24342





More information about the llvm-commits mailing list