From 1a8c928a24202625d8d8d6b9931435b8da1e6c98 Mon Sep 17 00:00:00 2001 From: Stephen Wilson Date: Mon, 12 Jul 2010 21:34:37 +0000 Subject: [PATCH] Test commit. llvm-svn: 108197 --- llvm/include/llvm/Support/ELF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/ELF.h b/llvm/include/llvm/Support/ELF.h index 62851e53a101..bd753e39b0ff 100644 --- a/llvm/include/llvm/Support/ELF.h +++ b/llvm/include/llvm/Support/ELF.h @@ -62,7 +62,7 @@ struct Elf32_Ehdr { Elf32_Half e_shentsize; // Size of an entry in the section header table Elf32_Half e_shnum; // Number of entries in the section header table Elf32_Half e_shstrndx; // Sect hdr table index of sect name string table - bool checkMagic () const { + bool checkMagic() const { return (memcmp (e_ident, ElfMagic, strlen (ElfMagic))) == 0; } unsigned char getFileClass () const { return e_ident[4]; }