[llvm] r258854 - Fixes build break introduced by r258845
Hemant Kulkarni via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 12:28:15 PST 2016
Author: khemant
Date: Tue Jan 26 14:28:15 2016
New Revision: 258854
URL: http://llvm.org/viewvc/llvm-project?rev=258854&view=rev
Log:
Fixes build break introduced by r258845
Modified:
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=258854&r1=258853&r2=258854&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Tue Jan 26 14:28:15 2016
@@ -2273,7 +2273,7 @@ template <class ELFT> void ELFDumper<ELF
const Elf_Sym *Sym =
Obj->template getEntry<Elf_Sym>(*Symtab, Sec.sh_info);
auto Data = errorOrDefault(
- Obj->template getSectionContentsAsArray<Elf32_Word>(&Sec));
+ Obj->template getSectionContentsAsArray<Elf_Word>(&Sec));
DictScope D(W, "Group");
StringRef Name = errorOrDefault(Obj->getSectionName(&Sec));
W.printNumber("Name", Name, Sec.sh_name);
More information about the llvm-commits
mailing list