[PATCH] D25627: [ELF] Allow linker script to use .got and .got.plt sections as inputs

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 06:31:29 PDT 2016


evgeny777 added inline comments.


================
Comment at: ELF/InputSection.h:351
+protected:
+  typename ELFT::Shdr Header;
+};
----------------
ruiu wrote:
> Does `Header = {};` initialize with zero?
Yes, but unfortunately base class is initialized first and it is using Header.


https://reviews.llvm.org/D25627





More information about the llvm-commits mailing list