[llvm] r299584 - Remove accidental debug printf. Follow up to r299583.

Ivan Krasin via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 13:07:44 PDT 2017


Author: krasin
Date: Wed Apr  5 15:07:43 2017
New Revision: 299584

URL: http://llvm.org/viewvc/llvm-project?rev=299584&view=rev
Log:
Remove accidental debug printf. Follow up to r299583.


Modified:
    llvm/trunk/include/llvm/Object/ELF.h

Modified: llvm/trunk/include/llvm/Object/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=299584&r1=299583&r2=299584&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Wed Apr  5 15:07:43 2017
@@ -359,7 +359,6 @@ Expected<typename ELFT::ShdrRange> ELFFi
   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");




More information about the llvm-commits mailing list