[PATCH] D19656: [ELF] - keep alive all non-text sections referenced by .eh_frame

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 10:47:28 PDT 2016


compnerd added a subscriber: compnerd.

================
Comment at: ELF/MarkLive.cpp:102
@@ +101,3 @@
+template <class ELFT> static void scanEhFrameSection(EHInputSection<ELFT> &EH) {
+  typedef typename ELFT::Shdr Elf_Shdr;
+  if (!EH.RelocSection)
----------------
Unused typedef.


http://reviews.llvm.org/D19656





More information about the llvm-commits mailing list