================ Comment at: include/llvm/Object/ELF.h:1550 @@ +1549,3 @@ +template <class ELFT> +ErrorOr<StringRef> +ELFFile<ELFT>::getSectionName(const Elf_Shdr *Section) const { ---------------- This never fails. Please just return a StringRef. http://llvm-reviews.chandlerc.com/D1033