1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Remove accidental debug printf. Follow up to r299583.

llvm-svn: 299584
This commit is contained in:
Ivan Krasin 2017-04-05 20:07:43 +00:00
parent f25940dbd7
commit 53c893e263

View File

@ -359,7 +359,6 @@ Expected<typename ELFT::ShdrRange> ELFFile<ELFT>::sections() const {
if (SectionTableOffset + sizeof(Elf_Shdr) > FileSize)
return createError("section header table goes past the end of the file");
fprintf(stderr, "alignof(Elf_Shdr): %d\n", static_cast<int>(alignof(Elf_Shdr)));
// Invalid address alignment of section headers
if (SectionTableOffset & (alignof(Elf_Shdr) - 1))
return createError("invalid alignment of section headers");