Fix copy-pasto.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman
2003-11-24 05:36:38 +00:00
parent 0d2459a49f
commit 971a7b88b5

View File

@@ -56,8 +56,8 @@ bool IsBytecode(const std::string &FN) {
/// object with an ELF header. The file named FN must exist. /// object with an ELF header. The file named FN must exist.
/// ///
bool IsSharedObject(const std::string &FN) { bool IsSharedObject(const std::string &FN) {
// Inspect the beginning of the file to see if it contains the LLVM // Inspect the beginning of the file to see if it contains the ELF shared
// bytecode format magic string. // object magic string.
static const char elfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' }; static const char elfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' };
return CheckMagic(FN, elfMagic); return CheckMagic(FN, elfMagic);
} }