aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/FileUtilities.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-11-24 05:36:38 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-11-24 05:36:38 +0000
commit971a7b88b56b55e6c03e7b0be886fab533216aaa (patch)
treefbf411e8f2067e59da6f9b3b69496e34ed0cdcff /lib/Support/FileUtilities.cpp
parent0d2459a49f4f85766552a00e604d12c02c0353f5 (diff)
Fix copy-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/FileUtilities.cpp')
-rw-r--r--lib/Support/FileUtilities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp
index 02541d9e8a..4e3c22ce7c 100644
--- a/lib/Support/FileUtilities.cpp
+++ b/lib/Support/FileUtilities.cpp
@@ -56,8 +56,8 @@ bool IsBytecode(const std::string &FN) {
/// object with an ELF header. The file named FN must exist.
///
bool IsSharedObject(const std::string &FN) {
- // Inspect the beginning of the file to see if it contains the LLVM
- // bytecode format magic string.
+ // Inspect the beginning of the file to see if it contains the ELF shared
+ // object magic string.
static const char elfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' };
return CheckMagic(FN, elfMagic);
}