summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitbb718f14e0aae8161805d836df1f2ba447a174dd (patch)
treed45bf66af2048bb5093640141f8985156a2a569c /llvm
parentc10bf39a7d455df01ed59a6f8c2be76661952767 (diff)
downloadbcm5719-llvm-bb718f14e0aae8161805d836df1f2ba447a174dd.tar.gz
bcm5719-llvm-bb718f14e0aae8161805d836df1f2ba447a174dd.zip
Fix copy-pasto.
llvm-svn: 10197
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Support/FileUtilities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp
index 02541d9e8af..4e3c22ce7c3 100644
--- a/llvm/lib/Support/FileUtilities.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud